Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.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_4.0.0_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_4.0.0_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.001172/0.001171, allocations: 111.8 kB / 17.75 MB, free: 5.348 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.001099/0.001099, allocations: 185.8 kB / 18.68 MB, free: 4.426 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.254/1.254, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.286e-05, allocations: 2.281 kB / 351.9 MB, free: 3.301 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Spice3.Examples.Nor): time 0.01234/0.01238, allocations: 14.18 MB / 366.1 MB, free: 5.055 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1842/0.1966, allocations: 20.29 MB / 386.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00239/0.199, allocations: 124.8 kB / 386.5 MB, free: 7.789 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003445/0.2025, allocations: 1.124 MB / 387.6 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007478/0.21, allocations: 2.286 MB / 389.9 MB, free: 5.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005657/0.2157, allocations: 1.436 MB / 391.4 MB, free: 5.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.009263/0.2249, allocations: 7.032 MB / 398.4 MB, free: 2.324 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002813/0.2252, allocations: 177.2 kB / 398.6 MB, free: 2.219 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002826/0.2281, allocations: 1.786 MB / 400.4 MB, free: 1.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.2296, allocations: 1.265 MB / 401.6 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001494/0.2297, allocations: 79.56 kB / 401.7 MB, free: 0.8398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006555/0.2363, allocations: 2.411 MB / 404.1 MB, free: 15.63 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.004332/0.2407, allocations: 4.884 MB / 409 MB, free: 10.69 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.002742/0.2434, allocations: 3.559 MB / 412.6 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006351/0.2441, allocations: 307.6 kB / 412.9 MB, free: 6.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001065/0.2442, allocations: 16 kB / 412.9 MB, free: 6.758 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.01487/0.2591, allocations: 20.41 MB / 433.3 MB, free: 1.918 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.001996/0.2611, allocations: 2.153 MB / 435.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of Early Inline: time 0.004168/0.2653, allocations: 4.056 MB / 439.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simplify1: time 0.0003959/0.2657, allocations: 359.6 kB / 439.8 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Alias: time 0.00463/0.2703, allocations: 3.829 MB / 443.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simplify2: time 0.0004903/0.2708, allocations: 339.6 kB / 444 MB, free: 6.941 MB / 350.1 MB Notification: Performance of Events: time 0.0009153/0.2718, allocations: 0.9326 MB / 444.9 MB, free: 6 MB / 350.1 MB Notification: Performance of Detect States: time 0.001271/0.2731, allocations: 1.054 MB / 446 MB, free: 4.926 MB / 350.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.