Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Spice3.Examples.Graetz") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001304/0.001304, allocations: 107.3 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00134/0.00134, allocations: 211.8 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.226/1.226, allocations: 230.4 MB / 251.3 MB, free: 8.707 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.744e-05/1.744e-05, allocations: 2.281 kB / 368.8 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Graetz): time 0.005336/0.005354, allocations: 5.241 MB / 374.1 MB, free: 1.324 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1279/0.1332, allocations: 6.683 MB / 380.7 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005629/0.1338, allocations: 41.41 kB / 380.8 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.1349, allocations: 0.5033 MB / 381.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001971/0.1368, allocations: 0.8194 MB / 382.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.1378, allocations: 443 kB / 382.5 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002615/0.1404, allocations: 2.317 MB / 384.8 MB, free: 7.605 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.1406, allocations: 61.59 kB / 384.9 MB, free: 7.57 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006544/0.1412, allocations: 0.4975 MB / 385.4 MB, free: 7.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.1416, allocations: 396.7 kB / 385.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.872e-05/0.1416, allocations: 32 kB / 385.8 MB, free: 7.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.1433, allocations: 1.049 MB / 386.9 MB, free: 6.863 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0007017/0.144, allocations: 1.707 MB / 388.6 MB, free: 5.68 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004058/0.1444, allocations: 1.295 MB / 389.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000103/0.1445, allocations: 110.9 kB / 390 MB, free: 4.688 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.465e-05/0.1445, allocations: 8.062 kB / 390 MB, free: 4.688 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: 73 (54) * Number of variables: 63 (63) Notification: Performance of Bindings: time 0.002804/0.1473, allocations: 6.029 MB / 396 MB, free: 348 kB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0002887/0.1476, allocations: 384.3 kB / 396.4 MB, free: 96 kB / 302.1 MB Notification: Performance of Early Inline: time 0.000753/0.1484, allocations: 0.7203 MB / 397.1 MB, free: 15.64 MB / 318.1 MB Notification: Performance of Simplify 1: time 0.0001653/0.1485, allocations: 143.8 kB / 397.3 MB, free: 15.54 MB / 318.1 MB Notification: Performance of Alias: time 0.001367/0.1499, allocations: 1.08 MB / 398.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of Simplify 2: time 0.0001335/0.15, allocations: 125.7 kB / 398.5 MB, free: 14.71 MB / 318.1 MB Notification: Performance of Remove Stream: time 0.0001152/0.1502, allocations: 115.7 kB / 398.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of Detect States: time 0.0004103/0.1506, allocations: 247.6 kB / 398.8 MB, free: 14.41 MB / 318.1 MB Notification: Performance of Events: time 0.0001127/0.1507, allocations: 70.47 kB / 398.9 MB, free: 14.37 MB / 318.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.