A calculation like this should be broken down into several steps, instead of making one huge script, since it's very difficult to follow. Now, in ATK 2014 it's not possible to save the dynamical matrix, so this is hard, but it will be possible in ATK 2015. So, until that is done there is no way to restart a broken calculation (and indeed, even in 2015 there is no checkpoint file for the dynamical matrix).
There are a few problems in your calculation: you are using 1 k-point for the electrodes in C, that is probably a bad idea, and also the central region is really too short, only the 2 middle layers can actually move, and that will not give any sensible results. I suspect that is causing the error you see.
Realistically you probably need to double the central region, which of course means a lot more atoms, and more calculation time.
Therefore, it may not be a good idea to try this in DFT, but on the other hand I suppose there may be no good classical potentials for "2D arsenic" (if indeed that material even exists in nature...). You could search for one, or try the InAs or GaAs potentials and compare their phonon spectra to DFT pronon spectra for bulk Arsenic.