I do not see where the energy and power performance metrics are updated. It always returns all zeros whatsoever in pim_trace.out file.