The stator of an alternator gets overheated due to