Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Inverter.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.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Inverter") translateModel(Modelica.Electrical.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009048/0.0009048, allocations: 117.1 kB / 17.76 MB, free: 5.316 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.000987/0.000987, allocations: 188.5 kB / 18.69 MB, free: 4.395 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.271/1.271, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.064e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.008819/0.008848, allocations: 8.029 MB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.2073/0.2162, allocations: 19.42 MB / 379.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.2176, allocations: 61.81 kB / 379.4 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.2201, allocations: 0.8556 MB / 380.3 MB, free: 9.574 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006455/0.2265, allocations: 1.823 MB / 382.1 MB, free: 8.988 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006397/0.233, allocations: 1.348 MB / 383.5 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005988/0.239, allocations: 3.555 MB / 387 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002/0.2392, allocations: 102.1 kB / 387.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.2407, allocations: 0.9628 MB / 388.1 MB, free: 7.723 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000662/0.2414, allocations: 0.6566 MB / 388.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001169/0.2415, allocations: 41.5 kB / 388.8 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006941/0.2485, allocations: 2.373 MB / 391.1 MB, free: 6.762 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.00166/0.2501, allocations: 2.495 MB / 393.6 MB, free: 5.145 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0007574/0.2509, allocations: 1.807 MB / 395.4 MB, free: 3.832 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002917/0.2512, allocations: 160.8 kB / 395.6 MB, free: 3.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.515e-05/0.2513, allocations: 12.19 kB / 395.6 MB, free: 3.797 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: 80 (64) * Number of variables: 80 (80) Notification: Performance of Bindings: time 0.007236/0.2585, allocations: 10.43 MB / 406 MB, free: 11.61 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.001048/0.2596, allocations: 1.111 MB / 407.2 MB, free: 10.53 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002035/0.2617, allocations: 2.145 MB / 409.3 MB, free: 8.641 MB / 318.1 MB Notification: Performance of simplify1: time 0.0002225/0.2619, allocations: 186.8 kB / 409.5 MB, free: 8.461 MB / 318.1 MB Notification: Performance of Alias: time 0.002392/0.2643, allocations: 2.167 MB / 411.6 MB, free: 6.191 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002455/0.2645, allocations: 169.8 kB / 411.8 MB, free: 6.031 MB / 318.1 MB Notification: Performance of Detect States: time 0.0008057/0.2654, allocations: 0.7618 MB / 412.6 MB, free: 5.262 MB / 318.1 MB Notification: Performance of Events: time 0.0003765/0.2657, allocations: 274.8 kB / 412.8 MB, free: 5 MB / 318.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.m_capgd, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.