Something is weird, you should not have 30v anywhere. Stator wire voltage to ground is not a very useful measurement though. For this 3 phase system each wire pair works together, when one wire is positive to another there is a diode pair to let the power flow. With a low impedance battery, the voltages measured between yellows can not be much higher than the battery voltage, maybe 2V allowing for the diode drops and wiring. Measuring voltage between them, connected to the rectifier and battery with engine running, can diagnose diode failures. Measuring with them disconnected does not tell you much.