Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001257/0.001257, allocations: 112.8 kB / 17.75 MB, free: 5.172 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.001262/0.001262, allocations: 188.3 kB / 18.68 MB, free: 4.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.846e-05/2.847e-05, allocations: 5.656 kB / 351.9 MB, free: 3.258 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.GenerationOfFMUs): time 0.006794/0.006831, allocations: 5.996 MB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003563/0.01043, allocations: 1.64 MB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008229/0.01128, allocations: 35.81 kB / 359.6 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000598/0.01189, allocations: 245.6 kB / 359.9 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006488/0.01259, allocations: 225.7 kB / 360.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.01381, allocations: 0.4954 MB / 360.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.01553, allocations: 1.579 MB / 362.2 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.01655, allocations: 0.6452 MB / 362.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007916/0.01735, allocations: 474.1 kB / 363.3 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005233/0.01788, allocations: 0.4934 MB / 363.8 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.01804, allocations: 120 kB / 363.9 MB, free: 7.262 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002583/0.01831, allocations: 140 kB / 364 MB, free: 7.125 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001304/0.01962, allocations: 1.972 MB / 366 MB, free: 5.129 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006675/0.0203, allocations: 1.296 MB / 367.3 MB, free: 3.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.02054, allocations: 231.2 kB / 367.5 MB, free: 3.586 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003522/0.0209, allocations: 139.5 kB / 367.6 MB, free: 3.449 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.2058/0.2268, allocations: 5.801 MB / 373.4 MB, free: 16.36 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0009885/0.2278, allocations: 0.6777 MB / 374.1 MB, free: 16.21 MB / 302.1 MB Notification: Performance of Early Inline: time 0.003439/0.2312, allocations: 2.685 MB / 376.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of simplify1: time 0.0003296/0.2316, allocations: 220.9 kB / 377 MB, free: 15.19 MB / 302.1 MB Notification: Performance of Alias: time 0.01077/0.2423, allocations: 8.383 MB / 385.4 MB, free: 10.58 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001113/0.2425, allocations: 72.81 kB / 385.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of Events: time 0.000179/0.2427, allocations: 123.8 kB / 385.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003713/0.243, allocations: 344.8 kB / 385.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0004884/0.2435, allocations: 420.6 kB / 386.3 MB, free: 10.01 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)