Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG.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.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG") translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 113.3 kB / 17.75 MB, free: 5.324 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.001217/0.001217, allocations: 188.4 kB / 18.69 MB, free: 4.398 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.357/1.357, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.941e-05/1.941e-05, allocations: 2.281 kB / 351.9 MB, free: 3.289 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.002611/0.002639, allocations: 1.74 MB / 353.7 MB, free: 1.539 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002154/0.004806, allocations: 0.9784 MB / 354.7 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001204/0.004937, allocations: 7.875 kB / 354.7 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000168/0.005111, allocations: 23.8 kB / 354.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.005284, allocations: 43.7 kB / 354.7 MB, free: 492 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003309/0.005633, allocations: 107.8 kB / 354.8 MB, free: 384 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006078/0.006249, allocations: 0.4992 MB / 355.3 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.006434, allocations: 65.67 kB / 355.4 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.007579, allocations: 0.9749 MB / 356.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002746/0.007866, allocations: 163.3 kB / 356.5 MB, free: 14.67 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.008027, allocations: 28 kB / 356.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.24e-05/0.008106, allocations: 28 kB / 356.6 MB, free: 14.62 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003513/0.008463, allocations: 356.6 kB / 356.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.000129/0.0086, allocations: 185.5 kB / 357.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.00871, allocations: 43.88 kB / 357.2 MB, free: 14.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.591e-05/0.008752, allocations: 7.938 kB / 357.2 MB, free: 14.03 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.001243/0.01, allocations: 1.139 MB / 358.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.988e-05/0.01003, allocations: 8 kB / 358.3 MB, free: 12.78 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0009859/0.01102, allocations: 0.8668 MB / 359.2 MB, free: 11.89 MB / 302.1 MB Notification: Performance of simplify1: time 1.646e-05/0.01105, allocations: 11.98 kB / 359.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of Alias: time 0.0008476/0.0119, allocations: 0.6306 MB / 359.8 MB, free: 11.19 MB / 302.1 MB Notification: Performance of simplify2: time 1.138e-05/0.01192, allocations: 7.984 kB / 359.8 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Events: time 0.001038/0.01297, allocations: 0.9316 MB / 360.8 MB, free: 10.06 MB / 302.1 MB Notification: Performance of Detect States: time 0.0005217/0.0135, allocations: 415.8 kB / 361.2 MB, free: 9.637 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003622/0.01387, allocations: 256 kB / 361.4 MB, free: 9.379 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.