Comparison of Offline, Real-Time Models and Hardware-in-the-Loop Test Results of a Power Take-Off for Wave Energy Applications