Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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 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.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Spice3.Examples.Nand") translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.0009618/0.0009618, allocations: 99.17 kB / 16.42 MB, free: 6.516 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.000909/0.0009091, allocations: 192.2 kB / 17.35 MB, free: 5.758 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.261/1.261, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.854e-05, allocations: 2.281 kB / 327.2 MB, free: 3.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01177/0.01179, allocations: 13.36 MB / 340.5 MB, free: 5.949 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02015/0.03199, allocations: 19.33 MB / 359.9 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00231/0.03434, allocations: 122.9 kB / 360 MB, free: 2.426 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00304/0.03739, allocations: 1.1 MB / 361.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008078/0.04548, allocations: 2.231 MB / 363.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004325/0.04982, allocations: 1.369 MB / 364.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.009077/0.05891, allocations: 6.828 MB / 371.5 MB, free: 6.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.05919, allocations: 173.2 kB / 371.7 MB, free: 6.672 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00187/0.06107, allocations: 1.681 MB / 373.3 MB, free: 4.984 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.06215, allocations: 1.208 MB / 374.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000134/0.06229, allocations: 72 kB / 374.6 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005/0.0673, allocations: 1.975 MB / 376.6 MB, free: 1.723 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.1492/0.2166, allocations: 4.843 MB / 381.4 MB, free: 19.7 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.001675/0.2183, allocations: 3.544 MB / 385 MB, free: 17.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005973/0.2189, allocations: 308.3 kB / 385.3 MB, free: 17.73 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.661e-05/0.219, allocations: 14.53 kB / 385.3 MB, free: 17.73 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: 146 (114) * Number of variables: 146 (146) Notification: Performance of Bindings: time 0.01178/0.2308, allocations: 20.37 MB / 405.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.001693/0.2325, allocations: 2.147 MB / 407.8 MB, free: 5.352 MB / 318.1 MB Notification: Performance of Early Inline: time 0.00378/0.2363, allocations: 3.899 MB / 411.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of simplify1: time 0.0004465/0.2367, allocations: 345.8 kB / 412.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of Alias: time 0.003521/0.2402, allocations: 3.858 MB / 415.9 MB, free: 1.062 MB / 318.1 MB Notification: Performance of simplify2: time 0.0003862/0.2406, allocations: 316.8 kB / 416.2 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of Events: time 0.0007674/0.2414, allocations: 0.8602 MB / 417.1 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of Detect States: time 0.001096/0.2425, allocations: 0.9438 MB / 418 MB, free: 44 kB / 318.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.