- You can find the execution order of the system by going to Debug > Information Overlays > Execution Order and checking if the "powergui" subsystem is executed as an atomic unit.
- You can use the Data Store Memory, Data Store Write and Data Store Read blocks instead of the From-Goto blocks to fix the issue.
- Data Store Memory : https://www.mathworks.com/help/releases/R2022a/simulink/slref/datastorememory.html
- Data Store Write : https://www.mathworks.com/help/releases/R2022a/simulink/slref/datastorewrite.html
- Data Store Read : https://www.mathworks.com/help/releases/R2022a/simulink/slref/datastoreread.html