Opened 10 years ago
Closed 10 years ago
#3838 closed defect (fixed)
OMEdit simulation displays strange message about realtime simulation
| Reported by: | Adrian Pop | Owned by: | Martin Sjölund |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | Run-time | Version: | v1.10.0-dev-nightly |
| Keywords: | Cc: |
Description
This happens after simulation of: OneWind.Components.Rotor.Test.TestRigidRotor_OM
LOG_RT | warning | <p>simulation/solver/real_time_sync.c: mlockall failed (recommended to run as root to lock memory into RAM while doing real-time simulation): Cannot allocate memory<br> LOG_RT | warning | <p>simulation/solver/real_time_sync.c: sched_setscheduler failed: Operation not permitted<br>
Also OMEdit hangs for about a minute after the simulation (the .mat file is about 76M).
Change History (7)
comment:1 by , 10 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:2 by , 10 years ago
comment:4 by , 10 years ago
These should only be enabled if you choose real-time simulation (-rt 1, etc in simflags).
comment:7 by , 10 years ago
| Milestone: | Future |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
| Version: | → v1.10.0-dev-nightly |
Note:
See TracTickets
for help on using tickets.

The warnings are just warnings. You need to run as root on a low-latency kernel for the smoothest results. It should not hang though.