Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.Graetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|D1.pin|D3.n.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001412/0.001412, allocations: 104 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.001473/0.001474, allocations: 186.7 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.524/1.524, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.886e-05/3.889e-05, allocations: 7.062 kB / 329.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.007112/0.00716, allocations: 5.206 MB / 334.4 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008975/0.01615, allocations: 6.566 MB / 340.9 MB, free: 7.531 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.01748, allocations: 43.69 kB / 341 MB, free: 7.488 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001799/0.0193, allocations: 0.489 MB / 341.5 MB, free: 6.996 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003527/0.0229, allocations: 0.8146 MB / 342.3 MB, free: 6.176 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.02465, allocations: 438.4 kB / 342.7 MB, free: 5.746 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.004209/0.02887, allocations: 2.239 MB / 344.9 MB, free: 3.5 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002789/0.02916, allocations: 96.7 kB / 345 MB, free: 3.402 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001038/0.03021, allocations: 497.9 kB / 345.5 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00075/0.03097, allocations: 397.4 kB / 345.9 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.03111, allocations: 32 kB / 345.9 MB, free: 2.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/0.03425, allocations: 0.9991 MB / 346.9 MB, free: 1.492 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.001588/0.03585, allocations: 1.7 MB / 348.6 MB, free: 15.77 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001117/0.03698, allocations: 1.281 MB / 349.9 MB, free: 14.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000337/0.03733, allocations: 111.8 kB / 350 MB, free: 14.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.619e-05/0.03742, allocations: 8 kB / 350 MB, free: 14.35 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.007433/0.04487, allocations: 7.123 MB / 357.2 MB, free: 7.02 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0009171/0.0458, allocations: 476.5 kB / 357.6 MB, free: 6.555 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001355/0.04717, allocations: 0.9664 MB / 358.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of simplify1: time 0.0001554/0.04734, allocations: 63.91 kB / 358.7 MB, free: 5.5 MB / 302.1 MB Notification: Performance of Alias: time 0.002538/0.04989, allocations: 1.626 MB / 360.3 MB, free: 3.715 MB / 302.1 MB Notification: Performance of simplify2: time 0.0001698/0.05007, allocations: 55.92 kB / 360.3 MB, free: 3.66 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004828/0.05057, allocations: 257.3 kB / 360.6 MB, free: 3.395 MB / 302.1 MB Notification: Performance of Events: time 0.0004021/0.05098, allocations: 242 kB / 360.8 MB, free: 3.156 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.