Xcos crashes - PID simulation

Hi,
Just wondering if anyone would be able to give me some guidance on a control systems simulation I’m working on. I can’t attach files but here is a screenshot


Initially it was all working on the first day, but over the next couple days, the software crashed spontaneously when I ran the simulation (e.g. working the night before, and crashes when I ran it in the morning without changing anything). The simulation has superblocks and masks and sometimes if I edit the masks, it would stop working, emphasis on sometimes… Or if I leave it for a few minutes and run it, it would also crash.
I’m not sure if this is relevant, but the system error that occurs is apparently a 0x0000409 STATUS_STACK_BUFFER_OVERRUN.
Is this typical of xcos (I’m quite new to it) or what might be causing the crashes?
Thanks in advance.

Edited:
Thanks for the responses, here’s the file attached
test2.zcos (13.8 KB)

1 Like

They still did not answer my XCOS issue as they are not good at XCOS as per my last 1 year of experience.

1 Like

I see, thank you. The forum definitely isn’t very active.

Hello, and welcome to Scilab’s Discourse !

Can you share your zcos file (you can edit your post and drag/drop the file, I have allowed you to do so) ?

S.

1 Like

In all cases, Scilab / Xcos is not supposed to crash but is expected to report visible errors. Could you post your file ?