Circuit Description - DTC P3125 - Information Codes 321, 323: Notes
WARNING: This page is about a different car, the 2002 Toyota Prius. However, it is still accessible from the selected car via links, so may be relevant.
The HV ECU checks the line connection of the generator inverter fail signal circuit and detects malfunction.