Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadModel(Buildings): time 3.503/3.503, allocations: 402 MB / 415.9 MB, free: 10.12 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.245e-05/3.26e-05, allocations: 7.984 kB / 0.5003 GB, free: 8.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1672/0.1672, allocations: 92.68 MB / 0.5908 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.369/1.537, allocations: 422.3 MB / 1.003 GB, free: 148.9 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.537, allocations: 98.83 kB / 1.003 GB, free: 148.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.813/6.349, allocations: 1.069 GB / 2.072 GB, free: 110.4 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.682e-06/6.35, allocations: 1.125 kB / 2.072 GB, free: 110.4 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0003177/6.35, allocations: 52.41 kB / 2.072 GB, free: 110.4 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: 319 * Number of variables: 319 Notification: Performance of Generate backend data structure: time 0.006305/6.356, allocations: 2.195 MB / 2.074 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/6.356, allocations: 9.719 kB / 2.074 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002483/6.359, allocations: 376.2 kB / 2.075 GB, free: 109.6 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.016/6.375, allocations: 4.718 MB / 2.079 GB, free: 109.2 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/6.375, allocations: 109.4 kB / 2.079 GB, free: 109.2 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003773/6.375, allocations: 140.4 kB / 2.079 GB, free: 109.2 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003925/6.379, allocations: 1.489 MB / 2.081 GB, free: 108.9 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.105e-05/6.379, allocations: 4.688 kB / 2.081 GB, free: 108.9 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001949/6.38, allocations: 58.86 kB / 2.081 GB, free: 108.9 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-05/6.38, allocations: 36.88 kB / 2.081 GB, free: 108.9 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003538/6.383, allocations: 1.079 MB / 2.082 GB, free: 108.9 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.01187/6.395, allocations: 7.592 MB / 2.09 GB, free: 104.5 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00263/6.398, allocations: 0.8523 MB / 2.09 GB, free: 104.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00416/6.402, allocations: 1.949 MB / 2.092 GB, free: 103.4 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/6.404, allocations: 0.5047 MB / 2.093 GB, free: 103.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001082/6.405, allocations: 95.48 kB / 2.093 GB, free: 103.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=73): time 4.437e-06/6.405, allocations: 0 / 2.093 GB, free: 103.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=78): time 0.009999/6.415, allocations: 2.916 MB / 2.096 GB, free: 102.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/6.415, allocations: 192.6 kB / 2.096 GB, free: 102.2 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002841/6.418, allocations: 1.315 MB / 2.097 GB, free: 102.1 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0002357/6.418, allocations: 46.73 kB / 2.097 GB, free: 102 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008753/6.419, allocations: 0.9134 MB / 2.098 GB, free: 101.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002952/6.419, allocations: 280.1 kB / 2.098 GB, free: 101.6 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/6.419, allocations: 19.12 kB / 2.098 GB, free: 101.6 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/6.419, allocations: 350.2 kB / 2.099 GB, free: 101.3 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/6.42, allocations: 384.1 kB / 2.099 GB, free: 101.3 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001365/6.422, allocations: 0.7826 MB / 2.1 GB, free: 100.8 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00133/6.423, allocations: 0.5012 MB / 2.1 GB, free: 100.8 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/6.423, allocations: 6.156 kB / 2.1 GB, free: 100.8 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004034/6.427, allocations: 1.359 MB / 2.102 GB, free: 100.6 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008341/6.428, allocations: 3.923 MB / 2.105 GB, free: 96.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/6.428, allocations: 13.44 kB / 2.105 GB, free: 96.48 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002071/6.428, allocations: 48.58 kB / 2.106 GB, free: 96.47 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/6.43, allocations: 274 kB / 2.106 GB, free: 96.47 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/6.431, allocations: 1.374 MB / 2.107 GB, free: 95.21 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/6.433, allocations: 131.6 kB / 2.107 GB, free: 95.21 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001878/6.434, allocations: 58.38 kB / 2.107 GB, free: 95.21 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/6.434, allocations: 4.062 kB / 2.107 GB, free: 95.21 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002994/6.437, allocations: 1.144 MB / 2.108 GB, free: 95.14 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.358e-05/6.437, allocations: 16.25 kB / 2.108 GB, free: 95.14 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/6.437, allocations: 45.92 kB / 2.109 GB, free: 95.13 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/6.438, allocations: 259 kB / 2.109 GB, free: 95.13 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/6.439, allocations: 1.365 MB / 2.11 GB, free: 93.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/6.441, allocations: 119.7 kB / 2.11 GB, free: 93.88 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/6.441, allocations: 58.58 kB / 2.11 GB, free: 93.88 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (133): * Single equations (assignments): 128 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001283/6.443, allocations: 436.4 kB / 2.111 GB, free: 93.76 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/6.443, allocations: 170.6 kB / 2.111 GB, free: 93.67 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003469/6.447, allocations: 1.269 MB / 2.112 GB, free: 93.55 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/6.447, allocations: 7.375 kB / 2.112 GB, free: 93.55 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.772e-06/6.447, allocations: 7.328 kB / 2.112 GB, free: 93.55 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002348/6.449, allocations: 0.9565 MB / 2.113 GB, free: 93.44 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007453/6.457, allocations: 2.858 MB / 2.116 GB, free: 92.94 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/6.457, allocations: 6.625 kB / 2.116 GB, free: 92.94 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/6.458, allocations: 164 kB / 2.116 GB, free: 92.94 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003718/6.458, allocations: 117.7 kB / 2.116 GB, free: 92.91 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.838e-05/6.458, allocations: 36.45 kB / 2.116 GB, free: 92.91 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001552/6.46, allocations: 2.484 MB / 2.119 GB, free: 90.62 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.899e-06/6.46, allocations: 7.844 kB / 2.119 GB, free: 90.62 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004779/6.465, allocations: 2.073 MB / 2.121 GB, free: 89.93 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/6.466, allocations: 371.6 kB / 2.121 GB, free: 89.74 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004627/6.466, allocations: 25.41 kB / 2.121 GB, free: 89.74 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001628/6.468, allocations: 133.9 kB / 2.121 GB, free: 89.73 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/6.468, allocations: 72.41 kB / 2.121 GB, free: 89.73 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/6.468, allocations: 39.84 kB / 2.121 GB, free: 89.73 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002068/6.47, allocations: 1.084 MB / 2.122 GB, free: 89.58 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.911e-06/6.47, allocations: 0 / 2.122 GB, free: 89.58 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.00477/6.475, allocations: 1.002 MB / 2.123 GB, free: 89.5 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * 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 (85): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * 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: 2 {1 3,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002396/6.478, allocations: 1.163 MB / 2.124 GB, free: 89.2 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004785/6.482, allocations: 2.048 MB / 2.126 GB, free: 88.77 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/6.482, allocations: 5.469 kB / 2.126 GB, free: 88.77 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001715/6.484, allocations: 0.6524 MB / 2.127 GB, free: 88.64 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005168/6.489, allocations: 0.8877 MB / 2.128 GB, free: 88.63 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007531/6.497, allocations: 4.035 MB / 2.132 GB, free: 86.82 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/6.498, allocations: 1.468 MB / 2.133 GB, free: 86.08 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.003803/6.502, allocations: 0.5767 MB / 2.134 GB, free: 86.06 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004665/6.502, allocations: 121.2 kB / 2.134 GB, free: 86.05 MB / 0.7917 GB Notification: Performance of SimCode: time 1.791e-06/6.502, allocations: 0 / 2.134 GB, free: 86.05 MB / 0.7917 GB Notification: Performance of Templates: time 0.09491/6.597, allocations: 45.96 MB / 2.179 GB, free: 84.04 MB / 0.7917 GB