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.521/3.521, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.859e-05/3.87e-05, allocations: 11.94 kB / 0.499 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4849, allocations: 92.67 MB / 0.5895 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9559/1.441, allocations: 428.3 MB / 1.008 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/1.441, allocations: 93.33 kB / 1.008 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.03/6.472, allocations: 1.094 GB / 2.101 GB, free: 112 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.474e-06/6.472, allocations: 0 / 2.101 GB, free: 112 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002655/6.472, allocations: 58.53 kB / 2.101 GB, free: 111.9 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.004566/6.476, allocations: 2.105 MB / 2.104 GB, free: 110.8 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/6.476, allocations: 8.875 kB / 2.104 GB, free: 110.8 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002947/6.479, allocations: 458 kB / 2.104 GB, free: 110.7 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007478/6.487, allocations: 2.323 MB / 2.106 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.873e-05/6.487, allocations: 89.72 kB / 2.106 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002496/6.487, allocations: 131.2 kB / 2.106 GB, free: 110.2 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/6.49, allocations: 1.309 MB / 2.108 GB, free: 109.9 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.191e-05/6.49, allocations: 8.438 kB / 2.108 GB, free: 109.9 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/6.49, allocations: 47.88 kB / 2.108 GB, free: 109.9 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/6.49, allocations: 36.84 kB / 2.108 GB, free: 109.9 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002262/6.493, allocations: 0.874 MB / 2.109 GB, free: 109.9 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.01026/6.503, allocations: 7.221 MB / 2.116 GB, free: 105.4 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/6.505, allocations: 1.165 MB / 2.117 GB, free: 104.7 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/6.506, allocations: 300.5 kB / 2.117 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004334/6.51, allocations: 2.449 MB / 2.12 GB, free: 102.5 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001005/6.511, allocations: 404.2 kB / 2.12 GB, free: 102.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008002/6.512, allocations: 94.41 kB / 2.12 GB, free: 102.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=62): time 3.883e-06/6.512, allocations: 1.656 kB / 2.12 GB, free: 102.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=62): time 0.002162/6.514, allocations: 0.7161 MB / 2.121 GB, free: 102 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/6.514, allocations: 197.8 kB / 2.121 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002375/6.516, allocations: 1.32 MB / 2.122 GB, free: 101.2 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001735/6.517, allocations: 41.33 kB / 2.122 GB, free: 101.2 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007721/6.517, allocations: 0.8994 MB / 2.123 GB, free: 100.5 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/6.518, allocations: 223.3 kB / 2.123 GB, free: 100.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.834e-05/6.518, allocations: 19.91 kB / 2.123 GB, free: 100.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 8.772e-05/6.518, allocations: 348.4 kB / 2.124 GB, free: 99.97 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006386/6.519, allocations: 279.9 kB / 2.124 GB, free: 99.88 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008442/6.519, allocations: 0.6832 MB / 2.125 GB, free: 99.26 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008215/6.52, allocations: 428.2 kB / 2.125 GB, free: 99.08 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/6.52, allocations: 3.812 kB / 2.125 GB, free: 99.08 MB / 0.7917 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.00252/6.523, allocations: 1.132 MB / 2.126 GB, free: 98.64 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008539/6.524, allocations: 4.125 MB / 2.13 GB, free: 94.24 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/6.524, allocations: 10.44 kB / 2.13 GB, free: 94.24 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.272e-05/6.524, allocations: 18.69 kB / 2.13 GB, free: 94.24 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/6.525, allocations: 263 kB / 2.13 GB, free: 94.23 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003559/6.526, allocations: 0.6207 MB / 2.131 GB, free: 93.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001873/6.528, allocations: 126.9 kB / 2.131 GB, free: 93.61 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/6.528, allocations: 57.22 kB / 2.131 GB, free: 93.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/6.528, allocations: 4.906 kB / 2.131 GB, free: 93.6 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002044/6.53, allocations: 0.9605 MB / 2.132 GB, free: 93.27 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/6.53, allocations: 10.53 kB / 2.132 GB, free: 93.27 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/6.53, allocations: 17.38 kB / 2.132 GB, free: 93.27 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/6.531, allocations: 252.1 kB / 2.132 GB, free: 93.27 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003111/6.532, allocations: 0.6188 MB / 2.133 GB, free: 92.67 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/6.533, allocations: 122 kB / 2.133 GB, free: 92.64 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/6.534, allocations: 52.19 kB / 2.133 GB, free: 92.64 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.0003677/6.534, allocations: 178.3 kB / 2.133 GB, free: 92.48 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/6.534, allocations: 167.2 kB / 2.134 GB, free: 92.4 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/6.537, allocations: 0.9937 MB / 2.134 GB, free: 92.02 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/6.537, allocations: 10.91 kB / 2.134 GB, free: 92.01 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.777e-06/6.537, allocations: 0 / 2.134 GB, free: 92.01 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001373/6.538, allocations: 0.8248 MB / 2.135 GB, free: 91.53 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004461/6.543, allocations: 2.114 MB / 2.137 GB, free: 90.55 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.085e-06/6.543, allocations: 1.062 kB / 2.137 GB, free: 90.55 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009711/6.544, allocations: 142.7 kB / 2.138 GB, free: 90.55 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002159/6.544, allocations: 57.83 kB / 2.138 GB, free: 90.52 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/6.544, allocations: 18.67 kB / 2.138 GB, free: 90.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/6.545, allocations: 1.857 MB / 2.139 GB, free: 88.65 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.137e-06/6.545, allocations: 0.9688 kB / 2.139 GB, free: 88.65 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/6.548, allocations: 1.319 MB / 2.141 GB, free: 88.02 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008546/6.549, allocations: 323.8 kB / 2.141 GB, free: 87.78 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002846/6.549, allocations: 15.84 kB / 2.141 GB, free: 87.77 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/6.55, allocations: 107.1 kB / 2.141 GB, free: 87.76 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/6.551, allocations: 60.62 kB / 2.141 GB, free: 87.75 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-05/6.551, allocations: 24.8 kB / 2.141 GB, free: 87.75 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001832/6.552, allocations: 1.004 MB / 2.142 GB, free: 87.35 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.44e-07/6.553, allocations: 0 / 2.142 GB, free: 87.35 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003861/6.556, allocations: 1.027 MB / 2.143 GB, free: 87.08 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.002771/6.559, allocations: 1.205 MB / 2.144 GB, free: 86.73 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003358/6.563, allocations: 1.598 MB / 2.146 GB, free: 85.95 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 6.244e-06/6.563, allocations: 3.594 kB / 2.146 GB, free: 85.95 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0009687/6.564, allocations: 477.5 kB / 2.146 GB, free: 85.72 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/6.567, allocations: 0.6617 MB / 2.147 GB, free: 85.58 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005392/6.573, allocations: 2.387 MB / 2.149 GB, free: 84.65 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/6.574, allocations: 1.413 MB / 2.151 GB, free: 83.87 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003514/6.577, allocations: 0.5683 MB / 2.151 GB, free: 83.79 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003697/6.578, allocations: 113.3 kB / 2.151 GB, free: 83.77 MB / 0.7917 GB Notification: Performance of SimCode: time 1.743e-06/6.578, allocations: 0 / 2.151 GB, free: 83.77 MB / 0.7917 GB Notification: Performance of Templates: time 0.07993/6.658, allocations: 38.97 MB / 2.189 GB, free: 54.01 MB / 0.7917 GB