Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001351/0.001351, allocations: 109.2 kB / 18.42 MB, free: 4.637 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.001313/0.001314, allocations: 189.3 kB / 19.35 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/2.887e-05, allocations: 3.406 kB / 329.2 MB, free: 3.348 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.00277/0.002807, allocations: 1.8 MB / 331 MB, free: 1.539 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002351/0.00517, allocations: 1.077 MB / 332 MB, free: 464 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.005289, allocations: 7.938 kB / 332 MB, free: 456 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.005481, allocations: 23.78 kB / 332.1 MB, free: 432 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002921/0.005783, allocations: 179.4 kB / 332.2 MB, free: 252 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.006181, allocations: 139.8 kB / 332.4 MB, free: 112 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007433/0.006932, allocations: 0.6593 MB / 333 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002071/0.007148, allocations: 90.19 kB / 333.1 MB, free: 15.36 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001286/0.008442, allocations: 1.267 MB / 334.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002836/0.008737, allocations: 199.2 kB / 334.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.371e-05/0.008828, allocations: 36 kB / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.731e-05/0.008911, allocations: 36 kB / 334.7 MB, free: 13.82 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.000402/0.009318, allocations: 428.2 kB / 335.1 MB, free: 13.4 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.000157/0.009483, allocations: 205.1 kB / 335.3 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.009595, allocations: 59.88 kB / 335.3 MB, free: 13.14 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.361e-05/0.009645, allocations: 7.938 kB / 335.3 MB, free: 13.13 MB / 286.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.001595/0.01125, allocations: 1.353 MB / 336.7 MB, free: 11.68 MB / 286.1 MB Notification: Performance of FunctionAlias: time 2.736e-05/0.01128, allocations: 11.89 kB / 336.7 MB, free: 11.66 MB / 286.1 MB Notification: Performance of Early Inline: time 0.001207/0.01249, allocations: 1.109 MB / 337.8 MB, free: 10.53 MB / 286.1 MB Notification: Performance of simplify1: time 1.361e-05/0.01252, allocations: 8 kB / 337.8 MB, free: 10.52 MB / 286.1 MB Notification: Performance of Alias: time 0.001105/0.01363, allocations: 0.776 MB / 338.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of simplify2: time 8.236e-06/0.01365, allocations: 7.984 kB / 338.6 MB, free: 9.672 MB / 286.1 MB Notification: Performance of Events: time 0.001016/0.01467, allocations: 0.7723 MB / 339.4 MB, free: 8.789 MB / 286.1 MB Notification: Performance of Detect States: time 0.0006199/0.0153, allocations: 483.6 kB / 339.9 MB, free: 8.301 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0003841/0.0157, allocations: 303 kB / 340.2 MB, free: 8 MB / 286.1 MB Error: Internal error NBVariable.getVarPointer failed for $i1, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.