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.652/3.652, allocations: 403.9 MB / 411 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.718e-05, allocations: 4 kB / 0.4942 GB, free: 1.41 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4726, allocations: 92.7 MB / 0.5847 GB, free: 2.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9403/1.413, allocations: 427.6 MB / 1.002 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.413, allocations: 96.12 kB / 1.002 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.102/6.515, allocations: 1.088 GB / 2.09 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.941e-06/6.515, allocations: 0 / 2.09 GB, free: 103.8 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002284/6.515, allocations: 53.02 kB / 2.09 GB, free: 103.8 MB / 0.7761 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.004398/6.52, allocations: 2.104 MB / 2.092 GB, free: 102.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/6.52, allocations: 9.344 kB / 2.092 GB, free: 102.7 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002671/6.522, allocations: 465.2 kB / 2.093 GB, free: 102.6 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007274/6.53, allocations: 2.313 MB / 2.095 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.884e-05/6.53, allocations: 41.09 kB / 2.095 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003389/6.53, allocations: 72.94 kB / 2.095 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002254/6.532, allocations: 0.7987 MB / 2.096 GB, free: 102.1 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002449/6.535, allocations: 1.132 MB / 2.097 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/6.535, allocations: 13.58 kB / 2.097 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001442/6.535, allocations: 7.516 kB / 2.097 GB, free: 101.8 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/6.535, allocations: 28.66 kB / 2.097 GB, free: 101.8 MB / 0.7761 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.01025/6.545, allocations: 7.012 MB / 2.104 GB, free: 97.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/6.547, allocations: 1.148 MB / 2.105 GB, free: 96.8 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006043/6.548, allocations: 293 kB / 2.105 GB, free: 96.79 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004474/6.552, allocations: 2.423 MB / 2.108 GB, free: 95.05 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006841/6.553, allocations: 372.1 kB / 2.108 GB, free: 94.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000848/6.554, allocations: 76.73 kB / 2.108 GB, free: 94.95 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=62): time 5.34e-06/6.554, allocations: 2.25 kB / 2.108 GB, free: 94.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=63): time 0.01997/6.574, allocations: 3.516 MB / 2.112 GB, free: 94.34 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/6.574, allocations: 184.4 kB / 2.112 GB, free: 94.12 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/6.576, allocations: 1.222 MB / 2.113 GB, free: 93.94 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/6.576, allocations: 29.42 kB / 2.113 GB, free: 93.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007667/6.577, allocations: 0.8819 MB / 2.114 GB, free: 93.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/6.577, allocations: 213.3 kB / 2.114 GB, free: 93.46 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.237e-05/6.577, allocations: 0 / 2.114 GB, free: 93.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/6.577, allocations: 341.8 kB / 2.114 GB, free: 93.15 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005579/6.578, allocations: 276.3 kB / 2.115 GB, free: 93.15 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000786/6.579, allocations: 0.6702 MB / 2.115 GB, free: 92.66 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006045/6.585, allocations: 0.98 MB / 2.116 GB, free: 92.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.979e-05/6.585, allocations: 6.422 kB / 2.116 GB, free: 92.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.008086/6.593, allocations: 1.638 MB / 2.118 GB, free: 92.33 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008255/6.594, allocations: 4.114 MB / 2.122 GB, free: 87.93 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/6.594, allocations: 18.08 kB / 2.122 GB, free: 87.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.606e-05/6.594, allocations: 17.47 kB / 2.122 GB, free: 87.93 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/6.595, allocations: 248.8 kB / 2.122 GB, free: 87.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-05/6.595, allocations: 23.69 kB / 2.122 GB, free: 87.92 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/6.597, allocations: 105.6 kB / 2.122 GB, free: 87.91 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/6.597, allocations: 55.08 kB / 2.122 GB, free: 87.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/6.597, allocations: 5.406 kB / 2.122 GB, free: 87.9 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00731/6.605, allocations: 1.406 MB / 2.124 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.229e-05/6.605, allocations: 11.41 kB / 2.124 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/6.605, allocations: 21.3 kB / 2.124 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/6.606, allocations: 238.5 kB / 2.124 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/6.606, allocations: 22.55 kB / 2.124 GB, free: 87.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/6.608, allocations: 98.64 kB / 2.124 GB, free: 87.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/6.608, allocations: 50.33 kB / 2.124 GB, free: 87.62 MB / 0.7761 GB 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): 117 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000315/6.608, allocations: 144.5 kB / 2.124 GB, free: 87.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/6.609, allocations: 163 kB / 2.124 GB, free: 87.41 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/6.616, allocations: 1.53 MB / 2.126 GB, free: 87.03 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/6.616, allocations: 16.34 kB / 2.126 GB, free: 87.03 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/6.616, allocations: 0 / 2.126 GB, free: 87.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006467/6.623, allocations: 1.383 MB / 2.127 GB, free: 86.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009439/6.632, allocations: 2.683 MB / 2.13 GB, free: 85.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.413e-06/6.632, allocations: 3.562 kB / 2.13 GB, free: 85.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009169/6.633, allocations: 152.3 kB / 2.13 GB, free: 85.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002301/6.633, allocations: 55.92 kB / 2.13 GB, free: 85.44 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.82e-05/6.634, allocations: 22.27 kB / 2.13 GB, free: 85.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004612/6.634, allocations: 0.5899 MB / 2.131 GB, free: 84.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/6.634, allocations: 4.359 kB / 2.131 GB, free: 84.89 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007483/6.642, allocations: 2.088 MB / 2.133 GB, free: 83.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009437/6.642, allocations: 325.5 kB / 2.133 GB, free: 83.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003114/6.643, allocations: 17.64 kB / 2.133 GB, free: 83.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001495/6.644, allocations: 94.77 kB / 2.133 GB, free: 83.66 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/6.645, allocations: 66.41 kB / 2.133 GB, free: 83.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/6.645, allocations: 28.11 kB / 2.133 GB, free: 83.64 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001722/6.646, allocations: 0.9046 MB / 2.134 GB, free: 83.26 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.76e-07/6.646, allocations: 0 / 2.134 GB, free: 83.26 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00414/6.651, allocations: 0.8455 MB / 2.135 GB, free: 83.12 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (vol.dynBal.U,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 (74): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002574/6.653, allocations: 1.163 MB / 2.136 GB, free: 82.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002755/6.656, allocations: 1.499 MB / 2.138 GB, free: 82.02 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.681e-06/6.656, allocations: 0 / 2.138 GB, free: 82.02 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0009085/6.657, allocations: 375 kB / 2.138 GB, free: 81.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/6.661, allocations: 0.642 MB / 2.139 GB, free: 81.75 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/6.666, allocations: 2.355 MB / 2.141 GB, free: 80.66 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001094/6.667, allocations: 1.416 MB / 2.142 GB, free: 79.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003437/6.671, allocations: 0.5737 MB / 2.143 GB, free: 79.79 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004099/6.671, allocations: 108.2 kB / 2.143 GB, free: 79.77 MB / 0.7761 GB Notification: Performance of SimCode: time 1.284e-06/6.671, allocations: 0 / 2.143 GB, free: 79.77 MB / 0.7761 GB Notification: Performance of Templates: time 0.07115/6.743, allocations: 33.13 MB / 2.175 GB, free: 53.12 MB / 0.7761 GB