Xavier NX error message issue

You could refer to the following topic and it seems the application you run on your board has exceed the power budget.
Jetson Xavier NX - soctherm: OC ALARM 0x00000001 - Jetson & Embedded Systems / Jetson Xavier NX - NVIDIA Developer Forums

Could you also share the result of the following command?

$ sudo su
# grep "" /sys/class/hwmon/hwmon*/oc*

You could also try to use 20W power mode to check if the issue still exists.