Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002096/0.002096, allocations: 107.3 kB / 19.05 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002265/0.002265, allocations: 211.8 kB / 20.03 MB, free: 2.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.2/1.2, allocations: 230.4 MB / 251.3 MB, free: 8.699 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.197e-06/9.197e-06, allocations: 2.281 kB / 368.8 MB, free: 6.547 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.002277/0.002286, allocations: 1.818 MB / 370.6 MB, free: 4.719 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001909/0.004195, allocations: 1.08 MB / 371.7 MB, free: 3.633 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.394e-05/0.004249, allocations: 4 kB / 371.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.004376, allocations: 35.7 kB / 371.8 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.004603, allocations: 175.5 kB / 371.9 MB, free: 3.422 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.004863, allocations: 139.8 kB / 372.1 MB, free: 3.285 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006095/0.005473, allocations: 0.6319 MB / 372.7 MB, free: 2.652 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.005597, allocations: 58.2 kB / 372.8 MB, free: 2.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.006706, allocations: 1.295 MB / 374.1 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.006978, allocations: 211.3 kB / 374.3 MB, free: 1.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.151e-05/0.00705, allocations: 36 kB / 374.3 MB, free: 1.055 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.754e-05/0.007117, allocations: 43.94 kB / 374.3 MB, free: 1.012 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0003787/0.007496, allocations: 439.9 kB / 374.8 MB, free: 0.5781 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001274/0.007623, allocations: 209.1 kB / 375 MB, free: 380 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.689e-05/0.00771, allocations: 59.88 kB / 375 MB, free: 320 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.923e-05/0.007729, allocations: 4 kB / 375 MB, free: 316 kB / 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.1152/0.1229, allocations: 1.044 MB / 376.1 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FunctionAlias: time 0.0001171/0.1231, allocations: 117.7 kB / 376.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0006523/0.1237, allocations: 0.7677 MB / 377 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Simplify 1: time 0.0003085/0.124, allocations: 255 kB / 377.2 MB, free: 11.71 MB / 302.1 MB Notification: Performance of Alias: time 0.0007528/0.1248, allocations: 0.6933 MB / 377.9 MB, free: 11.49 MB / 302.1 MB Notification: Performance of Simplify 2: time 0.0002439/0.125, allocations: 245.5 kB / 378.1 MB, free: 11.44 MB / 302.1 MB Notification: Performance of Remove Stream: time 0.0002239/0.1252, allocations: 246.7 kB / 378.4 MB, free: 11.38 MB / 302.1 MB Notification: Performance of Detect States: time 0.0004244/0.1257, allocations: 416.1 kB / 378.8 MB, free: 11.16 MB / 302.1 MB Error: Internal error NBVariable.getVarPointer failed for i, because of wrong InstNode (not VAR_NODE). Show lowering errors with -d=failtrace.