Opened 10 years ago

Closed 10 years ago

#2746 closed defect (invalid)

FMI glitch in a tiny example

Reported by: massimo ceraolo Owned by: Adeel Asghar
Priority: normal Milestone: 1.9.2
Component: FMI Version: trunk
Keywords: Cc:

Description (last modified by massimo ceraolo)

I tried to test Dymola 2015 to OM r21397 FMI 1.0 communication using the following tiny program:

model tiny
  Modelica.Blocks.Sources.Constant const ;
  Modelica.Blocks.Continuous.Integrator integrator;
equation 
  connect(integrator.u, const.y); 
end tiny;

I created the FMU using dymola, imported it into OM, and run it (using OMEdit).

The results are good, but I got the following error message:

[ERROR][tiny] [][FMU status:Error] fmiDoStep: currentCommunicationPoint = 0.0000000000000000, expected 0.0020000000000000
[ERROR][tiny] [][FMU status:Error] fmiDoStep: currentCommunicationPoint = 1.0000000000000000, expected 1.0020000000000000

Since maybe with a so simple model everything should work perfectly, I wonder whether this is an issue someone wants to have a look at.
Regards.

Attachments (1)

tiny.fmu (792.0 KB ) - added by massimo ceraolo 10 years ago.
The FMU of tiny

Download all attachments as: .zip

Change History (5)

comment:1 by massimo ceraolo, 10 years ago

Description: modified (diff)

comment:2 by massimo ceraolo, 10 years ago

Summary: FMU glitch in a tiny exampleFMI glitch in a tiny example

by massimo ceraolo, 10 years ago

Attachment: tiny.fmu added

The FMU of tiny

comment:3 by Martin Sjölund, 10 years ago

Milestone: 1.9.11.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:4 by Adeel Asghar, 10 years ago

Resolution: invalid
Status: newclosed

The attached FMU is version 2.0 and type ModelExchange and CoSimulation which is currently not supported. r23863 checks for this and reports an error.

Note: See TracTickets for help on using tickets.