Wave energy converter of inverse pendulum with double action power take off