Prediction of Overload and Flux-Weakening Performance of a IPM Motor Drive: Analytical and Finite Element Approach