Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 116.9 kB / 17.76 MB, free: 5.336 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.00123/0.00123, allocations: 184.7 kB / 18.68 MB, free: 4.414 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.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.512e-05/2.514e-05, allocations: 6.281 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.002728/0.002761, allocations: 1.788 MB / 353.7 MB, free: 1.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002252/0.005025, allocations: 1.037 MB / 354.8 MB, free: 468 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.005138, allocations: 4 kB / 354.8 MB, free: 464 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001814/0.005326, allocations: 31.72 kB / 354.8 MB, free: 432 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002692/0.005612, allocations: 179.4 kB / 355 MB, free: 252 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.005989, allocations: 135.8 kB / 355.1 MB, free: 116 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007941/0.006792, allocations: 0.6632 MB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.007008, allocations: 82.2 kB / 355.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001107/0.008123, allocations: 1.026 MB / 356.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000402/0.008537, allocations: 179.3 kB / 357 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001202/0.008666, allocations: 36 kB / 357.1 MB, free: 14.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.008793, allocations: 36 kB / 357.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0004337/0.009234, allocations: 444.1 kB / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001477/0.009389, allocations: 205 kB / 357.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.009533, allocations: 51.94 kB / 357.8 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.22e-05/0.009581, allocations: 7.938 kB / 357.8 MB, free: 13.39 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.001452/0.01104, allocations: 1.353 MB / 359.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FunctionAlias: time 2.112e-05/0.01107, allocations: 15.92 kB / 359.2 MB, free: 11.92 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001037/0.01211, allocations: 1.113 MB / 360.3 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simplify1: time 1.572e-05/0.01214, allocations: 11.98 kB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of Alias: time 0.0009703/0.01311, allocations: 0.7838 MB / 361.1 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simplify2: time 6.883e-06/0.01313, allocations: 4 kB / 361.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004747/0.01361, allocations: 455.8 kB / 361.5 MB, free: 9.453 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.