Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRH") 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: 111.8 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.001154/0.001154, allocations: 185.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.308/1.308, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.76e-05, allocations: 2.281 kB / 351.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.002438/0.002466, allocations: 1.798 MB / 353.7 MB, free: 1.484 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.004506, allocations: 1.037 MB / 354.8 MB, free: 452 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.004592, allocations: 7.938 kB / 354.8 MB, free: 444 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.004757, allocations: 27.78 kB / 354.8 MB, free: 416 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.00502, allocations: 179.4 kB / 355 MB, free: 236 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.005324, allocations: 139.7 kB / 355.1 MB, free: 96 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006447/0.005978, allocations: 0.6632 MB / 355.8 MB, free: 15.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000174/0.006161, allocations: 90.19 kB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.007232, allocations: 1.267 MB / 357.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.007489, allocations: 195.2 kB / 357.3 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.624e-05/0.007572, allocations: 36 kB / 357.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.999e-05/0.007658, allocations: 36 kB / 357.4 MB, free: 13.81 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003657/0.008029, allocations: 432.1 kB / 357.8 MB, free: 13.38 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001138/0.008151, allocations: 213 kB / 358 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.103e-05/0.008247, allocations: 55.94 kB / 358.1 MB, free: 13.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.528e-05/0.008278, allocations: 7.938 kB / 358.1 MB, free: 13.11 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.001235/0.009517, allocations: 1.345 MB / 359.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FunctionAlias: time 1.689e-05/0.00954, allocations: 8 kB / 359.4 MB, free: 11.65 MB / 302.1 MB Notification: Performance of Early Inline: time 0.001024/0.01057, allocations: 1.109 MB / 360.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplify1: time 1.151e-05/0.01059, allocations: 8 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of Alias: time 0.0008695/0.01146, allocations: 0.7799 MB / 361.3 MB, free: 9.66 MB / 302.1 MB Notification: Performance of simplify2: time 7.064e-06/0.01148, allocations: 7.984 kB / 361.3 MB, free: 9.652 MB / 302.1 MB Notification: Performance of Events: time 0.000856/0.01234, allocations: 0.7973 MB / 362.1 MB, free: 8.781 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004787/0.01283, allocations: 471.8 kB / 362.6 MB, free: 8.305 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0003234/0.01316, allocations: 303.9 kB / 362.9 MB, free: 8 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.