Opened 6 years ago

Closed 6 years ago

#5483 closed defect (invalid)

NF API crashes on simple MSL examples

Reported by: Francesco Casella Owned by: Adrian Pop
Priority: blocker Milestone: 1.14.0
Component: NF API Version:
Keywords: Cc:

Description

When I first tried -d=nfAPI, I just tried to open the models from Modelica.Blocks.Examples, which is the first package I encounter in the MSL.

The first one works (PID_Controller), though it is quite slow, see #5482.

The next three ones Filter, FilterWithDifferentiation, and FilterWithTimeRise cause OMEdit to crash, as well as the sixth one ShowLogicalSources.

Maybe I was a bit unlucky, but 4/6 crashing models is not very encouraging.

Please check what is wrong there.

Change History (3)

comment:1 by Adrian Pop, 6 years ago

Strangely they do not crash for me. I'll investigate more.
What flags do you have in OMEdit->Tools->Options->Simulation?

comment:2 by Adrian Pop, 6 years ago

Hmm, maybe you didn't set -d=nfAPI,newInst, you need them both.

comment:3 by Francesco Casella, 6 years ago

Resolution: invalid
Status: newclosed

Aha, you didn't mention it in PR #3087:

to use, just add +d=nfAPI to the OMEdit simulation flags

Works like a charm.

Note: See TracTickets for help on using tickets.