Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadModel(Buildings): time 3.528/3.528, allocations: 402 MB / 415.9 MB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.932e-05, allocations: 11.92 kB / 0.5003 GB, free: 8.242 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1657, allocations: 92.69 MB / 0.5908 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.377/1.543, allocations: 428.3 MB / 1.009 GB, free: 143 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/1.543, allocations: 101.8 kB / 1.009 GB, free: 142.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.972/6.515, allocations: 1.1 GB / 2.109 GB, free: 118.2 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.448e-06/6.515, allocations: 0 / 2.109 GB, free: 118.2 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002731/6.516, allocations: 52.02 kB / 2.109 GB, free: 118.2 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 290 * Number of variables: 290 Notification: Performance of Generate backend data structure: time 0.004965/6.521, allocations: 2.119 MB / 2.111 GB, free: 117.4 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/6.521, allocations: 13.56 kB / 2.111 GB, free: 117.4 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003073/6.524, allocations: 463.2 kB / 2.112 GB, free: 117.3 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007542/6.531, allocations: 2.331 MB / 2.114 GB, free: 116.9 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/6.532, allocations: 95.28 kB / 2.114 GB, free: 116.9 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/6.532, allocations: 126.9 kB / 2.114 GB, free: 116.9 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/6.535, allocations: 1.384 MB / 2.116 GB, free: 116.6 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.569e-05/6.535, allocations: 3.469 kB / 2.116 GB, free: 116.6 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001681/6.536, allocations: 54.88 kB / 2.116 GB, free: 116.6 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-05/6.536, allocations: 35.03 kB / 2.116 GB, free: 116.6 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003472/6.539, allocations: 1.008 MB / 2.117 GB, free: 116.5 MB / 0.7917 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01055/6.55, allocations: 7.218 MB / 2.124 GB, free: 112.1 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/6.553, allocations: 1.295 MB / 2.125 GB, free: 111.6 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004581/6.557, allocations: 2.419 MB / 2.127 GB, free: 109.9 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/6.559, allocations: 464.4 kB / 2.128 GB, free: 109.8 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009225/6.56, allocations: 93.38 kB / 2.128 GB, free: 109.8 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=63): time 4.084e-06/6.56, allocations: 1.375 kB / 2.128 GB, free: 109.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=63): time 0.00439/6.564, allocations: 1.182 MB / 2.129 GB, free: 109.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/6.564, allocations: 193.3 kB / 2.129 GB, free: 109.3 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/6.567, allocations: 1.333 MB / 2.131 GB, free: 109.1 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001853/6.567, allocations: 45.55 kB / 2.131 GB, free: 109.1 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008493/6.568, allocations: 0.8953 MB / 2.131 GB, free: 108.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/6.568, allocations: 225.7 kB / 2.132 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.889e-05/6.568, allocations: 20.53 kB / 2.132 GB, free: 108.7 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.044e-05/6.568, allocations: 347.2 kB / 2.132 GB, free: 108.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001137/6.569, allocations: 346.5 kB / 2.132 GB, free: 108.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/6.571, allocations: 0.7446 MB / 2.133 GB, free: 107.9 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/6.572, allocations: 488.2 kB / 2.134 GB, free: 107.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/6.572, allocations: 6.375 kB / 2.134 GB, free: 107.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.003563/6.576, allocations: 1.257 MB / 2.135 GB, free: 107.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008432/6.576, allocations: 4.122 MB / 2.139 GB, free: 103.3 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.438e-05/6.577, allocations: 10.47 kB / 2.139 GB, free: 103.3 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.409e-05/6.577, allocations: 29.14 kB / 2.139 GB, free: 103.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/6.578, allocations: 267.5 kB / 2.139 GB, free: 103.3 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003499/6.579, allocations: 0.6112 MB / 2.14 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/6.58, allocations: 131.2 kB / 2.14 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/6.581, allocations: 53.92 kB / 2.14 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/6.581, allocations: 3.156 kB / 2.14 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00277/6.583, allocations: 1.045 MB / 2.141 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/6.583, allocations: 15.75 kB / 2.141 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/6.583, allocations: 21.28 kB / 2.141 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/6.585, allocations: 248.8 kB / 2.141 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003233/6.585, allocations: 0.6224 MB / 2.142 GB, free: 102 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/6.587, allocations: 116.8 kB / 2.142 GB, free: 102 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/6.587, allocations: 57.92 kB / 2.142 GB, free: 102 MB / 0.7917 GB Warning: Assuming fixed start value for the following 1 variables: vol.dynBal.m:VARIABLE(min = max(0.0, 0.0) start = 0.09720000000000001 * vol.rho_start unit = "kg" fixed = true stateSelect=StateSelect.prefer protected = true ) "Mass of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00129/6.589, allocations: 416.7 kB / 2.142 GB, free: 101.9 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004242/6.589, allocations: 168 kB / 2.143 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00338/6.592, allocations: 1.1 MB / 2.144 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.868e-05/6.592, allocations: 17.05 kB / 2.144 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.731e-06/6.592, allocations: 5.125 kB / 2.144 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002392/6.595, allocations: 0.9435 MB / 2.145 GB, free: 101.4 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005446/6.6, allocations: 2.243 MB / 2.147 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.478e-06/6.6, allocations: 3.719 kB / 2.147 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/6.601, allocations: 143.3 kB / 2.147 GB, free: 101.1 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/6.602, allocations: 46.69 kB / 2.147 GB, free: 101 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.25e-05/6.602, allocations: 21.64 kB / 2.147 GB, free: 101 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001202/6.603, allocations: 1.868 MB / 2.149 GB, free: 99.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.845e-06/6.603, allocations: 0 / 2.149 GB, free: 99.27 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004191/6.607, allocations: 1.49 MB / 2.15 GB, free: 99 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009539/6.608, allocations: 324.1 kB / 2.151 GB, free: 98.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003252/6.609, allocations: 17.98 kB / 2.151 GB, free: 98.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/6.61, allocations: 104.8 kB / 2.151 GB, free: 98.8 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/6.61, allocations: 53.48 kB / 2.151 GB, free: 98.8 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.95e-05/6.61, allocations: 32.41 kB / 2.151 GB, free: 98.8 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0019/6.612, allocations: 1.022 MB / 2.152 GB, free: 98.7 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.055e-06/6.612, allocations: 0 / 2.152 GB, free: 98.7 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00427/6.617, allocations: 1.034 MB / 2.153 GB, free: 98.52 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (vol.dynBal.U,vol.dynBal.m,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.002776/6.619, allocations: 1.207 MB / 2.154 GB, free: 98.21 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004399/6.624, allocations: 1.763 MB / 2.156 GB, free: 97.88 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.174e-06/6.624, allocations: 3.344 kB / 2.156 GB, free: 97.88 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/6.625, allocations: 0.5265 MB / 2.156 GB, free: 97.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003857/6.629, allocations: 0.6587 MB / 2.157 GB, free: 97.76 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007043/6.636, allocations: 3.807 MB / 2.161 GB, free: 96.11 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/6.637, allocations: 1.414 MB / 2.162 GB, free: 95.39 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003732/6.641, allocations: 0.581 MB / 2.162 GB, free: 95.37 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/6.641, allocations: 102.9 kB / 2.163 GB, free: 95.36 MB / 0.7917 GB Notification: Performance of SimCode: time 1.648e-06/6.641, allocations: 0 / 2.163 GB, free: 95.36 MB / 0.7917 GB Notification: Performance of Templates: time 0.08642/6.728, allocations: 39.01 MB / 2.201 GB, free: 93.35 MB / 0.7917 GB