Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord.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.InvertersApartRecord,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") translateModel(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Spice3.Examples.InvertersApartRecord") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 109.6 kB / 16.42 MB, free: 6.512 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.001227/0.001227, allocations: 189.9 kB / 17.35 MB, free: 5.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.498/1.498, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.756e-05/2.756e-05, allocations: 2.281 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.InvertersApartRecord): time 0.0136/0.01364, allocations: 14.03 MB / 341.2 MB, free: 5.262 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02325/0.03693, allocations: 19.73 MB / 360.9 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003537/0.0405, allocations: 91.25 kB / 361 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003759/0.04428, allocations: 1.205 MB / 362.2 MB, free: 148 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009744/0.0541, allocations: 2.258 MB / 364.5 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006582/0.0607, allocations: 1.385 MB / 365.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01182/0.07255, allocations: 6.965 MB / 372.8 MB, free: 5.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004134/0.07299, allocations: 205 kB / 373 MB, free: 5.293 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.07596, allocations: 1.743 MB / 374.8 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001381/0.07735, allocations: 1.29 MB / 376.1 MB, free: 2.246 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.07751, allocations: 76 kB / 376.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008104/0.08562, allocations: 2.01 MB / 378.1 MB, free: 164 kB / 318.1 MB Notification: Performance of combineBinaries: time 0.2229/0.3086, allocations: 5.13 MB / 383.3 MB, free: 18.08 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002434/0.3111, allocations: 3.763 MB / 387 MB, free: 15.43 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000941/0.312, allocations: 322.3 kB / 387.4 MB, free: 15.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001552/0.3122, allocations: 15.19 kB / 387.4 MB, free: 15.41 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: 154 (122) * Number of variables: 154 (154) Notification: Performance of Bindings: time 0.01737/0.3296, allocations: 21.55 MB / 408.9 MB, free: 3.219 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.00202/0.3316, allocations: 2.252 MB / 411.2 MB, free: 2.426 MB / 318.1 MB Notification: Performance of Early Inline: time 0.00433/0.336, allocations: 4.009 MB / 415.2 MB, free: 420 kB / 318.1 MB Notification: Performance of simplify1: time 0.0005037/0.3365, allocations: 351.5 kB / 415.5 MB, free: 324 kB / 318.1 MB Notification: Performance of Alias: time 0.004979/0.3415, allocations: 4 MB / 419.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplify2: time 0.0006514/0.3421, allocations: 318.9 kB / 419.8 MB, free: 13.52 MB / 334.1 MB Notification: Performance of Events: time 0.001022/0.3432, allocations: 0.8894 MB / 420.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Detect States: time 0.001403/0.3446, allocations: 0.9654 MB / 421.7 MB, free: 11.84 MB / 334.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.