Ac generator device