Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.309e-05/3.323e-05, allocations: 3.984 kB / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1014, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.338/7.44, allocations: 2.761 GB / 3.096 GB, free: 45.27 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/7.44, allocations: 84.33 kB / 3.096 GB, free: 45.23 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.55/11.99, allocations: 0.9762 GB / 4.072 GB, free: 28.5 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.333e-06/11.99, allocations: 0 / 4.072 GB, free: 28.5 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001926/11.99, allocations: 65.64 kB / 4.072 GB, free: 28.49 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.01197/12, allocations: 3.385 MB / 4.075 GB, free: 26.94 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/12, allocations: 10.44 kB / 4.075 GB, free: 26.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01772/12.02, allocations: 1.228 MB / 4.077 GB, free: 26.83 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004734/12.02, allocations: 1.532 MB / 4.078 GB, free: 26.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004108/12.03, allocations: 346.1 kB / 4.079 GB, free: 26.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008158/12.03, allocations: 185.2 kB / 4.079 GB, free: 26.25 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01158/12.04, allocations: 3.455 MB / 4.082 GB, free: 25.83 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.409e-05/12.04, allocations: 10.91 kB / 4.082 GB, free: 25.83 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004533/12.04, allocations: 91.7 kB / 4.082 GB, free: 25.83 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/12.04, allocations: 96.39 kB / 4.082 GB, free: 25.82 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01105/12.05, allocations: 3.276 MB / 4.085 GB, free: 25.82 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.02829/12.08, allocations: 14.42 MB / 4.1 GB, free: 18.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008446/12.09, allocations: 2.663 MB / 4.102 GB, free: 18.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/12.09, allocations: 1.277 MB / 4.103 GB, free: 18.64 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01884/12.11, allocations: 8.266 MB / 4.111 GB, free: 13.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.298e-05/12.11, allocations: 65.84 kB / 4.112 GB, free: 13.61 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004037/12.11, allocations: 0.5716 MB / 4.112 GB, free: 13.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=175): time 8.371e-06/12.11, allocations: 0 / 4.112 GB, free: 13.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=205): time 0.04289/12.16, allocations: 10.13 MB / 4.122 GB, free: 12.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.048e-05/12.16, allocations: 152.5 kB / 4.122 GB, free: 12.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003631/12.16, allocations: 1.209 MB / 4.123 GB, free: 12.35 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006664/12.16, allocations: 65.42 kB / 4.123 GB, free: 12.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009093/12.16, allocations: 0.7817 MB / 4.124 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001196/12.16, allocations: 0.6774 MB / 4.125 GB, free: 11.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000394/12.16, allocations: 45.28 kB / 4.125 GB, free: 11.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002243/12.16, allocations: 386.6 kB / 4.125 GB, free: 11.26 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004465/12.17, allocations: 1.108 MB / 4.126 GB, free: 11.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004752/12.17, allocations: 1.516 MB / 4.128 GB, free: 10.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004656/12.18, allocations: 1.211 MB / 4.129 GB, free: 10.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.877e-05/12.18, allocations: 3.938 kB / 4.129 GB, free: 10.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01488/12.19, allocations: 3.574 MB / 4.132 GB, free: 10.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.665e-05/12.19, allocations: 9.406 kB / 4.132 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.753e-05/12.19, allocations: 13.12 kB / 4.132 GB, free: 10.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009989/12.2, allocations: 1.528 MB / 4.134 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0046/12.21, allocations: 468.5 kB / 4.134 GB, free: 10.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01569/12.22, allocations: 6.587 MB / 4.141 GB, free: 21.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003628/12.23, allocations: 213.2 kB / 4.141 GB, free: 21.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005563/12.23, allocations: 117.4 kB / 4.141 GB, free: 21.76 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.0007632/12.23, allocations: 245.5 kB / 4.141 GB, free: 21.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006413/12.23, allocations: 204.1 kB / 4.142 GB, free: 21.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01631/12.24, allocations: 9.639 MB / 4.151 GB, free: 20.56 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001004/12.24, allocations: 105.2 kB / 4.151 GB, free: 20.56 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.237e-05/12.24, allocations: 5.172 kB / 4.151 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.861e-05/12.24, allocations: 14.11 kB / 4.151 GB, free: 20.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02283/12.27, allocations: 13.13 MB / 4.164 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/12.27, allocations: 0 / 4.164 GB, free: 17.43 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002558/12.27, allocations: 399.5 kB / 4.164 GB, free: 17.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008941/12.28, allocations: 4.709 MB / 4.169 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004891/12.28, allocations: 60.86 kB / 4.169 GB, free: 16.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01051/12.29, allocations: 8.744 MB / 4.177 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.439e-06/12.29, allocations: 3.562 kB / 4.177 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01937/12.31, allocations: 10.24 MB / 4.187 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003475/12.31, allocations: 0.9055 MB / 4.188 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/12.31, allocations: 48.69 kB / 4.188 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005218/12.32, allocations: 236 kB / 4.189 GB, free: 3.562 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00125/12.32, allocations: 224.4 kB / 4.189 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005707/12.32, allocations: 88.7 kB / 4.189 GB, free: 3.363 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004241/12.33, allocations: 1.233 MB / 4.19 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.07e-06/12.33, allocations: 0 / 4.19 GB, free: 2.223 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008513/12.33, allocations: 1.919 MB / 4.192 GB, free: 352 kB / 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.01142/12.35, allocations: 2.636 MB / 4.195 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01054/12.36, allocations: 3.868 MB / 4.198 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.525e-06/12.36, allocations: 4.625 kB / 4.198 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007843/12.36, allocations: 2.964 MB / 4.201 GB, free: 8.215 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006619/12.37, allocations: 1.05 MB / 4.202 GB, free: 7.453 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01517/12.39, allocations: 6.548 MB / 4.209 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3508/12.74, allocations: 2.258 MB / 4.211 GB, free: 54.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005278/12.74, allocations: 1.749 MB / 4.213 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009422/12.74, allocations: 185.8 kB / 4.213 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.71e-06/12.74, allocations: 1.125 kB / 4.213 GB, free: 54.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.1817/12.92, allocations: 95 MB / 4.306 GB, free: 49.74 MB / 0.5105 GB