Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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="mat",numberOfIntervals=5000,variableFilter="time|mp2.S.v",fileNamePrefix="Modelica_3.2.3_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_3.2.3_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.001452/0.001452, allocations: 104 kB / 18.41 MB, free: 4.664 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.001367/0.001367, allocations: 194.7 kB / 19.35 MB, free: 3.738 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.595/1.595, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.163e-05/3.164e-05, allocations: 7.062 kB / 329.1 MB, free: 3.391 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nand): time 0.01509/0.01513, allocations: 13.36 MB / 342.5 MB, free: 5.969 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02415/0.03934, allocations: 19.32 MB / 361.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004689/0.0441, allocations: 126.9 kB / 362 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003728/0.04785, allocations: 1.089 MB / 363 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009921/0.05778, allocations: 2.235 MB / 365.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0061/0.06391, allocations: 1.369 MB / 366.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01181/0.07573, allocations: 6.824 MB / 373.5 MB, free: 6.875 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.07617, allocations: 173.2 kB / 373.6 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.07932, allocations: 1.787 MB / 375.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.0808, allocations: 1.208 MB / 376.6 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000147/0.08096, allocations: 75.98 kB / 376.7 MB, free: 3.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007751/0.08872, allocations: 1.975 MB / 378.7 MB, free: 1.645 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.2632/0.3519, allocations: 4.844 MB / 383.5 MB, free: 19.15 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.003626/0.3556, allocations: 3.54 MB / 387.1 MB, free: 17.2 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.3569, allocations: 307.7 kB / 387.4 MB, free: 17.17 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0002297/0.3571, allocations: 14.41 kB / 387.4 MB, free: 17.17 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.02453/0.3817, allocations: 20.39 MB / 407.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.002843/0.3845, allocations: 2.148 MB / 409.9 MB, free: 5.113 MB / 318.1 MB Notification: Performance of Early Inline: time 0.004915/0.3895, allocations: 3.896 MB / 413.8 MB, free: 3.168 MB / 318.1 MB Notification: Performance of simplify1: time 0.0005657/0.3901, allocations: 344.1 kB / 414.2 MB, free: 3.078 MB / 318.1 MB Notification: Performance of Alias: time 0.005244/0.3953, allocations: 4.013 MB / 418.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of simplify2: time 0.0007248/0.3961, allocations: 317.6 kB / 418.5 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of Events: time 0.0009007/0.397, allocations: 0.8701 MB / 419.4 MB, free: 248 kB / 318.1 MB Notification: Performance of Detect States: time 0.001351/0.3983, allocations: 0.9486 MB / 420.3 MB, free: 15.66 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.