Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 113.4 kB / 17.75 MB, free: 5.195 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.001113/0.001113, allocations: 188.3 kB / 18.68 MB, free: 4.273 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.233/1.233, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.063e-05/2.063e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.002367/0.002396, allocations: 1.783 MB / 353.7 MB, free: 1.496 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.004316, allocations: 1.048 MB / 354.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.488e-05/0.004392, allocations: 0 / 354.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.004548, allocations: 35.7 kB / 354.8 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.004813, allocations: 171.5 kB / 355 MB, free: 244 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.005113, allocations: 139.8 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006854/0.005806, allocations: 0.6553 MB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.00601, allocations: 90.2 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009578/0.006977, allocations: 1.029 MB / 356.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002696/0.007256, allocations: 175.4 kB / 357.1 MB, free: 14.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.491e-05/0.007358, allocations: 36 kB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.007536, allocations: 36 kB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004684/0.008009, allocations: 440.1 kB / 357.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001435/0.008159, allocations: 205 kB / 357.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.614e-05/0.00826, allocations: 47.94 kB / 357.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.369e-05/0.008291, allocations: 15.88 kB / 357.8 MB, free: 13.38 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 (22) * Number of variables: 43 (28) Notification: Performance of Bindings: time 0.001402/0.009697, allocations: 1.349 MB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.504e-05/0.009731, allocations: 19.92 kB / 359.2 MB, free: 11.91 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001156/0.01089, allocations: 1.109 MB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simplify1: time 1.198e-05/0.01091, allocations: 7.984 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Alias: time 0.001143/0.01206, allocations: 0.7877 MB / 361.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of simplify2: time 8.566e-06/0.01208, allocations: 7.984 kB / 361.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of Events: time 0.001031/0.01311, allocations: 0.9527 MB / 362 MB, free: 8.859 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005275/0.01365, allocations: 456.3 kB / 362.5 MB, free: 8.398 MB / 302.1 MB Notification: Performance of Partitioning: time 0.000332/0.01399, allocations: 291.9 kB / 362.8 MB, free: 8.105 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.