Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand.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.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand") translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Spice3.Examples.Nand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 105.2 kB / 17.69 MB, free: 5.383 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.001149/0.001149, allocations: 188 kB / 18.63 MB, free: 4.461 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.228/1.228, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.503e-05/2.505e-05, allocations: 13.03 kB / 302 MB, free: 5.219 MB / 238.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01154/0.01158, allocations: 14 MB / 316 MB, free: 7.168 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.01956/0.03116, allocations: 20.26 MB / 336.3 MB, free: 2.828 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001819/0.03301, allocations: 122.9 kB / 336.4 MB, free: 2.707 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002416/0.03544, allocations: 1.112 MB / 337.5 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005877/0.04133, allocations: 2.274 MB / 339.8 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.04517, allocations: 1.42 MB / 341.2 MB, free: 13.87 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008704/0.05388, allocations: 6.957 MB / 348.2 MB, free: 6.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002824/0.05419, allocations: 177.2 kB / 348.3 MB, free: 6.707 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.05665, allocations: 1.763 MB / 350.1 MB, free: 4.938 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001085/0.05774, allocations: 1.231 MB / 351.3 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.05789, allocations: 72 kB / 351.4 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005306/0.0632, allocations: 2.403 MB / 353.8 MB, free: 1.223 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.003258/0.06647, allocations: 4.806 MB / 358.6 MB, free: 12.36 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001921/0.0684, allocations: 3.516 MB / 362.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000477/0.06889, allocations: 303.6 kB / 362.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.253e-05/0.06899, allocations: 15.94 kB / 362.4 MB, free: 8.473 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: 146 (114) * Number of variables: 146 (146) Notification: Performance of Bindings: time 0.1316/0.2005, allocations: 20.24 MB / 382.7 MB, free: 28.48 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.001413/0.202, allocations: 2.145 MB / 384.8 MB, free: 28.06 MB / 302.1 MB Notification: Performance of Early Inline: time 0.003117/0.2051, allocations: 3.879 MB / 388.7 MB, free: 27.84 MB / 302.1 MB Notification: Performance of simplify1: time 0.0002736/0.2054, allocations: 344.3 kB / 389 MB, free: 27.84 MB / 302.1 MB Notification: Performance of Alias: time 0.003105/0.2085, allocations: 3.844 MB / 392.9 MB, free: 26.06 MB / 302.1 MB Notification: Performance of simplify2: time 0.0003495/0.2089, allocations: 313.9 kB / 393.2 MB, free: 25.99 MB / 302.1 MB Notification: Performance of Events: time 0.0006255/0.2095, allocations: 0.859 MB / 394 MB, free: 25.51 MB / 302.1 MB Notification: Performance of Detect States: time 0.0008027/0.2103, allocations: 0.9437 MB / 395 MB, free: 25.05 MB / 302.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.