Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor.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.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor") translateModel(Modelica.Electrical.Spice3.Examples.Nor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mn1.Dinternal|mn1.Sinternal|mn2.Dinternal|mn2.Sinternal|mp1.Dinternal|mp1.Sinternal|mp2.Dinternal|mp2.Sinternal",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Spice3.Examples.Nor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 107.7 kB / 18.41 MB, free: 4.625 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.001435/0.001435, allocations: 191 kB / 19.35 MB, free: 3.699 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.569/1.569, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.491e-05/3.492e-05, allocations: 2.281 kB / 329.2 MB, free: 3.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01364/0.01368, allocations: 13.52 MB / 342.7 MB, free: 5.777 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.02388/0.03762, allocations: 19.37 MB / 362 MB, free: 2.336 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004311/0.04199, allocations: 126.9 kB / 362.2 MB, free: 2.211 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003944/0.04596, allocations: 1.1 MB / 363.3 MB, free: 1.098 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01104/0.05703, allocations: 2.25 MB / 365.5 MB, free: 14.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008279/0.06533, allocations: 1.377 MB / 366.9 MB, free: 13.45 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01402/0.07938, allocations: 6.894 MB / 373.8 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000446/0.07987, allocations: 173.2 kB / 374 MB, free: 6.363 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003605/0.08349, allocations: 1.814 MB / 375.8 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.08638, allocations: 1.247 MB / 377 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004751/0.08688, allocations: 76 kB / 377.1 MB, free: 3.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/0.09938, allocations: 1.983 MB / 379.1 MB, free: 1.23 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.265/0.3644, allocations: 4.922 MB / 384 MB, free: 19.37 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.00407/0.3685, allocations: 3.574 MB / 387.6 MB, free: 17.3 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.3698, allocations: 312.4 kB / 387.9 MB, free: 17.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001969/0.37, allocations: 14.34 kB / 387.9 MB, free: 17.27 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: 149 (117) * Number of variables: 149 (149) Notification: Performance of Bindings: time 0.02201/0.392, allocations: 20.57 MB / 408.5 MB, free: 5.727 MB / 318.1 MB Notification: Performance of FunctionAlias: time 0.002331/0.3943, allocations: 1.764 MB / 410.2 MB, free: 5.059 MB / 318.1 MB Notification: Performance of Early Inline: time 0.00461/0.399, allocations: 4.073 MB / 414.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of simplify1: time 0.0004851/0.3995, allocations: 359.4 kB / 414.6 MB, free: 2.93 MB / 318.1 MB Notification: Performance of Alias: time 0.004874/0.4044, allocations: 4.382 MB / 419 MB, free: 388 kB / 318.1 MB Notification: Performance of simplify2: time 0.0007519/0.4051, allocations: 340.8 kB / 419.4 MB, free: 308 kB / 318.1 MB Notification: Performance of Events: time 0.001129/0.4063, allocations: 0.9392 MB / 420.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of Detect States: time 0.001819/0.4081, allocations: 1.068 MB / 421.4 MB, free: 14.7 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.