If the cable has a reasonable length, more than 20 metres, 30 cm is not that much of an issue (1.5% of length). The shorter cable will take a bit more current, heats up a little more, resistance increases I²R and will equalise currents with the longer cable.
Ideally they should be the same length (as per code).
The product of rotation, excitation and flux produces electricty.