Text this: Modeling and Analysis of speed tuning of a PMSM with presence of crack using genetic algorithms