Overheat detection system installed to electrical motors