Voltage buildup in Self-Excited Generators