Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001169, allocations: 115.9 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001214/0.001214, allocations: 206.8 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.231/1.231, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.747e-05, allocations: 9.031 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.005803/0.00583, allocations: 6.033 MB / 365.4 MB, free: 6.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002383/0.008225, allocations: 1.722 MB / 367.1 MB, free: 5.148 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003267/0.008572, allocations: 31.88 kB / 367.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.00901, allocations: 249.6 kB / 367.4 MB, free: 4.871 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003686/0.009395, allocations: 221.7 kB / 367.6 MB, free: 4.652 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007763/0.01018, allocations: 0.5149 MB / 368.1 MB, free: 4.137 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.01142, allocations: 1.586 MB / 369.7 MB, free: 2.539 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000721/0.01215, allocations: 0.6374 MB / 370.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000449/0.01261, allocations: 482.1 kB / 370.8 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003653/0.01298, allocations: 497.3 kB / 371.3 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.01313, allocations: 124 kB / 371.4 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002218/0.01336, allocations: 147.9 kB / 371.6 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.1469/0.1602, allocations: 1.978 MB / 373.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0005041/0.1608, allocations: 1.301 MB / 374.8 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.1611, allocations: 236.3 kB / 375.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0004186/0.1615, allocations: 137.9 kB / 375.2 MB, free: 10.45 MB / 302.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.00488/0.1664, allocations: 5.806 MB / 381 MB, free: 8.184 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.000165/0.1665, allocations: 226.9 kB / 381.2 MB, free: 8.051 MB / 302.1 MB Notification: Performance of Early Inline: time 0.002369/0.1689, allocations: 3.08 MB / 384.3 MB, free: 5.977 MB / 302.1 MB Notification: Performance of simplify1: time 0.000193/0.1691, allocations: 219.2 kB / 384.5 MB, free: 5.863 MB / 302.1 MB Notification: Performance of Alias: time 0.008441/0.1776, allocations: 8.381 MB / 392.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simplify2: time 9.832e-05/0.1777, allocations: 72.97 kB / 393 MB, free: 1.141 MB / 302.1 MB Notification: Performance of Events: time 0.000173/0.1779, allocations: 111.1 kB / 393.1 MB, free: 1.078 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003442/0.1782, allocations: 346 kB / 393.4 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003692/0.1786, allocations: 408.2 kB / 393.8 MB, free: 0.6016 MB / 302.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)