Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM.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.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM") translateModel(Modelica.Electrical.Digital.Examples.RAM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATRAM.dataOut.1.|dLATRAM.dataOut.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.RAM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 110.6 kB / 17.75 MB, free: 5.352 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.001184/0.001184, allocations: 187.1 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.33/1.33, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.399e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.RAM): time 0.002497/0.002529, allocations: 1.65 MB / 353.6 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002985/0.005526, allocations: 1.902 MB / 355.5 MB, free: 15.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.18e-05/0.005601, allocations: 3.938 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000158/0.005765, allocations: 24.52 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.005932, allocations: 61.67 kB / 355.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004764/0.006438, allocations: 199.5 kB / 355.8 MB, free: 15.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004382/0.006884, allocations: 423.3 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.007027, allocations: 57.47 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006298/0.007663, allocations: 0.6746 MB / 356.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008518/0.01619, allocations: 131.6 kB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.972e-05/0.01631, allocations: 20 kB / 357.1 MB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004483/0.01677, allocations: 163.9 kB / 357.2 MB, free: 13.98 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003188/0.0171, allocations: 297.2 kB / 357.5 MB, free: 13.68 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.971e-05/0.01721, allocations: 150 kB / 357.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.0173, allocations: 31.94 kB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.487e-05/0.01735, allocations: 4 kB / 357.7 MB, free: 13.5 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 (18) * Number of variables: 43 (23) Notification: Performance of Bindings: time 0.0009521/0.01831, allocations: 0.9205 MB / 358.6 MB, free: 12.48 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.148e-05/0.01834, allocations: 7.984 kB / 358.6 MB, free: 12.47 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006586/0.019, allocations: 0.6796 MB / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of simplify1: time 8.716e-06/0.01902, allocations: 4 kB / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Alias: time 0.0006306/0.01966, allocations: 489.9 kB / 359.8 MB, free: 11.23 MB / 302.1 MB Notification: Performance of simplify2: time 6.683e-06/0.01967, allocations: 11.98 kB / 359.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of Events: time 0.0004386/0.02012, allocations: 290.7 kB / 360.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003522/0.02048, allocations: 335.8 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002335/0.02072, allocations: 216 kB / 360.6 MB, free: 10.4 MB / 302.1 MB Error: Internal error NBVariable.getVarPointer failed for $i1, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.