Just look at some of the first lines of g-code
Code:
G01 A 312.274 X 204.0 175 Y 6471.0 47 Z -36.0
G01 A 312.614 X 205.0 176 Y 6472.0 48 Z -36.0
G01 A 311.669 X 206.0 177 Y 6473.0 49 Z -36.0
What are those number 175, 176, 177 and 47,48,49 etc? Are they part of the X/Y coordinate - I didn't know there could be spaces in a number. Get rid of them. Or concat it into the number, whichever it should be.
Because these are moves that involves both A and XYZ coordinates the naive trajectory planner will be used and only one line of lookahead. I would think it is difficult to keep doing mm-long moves at 10000 mm/min with that trajectory planner.
I see two options, not very good ones. Don't use A axis. Or, optimize the g-code to take as long and few steps as possible.