Machine learning-based condition monitoring of powertrains in modern electric drives