A power analysis and data acquisition system for ocean wave energy device testing