Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") translateModel(Modelica.Electrical.Analog.Examples.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|capacitor2a.v|capacitor2b.v|directCapacitor1.capacitor.v|directInductor3.inductor.i|inductor4a.i|inductor4b.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001157, allocations: 104.1 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 194.6 kB / 19.35 MB, free: 3.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.38/1.38, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.717e-05/1.718e-05, allocations: 3.266 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006031/0.006056, allocations: 5.949 MB / 335.1 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00292/0.008994, allocations: 1.692 MB / 336.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004914/0.009499, allocations: 31.81 kB / 336.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004929/0.01, allocations: 249.6 kB / 337.1 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004181/0.01043, allocations: 221.7 kB / 337.3 MB, free: 11.16 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008625/0.01133, allocations: 0.4954 MB / 337.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001354/0.01269, allocations: 1.582 MB / 339.4 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.01348, allocations: 0.6335 MB / 340 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004797/0.01397, allocations: 482.1 kB / 340.5 MB, free: 7.953 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003923/0.01437, allocations: 0.4935 MB / 341 MB, free: 7.457 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.01452, allocations: 123.9 kB / 341.1 MB, free: 7.336 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.01474, allocations: 140 kB / 341.2 MB, free: 7.199 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001365/0.01611, allocations: 1.972 MB / 343.2 MB, free: 5.203 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000911/0.01703, allocations: 1.296 MB / 344.5 MB, free: 3.887 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003745/0.01742, allocations: 235.1 kB / 344.7 MB, free: 3.656 MB / 286.1 MB Notification: Performance of FrontEnd: time 0.0004333/0.01786, allocations: 139.5 kB / 344.9 MB, free: 3.52 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 (306) * Number of variables: 306 (306) Notification: Performance of Bindings: time 0.005043/0.02291, allocations: 5.802 MB / 350.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0005962/0.02351, allocations: 0.6801 MB / 351.4 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002819/0.02635, allocations: 2.684 MB / 354 MB, free: 10.04 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002703/0.02663, allocations: 215.7 kB / 354.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of Alias: time 0.009587/0.03623, allocations: 8.373 MB / 362.6 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001095/0.03637, allocations: 79.89 kB / 362.7 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of Events: time 0.0001805/0.03656, allocations: 127 kB / 362.8 MB, free: 0.5195 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003688/0.03694, allocations: 342.7 kB / 363.2 MB, free: 172 kB / 302.1 MB Notification: Performance of Partitioning: time 0.0004459/0.03739, allocations: 420.9 kB / 363.6 MB, free: 15.72 MB / 318.1 MB Error: Internal error NBSlice.resolveSkips failed because skip of 2 for type Real is invalid. Error: Internal error NBSlice.resolveDependency failed for: inverseCapacitor1.dv. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [SCAL] (1) inverseCapacitor1.voltageToCurrent.u = Modelica.Blocks.Interfaces.Adaptors.Functions.state1({inverseCapacitor1.voltageToCurrent.p, inverseCapacitor1.dv}, time) ($RES_SIM_168)