System analysis and experimental investigation of a pendulum-based wave energy converter