Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadModel(Buildings): time 4.2/4.2, allocations: 464.6 MB / 476.8 MB, free: 2.129 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.452e-05, allocations: 5.094 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.1919, allocations: 107.2 MB / 0.6777 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.655/1.847, allocations: 440.5 MB / 1.108 GB, free: 256.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002699/1.847, allocations: 95.67 kB / 1.108 GB, free: 256.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 4.998/6.845, allocations: 1.103 GB / 2.211 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.725e-06/6.845, allocations: 0 / 2.211 GB, free: 132.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002902/6.845, allocations: 57.36 kB / 2.211 GB, free: 132.8 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.005231/6.851, allocations: 2.171 MB / 2.213 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/6.851, allocations: 12.97 kB / 2.213 GB, free: 131.9 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002253/6.853, allocations: 378.2 kB / 2.213 GB, free: 131.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007577/6.861, allocations: 2.463 MB / 2.216 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/6.861, allocations: 103.2 kB / 2.216 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003294/6.861, allocations: 134.7 kB / 2.216 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002816/6.864, allocations: 1.346 MB / 2.217 GB, free: 131.1 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.558e-05/6.864, allocations: 3.75 kB / 2.217 GB, free: 131.1 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001703/6.864, allocations: 54.86 kB / 2.217 GB, free: 131.1 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.812e-05/6.864, allocations: 32.62 kB / 2.217 GB, free: 131.1 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00222/6.866, allocations: 0.9033 MB / 2.218 GB, free: 131.1 MB / 0.9011 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.01082/6.877, allocations: 7.141 MB / 2.225 GB, free: 127.1 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00162/6.879, allocations: 1.169 MB / 2.226 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007321/6.88, allocations: 346.5 kB / 2.227 GB, free: 126.5 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004693/6.884, allocations: 2.261 MB / 2.229 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007553/6.885, allocations: 390.3 kB / 2.229 GB, free: 125.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008316/6.886, allocations: 85.91 kB / 2.229 GB, free: 125 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=68): time 4.899e-06/6.886, allocations: 0 / 2.229 GB, free: 125 MB / 0.9011 GB Notification: Performance of matching and sorting (n=68): time 0.001805/6.888, allocations: 0.7453 MB / 2.23 GB, free: 124.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/6.888, allocations: 162.5 kB / 2.23 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/6.89, allocations: 1.29 MB / 2.231 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001797/6.89, allocations: 45.8 kB / 2.231 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007959/6.891, allocations: 0.8982 MB / 2.232 GB, free: 124.2 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002466/6.892, allocations: 246.5 kB / 2.233 GB, free: 124 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.428e-05/6.892, allocations: 18 kB / 2.233 GB, free: 124 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.626e-05/6.892, allocations: 347.5 kB / 2.233 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006757/6.892, allocations: 291.5 kB / 2.233 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008648/6.893, allocations: 0.6597 MB / 2.234 GB, free: 123.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/6.894, allocations: 418.3 kB / 2.234 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.29e-06/6.894, allocations: 6.844 kB / 2.234 GB, free: 123.2 MB / 0.9011 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002491/6.897, allocations: 1.088 MB / 2.235 GB, free: 123.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007246/6.897, allocations: 3.741 MB / 2.239 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.158e-05/6.898, allocations: 14.88 kB / 2.239 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.127e-05/6.898, allocations: 17 kB / 2.239 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/6.899, allocations: 247.8 kB / 2.239 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/6.899, allocations: 21.91 kB / 2.239 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/6.901, allocations: 129.2 kB / 2.239 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/6.901, allocations: 51.8 kB / 2.239 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/6.901, allocations: 3.781 kB / 2.239 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002058/6.903, allocations: 0.9257 MB / 2.24 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.639e-05/6.903, allocations: 11.09 kB / 2.24 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/6.903, allocations: 14.75 kB / 2.24 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/6.905, allocations: 251.1 kB / 2.241 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/6.905, allocations: 16.75 kB / 2.241 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001872/6.907, allocations: 128.5 kB / 2.241 GB, free: 119.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/6.907, allocations: 52.86 kB / 2.241 GB, free: 119.1 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (121): * Single equations (assignments): 117 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003292/6.907, allocations: 176.8 kB / 2.241 GB, free: 119 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/6.907, allocations: 170 kB / 2.241 GB, free: 118.9 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/6.91, allocations: 0.9817 MB / 2.242 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/6.91, allocations: 7.531 kB / 2.242 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.302e-06/6.91, allocations: 2.016 kB / 2.242 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001406/6.911, allocations: 0.695 MB / 2.243 GB, free: 118.7 MB / 0.9011 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 postOpt removeSimpleEquations (simulation): time 0.004937/6.916, allocations: 2.285 MB / 2.245 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.223e-06/6.916, allocations: 3.781 kB / 2.245 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/6.917, allocations: 156.5 kB / 2.245 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002002/6.918, allocations: 26.58 kB / 2.245 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.97e-05/6.918, allocations: 24.23 kB / 2.245 GB, free: 118.3 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009427/6.919, allocations: 1.307 MB / 2.246 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/6.919, allocations: 3.562 kB / 2.246 GB, free: 117.1 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/6.922, allocations: 1.394 MB / 2.248 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008929/6.922, allocations: 340.6 kB / 2.248 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002912/6.923, allocations: 22.14 kB / 2.248 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/6.924, allocations: 112.5 kB / 2.248 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/6.924, allocations: 58.89 kB / 2.248 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/6.925, allocations: 31.89 kB / 2.248 GB, free: 116.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001799/6.926, allocations: 0.9938 MB / 2.249 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8.9e-07/6.926, allocations: 0 / 2.249 GB, free: 116.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004206/6.931, allocations: 1.121 MB / 2.25 GB, free: 116.2 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (76): * Single equations (assignments): 68 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002444/6.933, allocations: 1.221 MB / 2.252 GB, free: 115.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002795/6.936, allocations: 1.466 MB / 2.253 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 5.912e-06/6.936, allocations: 3.219 kB / 2.253 GB, free: 115.7 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0009386/6.937, allocations: 477.3 kB / 2.254 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004297/6.941, allocations: 0.7597 MB / 2.254 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005335/6.947, allocations: 2.365 MB / 2.257 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/6.948, allocations: 1.455 MB / 2.258 GB, free: 114.2 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003529/6.951, allocations: 0.547 MB / 2.259 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003654/6.952, allocations: 114.2 kB / 2.259 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of SimCode: time 1.526e-06/6.952, allocations: 3.781 kB / 2.259 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of Templates: time 0.09044/7.042, allocations: 41.47 MB / 2.299 GB, free: 111.9 MB / 0.9011 GB