Opened 9 years ago

Closed 9 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 Adrian Pop, 9 years ago

Owner: changed from somebody to Martin Sjölund
Status: newassigned

comment:2 by Martin Sjölund, 9 years ago

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.

comment:3 by Adrian Pop, 9 years ago

Yes, but what does realtime has to do with normal simulation?

comment:4 by Martin Sjölund, 9 years ago

These should only be enabled if you choose real-time simulation (-rt 1, etc in simflags).

comment:5 by Adrian Pop, 9 years ago

But I didn't, compilation and simulation with normal flags.

comment:7 by anonymous, 9 years ago

Milestone: Future
Resolution: fixed
Status: assignedclosed
Version: v1.10.0-dev-nightly
Note: See TracTickets for help on using tickets.