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.54/3.54, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.6e-05, allocations: 7.984 kB / 0.499 GB, free: 13.45 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4822, allocations: 92.69 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9696/1.452, allocations: 428.3 MB / 1.008 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/1.452, allocations: 91.08 kB / 1.008 GB, free: 14.53 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.982/6.434, allocations: 1.094 GB / 2.101 GB, free: 112.1 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.019e-06/6.434, allocations: 0 / 2.101 GB, free: 112.1 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.000256/6.434, allocations: 50.31 kB / 2.102 GB, free: 112.1 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.004612/6.439, allocations: 2.102 MB / 2.104 GB, free: 111 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/6.439, allocations: 9.562 kB / 2.104 GB, free: 111 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003013/6.442, allocations: 462.7 kB / 2.104 GB, free: 110.9 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007398/6.449, allocations: 2.31 MB / 2.106 GB, free: 110.4 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/6.45, allocations: 97.59 kB / 2.106 GB, free: 110.4 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003074/6.45, allocations: 133.5 kB / 2.106 GB, free: 110.4 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003034/6.453, allocations: 1.299 MB / 2.108 GB, free: 110.1 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/6.453, allocations: 6 kB / 2.108 GB, free: 110.1 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/6.453, allocations: 47.78 kB / 2.108 GB, free: 110.1 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/6.453, allocations: 30.69 kB / 2.108 GB, free: 110.1 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/6.456, allocations: 0.8538 MB / 2.109 GB, free: 110.1 MB / 0.7917 GB 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.01029/6.466, allocations: 7.213 MB / 2.116 GB, free: 105.6 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/6.468, allocations: 1.154 MB / 2.117 GB, free: 105 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006354/6.469, allocations: 314.4 kB / 2.117 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004469/6.473, allocations: 2.437 MB / 2.12 GB, free: 102.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/6.474, allocations: 409.7 kB / 2.12 GB, free: 102.6 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008241/6.475, allocations: 93.73 kB / 2.12 GB, free: 102.5 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=62): time 4.082e-06/6.475, allocations: 2.344 kB / 2.12 GB, free: 102.5 MB / 0.7917 GB Notification: Performance of matching and sorting (n=62): time 0.002251/6.477, allocations: 0.7188 MB / 2.121 GB, free: 102.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/6.477, allocations: 192.3 kB / 2.121 GB, free: 102 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/6.48, allocations: 1.316 MB / 2.122 GB, free: 101.5 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/6.48, allocations: 42.3 kB / 2.122 GB, free: 101.5 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007675/6.481, allocations: 0.9078 MB / 2.123 GB, free: 100.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002107/6.481, allocations: 216.1 kB / 2.123 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.824e-05/6.481, allocations: 18.19 kB / 2.123 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.383e-05/6.481, allocations: 347 kB / 2.124 GB, free: 100.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006356/6.482, allocations: 281.3 kB / 2.124 GB, free: 100.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/6.483, allocations: 0.6746 MB / 2.125 GB, free: 99.55 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000833/6.483, allocations: 429.5 kB / 2.125 GB, free: 99.38 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.567e-06/6.483, allocations: 3.875 kB / 2.125 GB, free: 99.38 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00255/6.486, allocations: 1.101 MB / 2.126 GB, free: 98.95 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008457/6.487, allocations: 4.13 MB / 2.13 GB, free: 94.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/6.487, allocations: 15.17 kB / 2.13 GB, free: 94.54 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/6.487, allocations: 18.03 kB / 2.13 GB, free: 94.54 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/6.489, allocations: 261 kB / 2.13 GB, free: 94.54 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003577/6.489, allocations: 0.6224 MB / 2.131 GB, free: 93.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/6.491, allocations: 123.7 kB / 2.131 GB, free: 93.92 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/6.491, allocations: 55.56 kB / 2.131 GB, free: 93.91 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/6.491, allocations: 7.156 kB / 2.131 GB, free: 93.91 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002103/6.493, allocations: 0.9251 MB / 2.132 GB, free: 93.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.079e-05/6.494, allocations: 14.39 kB / 2.132 GB, free: 93.59 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/6.494, allocations: 15.12 kB / 2.132 GB, free: 93.59 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/6.495, allocations: 255.4 kB / 2.132 GB, free: 93.58 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003279/6.495, allocations: 0.617 MB / 2.133 GB, free: 92.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/6.497, allocations: 126.2 kB / 2.133 GB, free: 92.96 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/6.498, allocations: 50.95 kB / 2.133 GB, free: 92.95 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" 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 (122): * Single equations (assignments): 116 * 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.0003896/6.498, allocations: 174.8 kB / 2.133 GB, free: 92.8 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003986/6.498, allocations: 165.9 kB / 2.133 GB, free: 92.71 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/6.501, allocations: 0.9954 MB / 2.134 GB, free: 92.33 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.928e-05/6.501, allocations: 7.281 kB / 2.134 GB, free: 92.33 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.327e-06/6.501, allocations: 1 kB / 2.134 GB, free: 92.33 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001535/6.503, allocations: 0.8221 MB / 2.135 GB, free: 91.85 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004665/6.507, allocations: 2.119 MB / 2.137 GB, free: 90.87 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.079e-06/6.507, allocations: 0 / 2.137 GB, free: 90.87 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/6.508, allocations: 144 kB / 2.137 GB, free: 90.86 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002182/6.509, allocations: 58.84 kB / 2.137 GB, free: 90.83 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-05/6.509, allocations: 18.12 kB / 2.137 GB, free: 90.82 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001148/6.51, allocations: 1.86 MB / 2.139 GB, free: 88.96 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.587e-06/6.51, allocations: 0 / 2.139 GB, free: 88.96 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/6.513, allocations: 1.31 MB / 2.141 GB, free: 88.33 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009151/6.514, allocations: 327 kB / 2.141 GB, free: 88.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/6.514, allocations: 19.48 kB / 2.141 GB, free: 88.08 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001469/6.515, allocations: 109.3 kB / 2.141 GB, free: 88.07 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/6.516, allocations: 53.44 kB / 2.141 GB, free: 88.06 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.837e-05/6.516, allocations: 30.11 kB / 2.141 GB, free: 88.05 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001908/6.518, allocations: 1.007 MB / 2.142 GB, free: 87.66 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.016e-06/6.518, allocations: 0 / 2.142 GB, free: 87.66 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004067/6.522, allocations: 1.021 MB / 2.143 GB, free: 87.39 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 (71): * Single equations (assignments): 62 * 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.002715/6.525, allocations: 1.224 MB / 2.144 GB, free: 87.01 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003321/6.528, allocations: 1.561 MB / 2.146 GB, free: 86.26 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/6.528, allocations: 1.906 kB / 2.146 GB, free: 86.26 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.000937/6.529, allocations: 474.2 kB / 2.146 GB, free: 86.02 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/6.532, allocations: 0.6588 MB / 2.147 GB, free: 85.89 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005106/6.537, allocations: 2.381 MB / 2.149 GB, free: 84.96 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/6.538, allocations: 1.411 MB / 2.151 GB, free: 84.21 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003356/6.542, allocations: 0.5731 MB / 2.151 GB, free: 84.12 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003425/6.542, allocations: 110.2 kB / 2.151 GB, free: 84.11 MB / 0.7917 GB Notification: Performance of SimCode: time 1.778e-06/6.542, allocations: 4 kB / 2.151 GB, free: 84.1 MB / 0.7917 GB Notification: Performance of Templates: time 0.08224/6.624, allocations: 38.94 MB / 2.189 GB, free: 54.18 MB / 0.7917 GB