Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz.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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") translateModel(Modelica.Electrical.Spice3.Examples.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001308, allocations: 115.8 kB / 17.76 MB, free: 5.301 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.001189/0.001189, allocations: 185.9 kB / 18.68 MB, free: 4.383 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.302/1.302, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.85e-05/2.851e-05, allocations: 2.281 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005823/0.00586, allocations: 5.19 MB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008535/0.01441, allocations: 6.623 MB / 363.7 MB, free: 7.434 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009774/0.01543, allocations: 43.69 kB / 363.8 MB, free: 7.391 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001473/0.01691, allocations: 0.4928 MB / 364.3 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002733/0.0197, allocations: 0.8186 MB / 365.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.02123, allocations: 436.7 kB / 365.5 MB, free: 5.645 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003518/0.02476, allocations: 2.262 MB / 367.8 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002138/0.02499, allocations: 96.7 kB / 367.9 MB, free: 3.273 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007973/0.0258, allocations: 0.498 MB / 368.4 MB, free: 2.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004264/0.02624, allocations: 393.4 kB / 368.7 MB, free: 2.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.232e-05/0.0263, allocations: 32 kB / 368.8 MB, free: 2.355 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002651/0.02896, allocations: 1.03 MB / 369.8 MB, free: 1.324 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.1933/0.2222, allocations: 1.698 MB / 371.5 MB, free: 12.16 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0009221/0.2232, allocations: 1.277 MB / 372.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002683/0.2235, allocations: 113.9 kB / 372.9 MB, free: 11.75 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000108/0.2236, allocations: 8.969 kB / 372.9 MB, free: 11.75 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: 61 (54) * Number of variables: 63 (63) Notification: Performance of Bindings: time 0.005197/0.2288, allocations: 7.125 MB / 380 MB, free: 8 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0005035/0.2293, allocations: 459.7 kB / 380.5 MB, free: 7.895 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009336/0.2303, allocations: 0.9666 MB / 381.4 MB, free: 7.781 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001008/0.2304, allocations: 70.89 kB / 381.5 MB, free: 7.781 MB / 302.1 MB Notification: Performance of Alias: time 0.001798/0.2322, allocations: 1.615 MB / 383.1 MB, free: 7.031 MB / 302.1 MB Notification: Performance of simplify2: time 7.524e-05/0.2323, allocations: 58.53 kB / 383.2 MB, free: 7.008 MB / 302.1 MB Notification: Performance of Events: time 0.0001102/0.2324, allocations: 81.78 kB / 383.3 MB, free: 6.961 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005203/0.2329, allocations: 430.3 kB / 383.7 MB, free: 6.684 MB / 302.1 MB Error: Internal error NBVariable.getVarPointer failed for $FUN_1.m_dCurrent, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.