Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 113 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.001227/0.001227, allocations: 184.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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.191e-05, allocations: 2.281 kB / 351.9 MB, free: 3.309 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.002492/0.002521, allocations: 1.732 MB / 353.7 MB, free: 1.566 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.004473, allocations: 0.9783 MB / 354.6 MB, free: 0.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.558e-05/0.00456, allocations: 4 kB / 354.6 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.004717, allocations: 31.72 kB / 354.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001319/0.004863, allocations: 35.72 kB / 354.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.005146, allocations: 99.81 kB / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.005687, allocations: 0.4954 MB / 355.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.005853, allocations: 69.67 kB / 355.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006607/0.006521, allocations: 0.7253 MB / 356.1 MB, free: 15.12 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002011/0.006731, allocations: 143.4 kB / 356.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.915e-05/0.006798, allocations: 28 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.348e-05/0.006859, allocations: 32 kB / 356.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002833/0.007147, allocations: 356.6 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 9.9e-05/0.007253, allocations: 181.5 kB / 356.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.985e-05/0.007328, allocations: 47.88 kB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.319e-05/0.007356, allocations: 7.938 kB / 356.9 MB, free: 14.34 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: 40 (19) * Number of variables: 40 (25) Notification: Performance of Bindings: time 0.001064/0.008425, allocations: 1.143 MB / 358 MB, free: 13.09 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.134e-05/0.008453, allocations: 11.92 kB / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0008126/0.009273, allocations: 0.8787 MB / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of simplify1: time 1.011e-05/0.00929, allocations: 4 kB / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of Alias: time 0.0007514/0.01005, allocations: 0.6423 MB / 359.6 MB, free: 11.47 MB / 302.1 MB Notification: Performance of simplify2: time 9.047e-06/0.01007, allocations: 7.984 kB / 359.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Events: time 0.000944/0.01101, allocations: 0.9986 MB / 360.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003981/0.01142, allocations: 386.5 kB / 360.9 MB, free: 9.844 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0002748/0.01171, allocations: 252 kB / 361.2 MB, free: 9.59 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.