Model predictive control strategy for direct drive PMSG and DFIG for ocean wave energy converter system