patsec / ot-sim

Operational Technology (OT) Simulator
GNU General Public License v3.0
23 stars 5 forks source link

Launching Backplane module crashes/closes I/O Module #7

Open SleepyHIpster opened 2 months ago

SleepyHIpster commented 2 months ago

Using HELICS Version 3.4.0

When an I/O module is running, if a Backplane module is started, the I/O module closes. This occurs whether or not the modules are started separately or with a CPU module.

The logs show that the IO-Module successfully sets up its federate and reads its pub/sub lists before exiting.

activeshadow commented 2 months ago

Hi @SleepyHIpster, we can look into this further, but we'll need some additional details. Can you provide a config file (or files) we can use to reproduce, as well as some captured logs from a session where you're experiencing this issue?

SleepyHIpster commented 2 months ago

Here are my setup and log files. The whole thing can be run with helics run --path=transformer_launcher.json in the folder. Requires helics[cli] to be installed.

It seems that when the message bus is launched first, the IO module does not enter execution mode while if the IO module is started first (as in the logs included) the IO module does reach execution but still exits.

files.zip

SleepyHIpster commented 1 month ago

Despite the example files not using DNP3, downgrading to Ubuntu 20.04 fixed this issue.