Your P3056 code relates to the sensors on each of the 15 battery blocks ( 30 cells total )
Would appear they are snapped/ open and the car can not see all the voltages.
Most likely corrosion in the wiring harness, and/or the battery ecu due to this corrosion traveling down the harness
Inverter malfunction may be a cooling issue, check the pump change the coolant