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.554/3.554, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.44e-05, allocations: 7.938 kB / 0.499 GB, free: 13.47 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.489, allocations: 92.68 MB / 0.5896 GB, free: 14.54 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9334/1.422, allocations: 422.2 MB / 1.002 GB, free: 4.586 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/1.423, allocations: 93.02 kB / 1.002 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.933/6.356, allocations: 1.062 GB / 2.064 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.401e-06/6.356, allocations: 0 / 2.064 GB, free: 111.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002897/6.356, allocations: 57.59 kB / 2.065 GB, free: 111.8 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.005259/6.361, allocations: 2.199 MB / 2.067 GB, free: 110.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/6.361, allocations: 9.375 kB / 2.067 GB, free: 110.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002205/6.364, allocations: 376.6 kB / 2.067 GB, free: 110.6 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/6.378, allocations: 4.65 MB / 2.072 GB, free: 110.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/6.378, allocations: 103.9 kB / 2.072 GB, free: 110.1 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003523/6.378, allocations: 135.4 kB / 2.072 GB, free: 110.1 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003192/6.382, allocations: 1.406 MB / 2.073 GB, free: 109.8 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.843e-05/6.382, allocations: 7.516 kB / 2.073 GB, free: 109.8 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/6.382, allocations: 60.02 kB / 2.073 GB, free: 109.8 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.747e-05/6.382, allocations: 37.16 kB / 2.073 GB, free: 109.8 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002614/6.385, allocations: 0.9299 MB / 2.074 GB, free: 109.8 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.01114/6.396, allocations: 7.603 MB / 2.082 GB, free: 105.3 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/6.398, allocations: 0.7278 MB / 2.082 GB, free: 105.3 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007243/6.398, allocations: 380.6 kB / 2.083 GB, free: 105.2 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004005/6.402, allocations: 1.946 MB / 2.085 GB, free: 104.2 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001162/6.404, allocations: 464.5 kB / 2.085 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009135/6.405, allocations: 97.12 kB / 2.085 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=73): time 4.505e-06/6.405, allocations: 0 / 2.085 GB, free: 104.1 MB / 0.7917 GB Notification: Performance of matching and sorting (n=78): time 0.006306/6.411, allocations: 2.176 MB / 2.087 GB, free: 103.4 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/6.411, allocations: 196.1 kB / 2.087 GB, free: 103.2 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002371/6.413, allocations: 1.291 MB / 2.089 GB, free: 103 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001958/6.414, allocations: 47.3 kB / 2.089 GB, free: 103 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008094/6.414, allocations: 0.9176 MB / 2.09 GB, free: 102.7 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/6.415, allocations: 275.8 kB / 2.09 GB, free: 102.5 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/6.415, allocations: 21.25 kB / 2.09 GB, free: 102.5 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 9.262e-05/6.415, allocations: 357.5 kB / 2.09 GB, free: 102.2 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007463/6.416, allocations: 323.4 kB / 2.091 GB, free: 102.2 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009153/6.417, allocations: 0.7157 MB / 2.091 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008726/6.417, allocations: 457.4 kB / 2.092 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.313e-06/6.418, allocations: 7.406 kB / 2.092 GB, free: 101.7 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002734/6.42, allocations: 1.213 MB / 2.093 GB, free: 101.5 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007859/6.421, allocations: 3.927 MB / 2.097 GB, free: 97.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.218e-05/6.421, allocations: 11.41 kB / 2.097 GB, free: 97.38 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001913/6.421, allocations: 49.12 kB / 2.097 GB, free: 97.37 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/6.423, allocations: 274.7 kB / 2.097 GB, free: 97.37 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001011/6.424, allocations: 1.368 MB / 2.098 GB, free: 96.11 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/6.426, allocations: 136.8 kB / 2.098 GB, free: 96.11 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002075/6.426, allocations: 51.95 kB / 2.099 GB, free: 96.11 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/6.426, allocations: 6.406 kB / 2.099 GB, free: 96.11 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002389/6.429, allocations: 1.024 MB / 2.1 GB, free: 96.05 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/6.429, allocations: 14.52 kB / 2.1 GB, free: 96.05 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001498/6.429, allocations: 44.36 kB / 2.1 GB, free: 96.04 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001424/6.43, allocations: 262.9 kB / 2.1 GB, free: 96.04 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/6.431, allocations: 1.36 MB / 2.101 GB, free: 94.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/6.434, allocations: 127.8 kB / 2.101 GB, free: 94.78 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002694/6.434, allocations: 60.27 kB / 2.101 GB, free: 94.78 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.0003845/6.434, allocations: 177.1 kB / 2.102 GB, free: 94.66 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/6.435, allocations: 170.1 kB / 2.102 GB, free: 94.57 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/6.438, allocations: 1.141 MB / 2.103 GB, free: 94.47 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/6.438, allocations: 7.531 kB / 2.103 GB, free: 94.47 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.039e-06/6.438, allocations: 0 / 2.103 GB, free: 94.47 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001776/6.44, allocations: 0.8181 MB / 2.104 GB, free: 94.37 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007022/6.447, allocations: 2.699 MB / 2.106 GB, free: 93.89 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/6.447, allocations: 3.344 kB / 2.106 GB, free: 93.89 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/6.448, allocations: 174.9 kB / 2.106 GB, free: 93.89 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000325/6.448, allocations: 81.73 kB / 2.107 GB, free: 93.87 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/6.449, allocations: 26.84 kB / 2.107 GB, free: 93.87 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/6.45, allocations: 1.906 MB / 2.108 GB, free: 92.1 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.356e-06/6.45, allocations: 2.75 kB / 2.108 GB, free: 92.1 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/6.454, allocations: 1.879 MB / 2.11 GB, free: 91.42 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/6.455, allocations: 373.5 kB / 2.111 GB, free: 91.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004516/6.455, allocations: 23.28 kB / 2.111 GB, free: 91.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001939/6.457, allocations: 126.2 kB / 2.111 GB, free: 91.22 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000204/6.457, allocations: 77.88 kB / 2.111 GB, free: 91.22 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/6.458, allocations: 38.91 kB / 2.111 GB, free: 91.22 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.00226/6.46, allocations: 1.068 MB / 2.112 GB, free: 91.06 MB / 0.7917 GB Notification: Performance of sort global known variables: time 9.13e-07/6.46, allocations: 0 / 2.112 GB, free: 91.06 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.004747/6.465, allocations: 0.9948 MB / 2.113 GB, free: 90.97 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.port_a.h_outflow,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.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 (88): * Single equations (assignments): 79 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002402/6.467, allocations: 1.187 MB / 2.114 GB, free: 90.63 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003748/6.471, allocations: 1.837 MB / 2.116 GB, free: 90.21 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 9.735e-06/6.471, allocations: 4.719 kB / 2.116 GB, free: 90.21 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001268/6.472, allocations: 0.5627 MB / 2.116 GB, free: 90.11 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/6.477, allocations: 0.8906 MB / 2.117 GB, free: 90.09 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006092/6.484, allocations: 2.574 MB / 2.12 GB, free: 89.3 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/6.485, allocations: 1.467 MB / 2.121 GB, free: 88.57 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.004116/6.489, allocations: 0.5815 MB / 2.122 GB, free: 88.54 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000498/6.489, allocations: 125.2 kB / 2.122 GB, free: 88.54 MB / 0.7917 GB Notification: Performance of SimCode: time 2.058e-06/6.489, allocations: 0 / 2.122 GB, free: 88.54 MB / 0.7917 GB Notification: Performance of Templates: time 0.09758/6.587, allocations: 45.77 MB / 2.167 GB, free: 74.52 MB / 0.7917 GB