Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 1.912/1.912, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.284e-05/4.296e-05, allocations: 0 / 292.1 MB, free: 8.828 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1137, allocations: 50.43 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.015/7.129, allocations: 2.761 GB / 3.096 GB, free: 112.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/7.129, allocations: 76.78 kB / 3.096 GB, free: 112.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.236/11.37, allocations: 0.9762 GB / 4.072 GB, free: 16.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.603e-06/11.37, allocations: 0 / 4.072 GB, free: 16.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002101/11.37, allocations: 59.92 kB / 4.072 GB, free: 16.58 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01237/11.38, allocations: 3.386 MB / 4.076 GB, free: 13.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/11.38, allocations: 12.88 kB / 4.076 GB, free: 13.13 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01723/11.39, allocations: 1.23 MB / 4.077 GB, free: 11.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004584/11.4, allocations: 1.525 MB / 4.078 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004189/11.4, allocations: 349.8 kB / 4.079 GB, free: 9.934 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008469/11.4, allocations: 188 kB / 4.079 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/11.41, allocations: 3.452 MB / 4.082 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.672e-05/11.41, allocations: 3.906 kB / 4.082 GB, free: 6.152 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005207/11.41, allocations: 83.98 kB / 4.082 GB, free: 6.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001598/11.41, allocations: 111.3 kB / 4.082 GB, free: 5.961 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01047/11.42, allocations: 3.278 MB / 4.086 GB, free: 2.68 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03286/11.46, allocations: 14.4 MB / 4.1 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009173/11.47, allocations: 2.681 MB / 4.102 GB, free: 0.7305 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3445/11.81, allocations: 1.264 MB / 4.103 GB, free: 40.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02035/11.83, allocations: 8.274 MB / 4.111 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.12e-05/11.83, allocations: 63.14 kB / 4.112 GB, free: 35.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004236/11.83, allocations: 0.5652 MB / 4.112 GB, free: 35.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=175): time 1.201e-05/11.83, allocations: 2 kB / 4.112 GB, free: 35.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=205): time 0.04235/11.88, allocations: 10.12 MB / 4.122 GB, free: 35.23 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.092e-05/11.88, allocations: 153.9 kB / 4.122 GB, free: 35.08 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/11.88, allocations: 1.211 MB / 4.123 GB, free: 34.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006041/11.88, allocations: 67.45 kB / 4.123 GB, free: 34.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005371/11.88, allocations: 0.7404 MB / 4.124 GB, free: 34.56 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009931/11.88, allocations: 0.673 MB / 4.125 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/11.88, allocations: 45.25 kB / 4.125 GB, free: 34.21 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001652/11.88, allocations: 393.9 kB / 4.125 GB, free: 33.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/11.89, allocations: 1.1 MB / 4.126 GB, free: 33.89 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003336/11.89, allocations: 1.517 MB / 4.128 GB, free: 33.45 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002964/11.89, allocations: 1.213 MB / 4.129 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/11.89, allocations: 0 / 4.129 GB, free: 33.43 MB / 0.4948 GB Notification: Performance of matching and sorting (n=272) (initialization): time 0.00944/11.9, allocations: 3.477 MB / 4.132 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.222e-05/11.9, allocations: 6.875 kB / 4.132 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/11.9, allocations: 13.38 kB / 4.132 GB, free: 33.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005958/11.91, allocations: 1.542 MB / 4.134 GB, free: 33.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00301/11.91, allocations: 468.3 kB / 4.134 GB, free: 33.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007183/11.92, allocations: 6.578 MB / 4.141 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/11.92, allocations: 221.3 kB / 4.141 GB, free: 28.47 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006779/11.92, allocations: 111.8 kB / 4.141 GB, free: 28.47 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.000767/11.92, allocations: 251.5 kB / 4.141 GB, free: 28.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007183/11.92, allocations: 201.3 kB / 4.141 GB, free: 28.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01703/11.94, allocations: 9.641 MB / 4.151 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001157/11.94, allocations: 104.5 kB / 4.151 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/11.94, allocations: 0 / 4.151 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.656e-05/11.94, allocations: 14.5 kB / 4.151 GB, free: 27.32 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02535/11.97, allocations: 13.14 MB / 4.164 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-05/11.97, allocations: 0 / 4.164 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/11.97, allocations: 399 kB / 4.164 GB, free: 26.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009445/11.98, allocations: 4.691 MB / 4.169 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005587/11.98, allocations: 62.88 kB / 4.169 GB, free: 26.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009648/11.99, allocations: 8.753 MB / 4.177 GB, free: 21.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.824e-06/11.99, allocations: 0 / 4.177 GB, free: 21.41 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01924/12.01, allocations: 10.24 MB / 4.187 GB, free: 20.66 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/12.01, allocations: 0.9131 MB / 4.188 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008632/12.01, allocations: 42.78 kB / 4.188 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003178/12.01, allocations: 243.3 kB / 4.189 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008921/12.02, allocations: 229.2 kB / 4.189 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004356/12.02, allocations: 86.95 kB / 4.189 GB, free: 20.27 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002496/12.02, allocations: 1.233 MB / 4.19 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.269e-06/12.02, allocations: 0 / 4.19 GB, free: 20.11 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008076/12.03, allocations: 1.915 MB / 4.192 GB, free: 20.04 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01108/12.04, allocations: 2.635 MB / 4.195 GB, free: 19.71 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009991/12.05, allocations: 3.867 MB / 4.198 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.923e-06/12.05, allocations: 3.25 kB / 4.198 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00706/12.06, allocations: 2.945 MB / 4.201 GB, free: 19.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006876/12.06, allocations: 1.047 MB / 4.202 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01429/12.08, allocations: 6.621 MB / 4.209 GB, free: 18.32 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002311/12.08, allocations: 2.188 MB / 4.211 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/12.08, allocations: 198 kB / 4.211 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of SimCode: time 2.009e-06/12.08, allocations: 5.094 kB / 4.211 GB, free: 17.57 MB / 0.4948 GB Notification: Performance of Templates: time 0.5608/12.64, allocations: 173.9 MB / 4.381 GB, free: 54.54 MB / 0.5105 GB