Hi Raviteja,
Thanks for the detailed screenshots. Both issues are most likely linked.
- Update error and the .bak folder
From your screenshots, you’re editing ucm_secarc3.def directly in the model’s own UCM library folder (WithFaultSA3_hyp\libs\secarc3). That folder is also where HYPERSIM puts the UCM during Update. When the file you edit and the library copy are the same file, the update in your version (2026.2) can fail. It leaves the folder renamed with .bak, and then reports that the .def can’t be found. This was fixed in HYPERSIM 2026.3 (“Fixed UCM previously inability to update when the source path was equal to the reference”).
Renaming the .bak folder back works as a temporary fix, but I don’t recommend relying on it, because you may end up with a mix of old and new files. I’d recommend one of these:
Upgrade to HYPERSIM 2026.3 or later (best option), or
Keep your working .def outside the _hyp\libs folder (for example, in a separate UCM_src folder). Edit that copy, then use right-click on the UCM → Update, pointing to that source file. HYPERSIM will then refresh its own library copy without conflict.
- Outputs showing 0–1 values instead of the hardcoded values
Because the update failed (“The model was not updated”), the simulation is still running the previously compiled UCM. Your hardcoded values (Varc2_out = 14, CBsts_out = 9, Varc_raw_out = 5) were never compiled in. Your ScopeView recording (02:10:12) was made just after the failed update (02:08). The 0/1 pulse you see is most likely your earlier fault logic, not random values.
Once the update works:
Update the UCM and confirm there’s no error dialog.
Run Generate Code, then Analyze, and start a new simulation.
Load the new recording in ScopeView, not the older .oprec file.
A few more checks if values still look wrong:
Code section: your test assignments are in the After Voltage Calculation section. For control logic, our documentation uses the Before Voltage Calculation section, which runs every time step. Try moving the test assignments there to rule this out.
Correct instance: make sure the sensors in ScopeView (Fault.UCM9.*) point to the UCM instance that uses secarc3 (right-click the UCM → Edit Sensors).
Signal type: check that these outputs are declared as double (or integer) in the Control I/O section.
Hope this gets you unblocked! Let us know how it goes after the update. If anything still looks off, send over the .def file and your HYPERSIM version through a support ticket and OPAL-RT could take a closer look together.