Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Spice3.Examples.Nand") translateModel(Modelica.Electrical.Spice3.Examples.Nand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001152/0.001152, allocations: 108 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.001154/0.001154, allocations: 187.2 kB / 17.35 MB, free: 5.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.459/1.459, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.417e-05/1.418e-05, allocations: 2.281 kB / 327.2 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01168/0.0117, allocations: 13.36 MB / 340.5 MB, free: 5.941 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02017/0.03189, allocations: 19.32 MB / 359.8 MB, free: 2.547 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.03341, allocations: 126.9 kB / 360 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002164/0.03559, allocations: 1.096 MB / 361.1 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005587/0.04118, allocations: 2.239 MB / 363.3 MB, free: 15.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.04481, allocations: 1.365 MB / 364.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008001/0.05282, allocations: 6.812 MB / 371.5 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000298/0.05313, allocations: 177.2 kB / 371.7 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/0.05525, allocations: 1.681 MB / 373.3 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00115/0.05641, allocations: 1.212 MB / 374.5 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.05656, allocations: 72 kB / 374.6 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007079/0.06365, allocations: 1.983 MB / 376.6 MB, free: 1.719 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.1837/0.2474, allocations: 4.835 MB / 381.4 MB, free: 19.12 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003069/0.2505, allocations: 3.549 MB / 385 MB, free: 17.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000859/0.2514, allocations: 311 kB / 385.3 MB, free: 17.16 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.000145/0.2516, allocations: 14 kB / 385.3 MB, free: 17.16 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.01901/0.2706, allocations: 20.36 MB / 405.7 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.002017/0.2726, allocations: 2.152 MB / 407.8 MB, free: 5.113 MB / 318.1 MB Notification: Performance of Early Inline: time 0.00446/0.2771, allocations: 3.902 MB / 411.7 MB, free: 3.172 MB / 318.1 MB Notification: Performance of simplify1: time 0.00046/0.2775, allocations: 345.9 kB / 412.1 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Alias: time 0.003935/0.2815, allocations: 3.848 MB / 415.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of simplify2: time 0.0003828/0.2819, allocations: 315.6 kB / 416.2 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of Events: time 0.0008033/0.2827, allocations: 0.8657 MB / 417.1 MB, free: 276 kB / 318.1 MB Notification: Performance of Detect States: time 0.001163/0.2839, allocations: 0.9487 MB / 418 MB, free: 15.8 MB / 334.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.