Generator operations of Asynchronous Induction Machines Connected to AC or DC Active/Passive