Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Spice3.Examples.Inverter,tolerance=1e-07,outputFormat="mat",numberOfIntervals=3998,variableFilter="time|mp.S.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001382/0.001382, allocations: 111.3 kB / 18.41 MB, free: 4.68 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.001611/0.001611, allocations: 185.5 kB / 19.35 MB, free: 3.754 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.502/1.502, allocations: 205.1 MB / 225.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.842e-05/3.843e-05, allocations: 3.266 kB / 329.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Inverter): time 0.008167/0.008215, allocations: 7.721 MB / 336.9 MB, free: 11.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02429/0.03252, allocations: 18.51 MB / 355.4 MB, free: 9.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00237/0.03495, allocations: 63.5 kB / 355.4 MB, free: 8.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00362/0.0386, allocations: 0.836 MB / 356.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009069/0.0477, allocations: 1.79 MB / 358.1 MB, free: 6.316 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006753/0.05449, allocations: 1.287 MB / 359.4 MB, free: 5.02 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007095/0.06162, allocations: 3.499 MB / 362.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002908/0.06194, allocations: 96.69 kB / 363 MB, free: 1.414 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.06374, allocations: 0.9186 MB / 363.9 MB, free: 0.4961 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.06498, allocations: 0.641 MB / 364.5 MB, free: 15.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.06519, allocations: 44 kB / 364.6 MB, free: 15.81 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009506/0.07471, allocations: 1.952 MB / 366.5 MB, free: 13.86 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.003114/0.07786, allocations: 2.511 MB / 369 MB, free: 11.31 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002157/0.08007, allocations: 1.828 MB / 370.8 MB, free: 9.457 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008465/0.08095, allocations: 159.8 kB / 371 MB, free: 9.301 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001767/0.08114, allocations: 8 kB / 371 MB, free: 9.293 MB / 318.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.2324/0.3136, allocations: 10.71 MB / 381.7 MB, free: 24.38 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.0007712/0.3144, allocations: 0.6759 MB / 382.4 MB, free: 24.33 MB / 318.1 MB Notification: Performance of Early Inline: time 0.002604/0.317, allocations: 2.159 MB / 384.6 MB, free: 24.22 MB / 318.1 MB Notification: Performance of simplify1: time 0.0003127/0.3173, allocations: 187.3 kB / 384.7 MB, free: 24.22 MB / 318.1 MB Notification: Performance of Alias: time 0.00317/0.3205, allocations: 2.375 MB / 387.1 MB, free: 23.7 MB / 318.1 MB Notification: Performance of simplify2: time 0.0002946/0.3208, allocations: 168 kB / 387.3 MB, free: 23.7 MB / 318.1 MB Notification: Performance of Detect States: time 0.0009875/0.3218, allocations: 0.7683 MB / 388 MB, free: 23.57 MB / 318.1 MB Notification: Performance of Events: time 0.0004719/0.3223, allocations: 273.7 kB / 388.3 MB, free: 23.53 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.