Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 196.6 kB / 18.05 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 226.5 MB / 245.3 MB, free: 6.473 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007716/0.0007715, allocations: 98.62 kB / 297.4 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002359/0.0002364, allocations: 12 kB / 357.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2199, allocations: 51.3 MB / 408.7 MB, free: 27.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.001773/0.2217, allocations: 1.848 MB / 410.5 MB, free: 25.82 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.2226, allocations: 0.5711 MB / 411.1 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2227, allocations: 0 / 411.1 MB, free: 25.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 9.349e-05/0.2228, allocations: 20.55 kB / 411.1 MB, free: 25.23 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002138/0.223, allocations: 56.84 kB / 411.2 MB, free: 25.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002096/0.2232, allocations: 55.56 kB / 411.2 MB, free: 25.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.2234, allocations: 251 kB / 411.5 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.2236, allocations: 65.11 kB / 411.5 MB, free: 24.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2237, allocations: 101.8 kB / 411.6 MB, free: 24.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.2239, allocations: 119.3 kB / 411.8 MB, free: 24.6 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.2239, allocations: 12 kB / 411.8 MB, free: 24.59 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.637e-05/0.2239, allocations: 12 kB / 411.8 MB, free: 24.58 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.224, allocations: 55.62 kB / 411.8 MB, free: 24.52 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.698e-05/0.2241, allocations: 133.5 kB / 412 MB, free: 24.39 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.2242, allocations: 184.5 kB / 412.1 MB, free: 24.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2242, allocations: 0.6562 kB / 412.1 MB, free: 24.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2242, allocations: 0 / 412.1 MB, free: 24.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2242, allocations: 0.5938 kB / 412.1 MB, free: 24.21 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008105/0.2251, allocations: 0.5735 MB / 412.7 MB, free: 23.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2251, allocations: 9.312 kB / 412.7 MB, free: 23.58 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.323e-05/0.2252, allocations: 36.5 kB / 412.8 MB, free: 23.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.2255, allocations: 312.3 kB / 413.1 MB, free: 23.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.2255, allocations: 20.41 kB / 413.1 MB, free: 23.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.2255, allocations: 15.91 kB / 413.1 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.226, allocations: 373.6 kB / 413.5 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.2261, allocations: 0 / 413.5 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.2261, allocations: 4 kB / 413.5 MB, free: 22.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2261, allocations: 4 kB / 413.5 MB, free: 22.77 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.2263, allocations: 99.88 kB / 413.6 MB, free: 22.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000527/0.2268, allocations: 0.5287 MB / 414.1 MB, free: 22.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005488/0.2274, allocations: 320.4 kB / 414.4 MB, free: 21.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.2276, allocations: 145 kB / 414.6 MB, free: 21.61 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.274e-05/0.2276, allocations: 11.98 kB / 414.6 MB, free: 21.59 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.2276, allocations: 38.5 kB / 414.6 MB, free: 21.55 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.2276, allocations: 0 / 414.6 MB, free: 21.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.0019/0.2295, allocations: 1.316 MB / 415.9 MB, free: 20.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.602e-05/0.2296, allocations: 106.8 kB / 416 MB, free: 20.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.2299, allocations: 324.6 kB / 416.3 MB, free: 19.68 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2299, allocations: 37.7 kB / 416.4 MB, free: 19.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.733e-05/0.2299, allocations: 141.2 kB / 416.5 MB, free: 19.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.23, allocations: 35.69 kB / 416.6 MB, free: 19.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.003e-05/0.23, allocations: 8 kB / 416.6 MB, free: 19.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.75e-05/0.2301, allocations: 346.8 kB / 416.9 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.664e-05/0.2302, allocations: 60.41 kB / 417 MB, free: 19.05 MB / 298.7 MB Error: Internal error BackendDAEOptimize.partitionIndependentBlocks failed without good error message Error: No system for the symbolic initialization was generated