Hardware-In-the-Loop test rig for the ISWEC wave energy system