It kind of sounds like the wires were mixed up going to the rec/reg ,the 2 wires from the stator ,one wire goes to the rec/reg for battery DC charging and the other wire from the stator is an AC current that goes to power the headlights and remains AC.