Air compressors that start under load are notoriously hard for generating sets to cope with. If all else fails and the design can be adapted, it might be worthwhile to add a clutch
that allows the motor
to spin up to speed before engaging the compressor. Depending on the design and rating of the alternator
you may still need a suitable hard start or power factor correction capacitor.