Opened 10 years ago

Closed 7 years ago

Last modified 7 years ago

#3035 closed defect (wontfix)

Rectifier FMU 1.0 in FMU Checker

Reported by: Adeel Asghar Owned by: Willi Braun
Priority: high Milestone: 1.13.0
Component: FMI Version: trunk
Keywords: Cc:

Description

Importing Rectifier FMU 1.0 from OpenModelica in FMU Checker seg. faults at getAnalyticalJacobianLapack ().

Tested it with FMU Checker 2.0.1. Here is the gdb output,

$ gdb -q --args fmuCheck.win32.exe Modelica_Electrical_Analog_Examples_Rectifier.fmu
Reading symbols from c:\openmodelica\fmuchecker-2.0.1-win32\fmuCheck.win32.exe...(no debugging symbols found)...done.
(gdb) r
Starting program: c:\openmodelica\fmuchecker-2.0.1-win32\fmuCheck.win32.exe Modelica_Electrical_Analog_Examples_Rectifier.fmu
[New Thread 1820.0xdac]
[INFO][FMUCHK] FMI compliance checker 2.0.1 [FMILibrary: 2.0.1] build date: Oct 24 2014
[INFO][FMUCHK] Called with following options:
[INFO][FMUCHK] c:\openmodelica\fmuchecker-2.0.1-win32\fmuCheck.win32.exe Modelica_Electrical_Analog_Examples_Rectifier.fmu
[INFO][FMUCHK] Will process FMU Modelica_Electrical_Analog_Examples_Rectifier.fmu
[INFO][FMILIB] XML specifies FMI standard version 1.0
[INFO][FMUCHK] Model name: Modelica.Electrical.Analog.Examples.Rectifier
[INFO][FMUCHK] Model identifier: Modelica_Electrical_Analog_Examples_Rectifier
[INFO][FMUCHK] Model GUID: {8c4e810f-3df3-4a00-8276-176fa3c9f9e0}
[INFO][FMUCHK] Model version: 
[INFO][FMUCHK] FMU kind: ModelExchange
[INFO][FMUCHK] The FMU contains:
0 constants
74 parameters
6 discrete variables
127 continuous variables
0 inputs
8 outputs
199 internal variables
0 variables with causality 'none'
195 real variables
0 integer variables
0 enumeration variables
12 boolean variables
0 string variables

[INFO][FMUCHK] Printing output file header
[INFO][FMILIB] Loading 'win32' binary with 'standard32' platform types
[INFO][FMUCHK] Version returned from FMU:   1.0

Program received signal SIGSEGV, Segmentation fault.
0x6fdc11a1 in getAnalyticalJacobianLapack () from C:\Users\adeas31\AppData\Local\Temp\fmucktmpa03500\binaries\win32\Modelica_Electrical_Analog_Examples_Rectifier.dll
(gdb)


Change History (10)

comment:1 by Willi Braun, 10 years ago

Status: newaccepted

comment:2 by Willi Braun, 10 years ago

Seems to be a windows issue, since I get a different issue on linux:

[INFO][FMUCHK] FMI compliance checker 2.0.1 [FMILibrary: 2.0.1] build date: Oct 24 2014
[INFO][FMUCHK] Called with following options:
[INFO][FMUCHK] ./fmuCheck.linux64 /home/wbraun/data/newTrunk/testsuite/openmodelica/fmi/ModelExchange/1.0/Modelica_Electrical_Analog_Examples_Rectifier.fmu
[INFO][FMUCHK] Will process FMU /home/wbraun/data/newTrunk/testsuite/openmodelica/fmi/ModelExchange/1.0/Modelica_Electrical_Analog_Examples_Rectifier.fmu
[INFO][FMILIB] XML specifies FMI standard version 1.0
[INFO][FMUCHK] Model name: Modelica.Electrical.Analog.Examples.Rectifier
[INFO][FMUCHK] Model identifier: Modelica_Electrical_Analog_Examples_Rectifier
[INFO][FMUCHK] Model GUID: {8c4e810f-3df3-4a00-8276-176fa3c9f9e0}
[INFO][FMUCHK] Model version: 
[INFO][FMUCHK] FMU kind: ModelExchange
[INFO][FMUCHK] The FMU contains:
0 constants
74 parameters
6 discrete variables
127 continuous variables
0 inputs
8 outputs
199 internal variables
0 variables with causality 'none'
195 real variables
0 integer variables
0 enumeration variables
12 boolean variables
0 string variables

[INFO][FMUCHK] Printing output file header
"time","Losses","iAC[1]","iAC[2]","iAC[3]","uAC[1]","uAC[2]","uAC[3]","uDC"
[INFO][FMILIB] Loading 'linux64' binary with 'standard32' platform types
[INFO][FMUCHK] Version returned from FMU:   1.0
[INFO][FMUCHK] Initialized FMU for simulation starting at time 0
0.0000000000000000E+00,4.8000000000000000E+02,-0.0000000000000000E+00,0.0000000000000000E+00,0.0000000000000000E+00,0.0000000000000000E+00,0.0000000000000000E+00,0.0000000000000000E+00,5.6568542494923804E+02
[FATAL][FMUCHK] FMU could not converge in event update
FMU check summary:
FMU reported:
        0 warning(s) and error(s)
Checker reported:
        0 Warning(s)
        1 Error(s)
        1 Fatal error(s) occurred during processing

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

Milestone: 1.9.21.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

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

Milestone: 1.9.31.9.4

Moved to new milestone 1.9.4

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

Milestone: 1.9.41.9.5

Milestone pushed to 1.9.5

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

Milestone: 1.9.51.10.0

Milestone renamed

comment:7 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:8 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:9 by Francesco Casella, 7 years ago

Milestone: 1.12.0Future

The milestone of this ticket has been reassigned to "Future".

If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.

If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".

In both cases, a short informative comment would be welcome.

comment:10 by Willi Braun, 7 years ago

Milestone: Future1.13.0
Resolution: wontfix
Status: acceptedclosed

The original reported issue seems to be fixed in the meanwhile, although the simulation still fails for FMU 1.0.

assert            | debug   | Solving non-linear system 154 failed at time=0.0513999999999998.
|                 | |       | For more information please use -lv LOG_NLS.
        [FMU][error][FMU status:Error] fmiEventUpdate: terminated by an assertion.
[FATAL][FMUCHK] Event update call failed
[FATAL][FMUCHK] Simulation loop terminated at time 0.0514 since FMU returned status: Error
FMU check summary:
FMU reported:
        1 warning(s) and error(s)
Checker reported:
        0 Warning(s)
        2 Error(s)
        2 Fatal error(s) occurred during processing

However it works on Linux and Windows with FMI2.0:

[INFO][FMUCHK] Simulation finished successfully at time 0.1
FMU check summary:
FMU reported:
        0 warning(s) and error(s)
Checker reported:
        0 Warning(s)
        0 Error(s)
Last edited 7 years ago by Willi Braun (previous) (diff)
Note: See TracTickets for help on using tickets.