Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadModel(Buildings): time 4.1/4.1, allocations: 464.7 MB / 476.8 MB, free: 2.188 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.34e-05, allocations: 8 kB / 0.5731 GB, free: 5.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1995/0.1995, allocations: 107.2 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.624/1.824, allocations: 447.1 MB / 1.114 GB, free: 317 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/1.824, allocations: 93.55 kB / 1.114 GB, free: 317 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.055/6.879, allocations: 1.135 GB / 2.249 GB, free: 133.1 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.223e-06/6.879, allocations: 0 / 2.249 GB, free: 133.1 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0002886/6.879, allocations: 56.14 kB / 2.249 GB, free: 133.1 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: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.005025/6.884, allocations: 2.077 MB / 2.251 GB, free: 132.2 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/6.884, allocations: 10.31 kB / 2.251 GB, free: 132.2 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/6.887, allocations: 460.4 kB / 2.252 GB, free: 132.1 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007777/6.895, allocations: 2.289 MB / 2.254 GB, free: 131.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/6.895, allocations: 91.44 kB / 2.254 GB, free: 131.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003744/6.896, allocations: 129 kB / 2.254 GB, free: 131.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002762/6.899, allocations: 1.236 MB / 2.255 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.458e-05/6.899, allocations: 2.625 kB / 2.256 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001704/6.899, allocations: 45.16 kB / 2.256 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-05/6.899, allocations: 28.09 kB / 2.256 GB, free: 131.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/6.901, allocations: 0.8223 MB / 2.256 GB, free: 131.4 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.01128/6.913, allocations: 6.877 MB / 2.263 GB, free: 127.3 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/6.914, allocations: 1.129 MB / 2.264 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006499/6.915, allocations: 312.6 kB / 2.264 GB, free: 126.7 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005553/6.92, allocations: 2.9 MB / 2.267 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007274/6.921, allocations: 349.6 kB / 2.268 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008188/6.922, allocations: 94.78 kB / 2.268 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=60): time 4.963e-06/6.922, allocations: 0 / 2.268 GB, free: 124.7 MB / 0.9011 GB Notification: Performance of matching and sorting (n=60): time 0.001732/6.924, allocations: 0.6676 MB / 2.268 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/6.924, allocations: 166 kB / 2.269 GB, free: 124.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002563/6.927, allocations: 1.347 MB / 2.27 GB, free: 124.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002054/6.927, allocations: 42.64 kB / 2.27 GB, free: 124.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008328/6.928, allocations: 0.8894 MB / 2.271 GB, free: 123.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/6.928, allocations: 213.5 kB / 2.271 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/6.928, allocations: 16.91 kB / 2.271 GB, free: 123.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/6.928, allocations: 344.8 kB / 2.271 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006505/6.929, allocations: 267.6 kB / 2.272 GB, free: 123.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008592/6.93, allocations: 0.7034 MB / 2.272 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00081/6.93, allocations: 401.8 kB / 2.273 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/6.93, allocations: 3.281 kB / 2.273 GB, free: 122.8 MB / 0.9011 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002562/6.933, allocations: 1.085 MB / 2.274 GB, free: 122.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009076/6.934, allocations: 4.547 MB / 2.278 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.37e-05/6.934, allocations: 14 kB / 2.278 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.825e-05/6.934, allocations: 22.45 kB / 2.278 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/6.936, allocations: 250.8 kB / 2.278 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.001e-05/6.936, allocations: 26.98 kB / 2.278 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/6.938, allocations: 112.9 kB / 2.279 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002077/6.938, allocations: 56.02 kB / 2.279 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/6.938, allocations: 3.938 kB / 2.279 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002113/6.94, allocations: 0.9052 MB / 2.28 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-05/6.94, allocations: 15.34 kB / 2.28 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.211e-05/6.94, allocations: 15.47 kB / 2.28 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/6.941, allocations: 249.4 kB / 2.28 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/6.941, allocations: 22.8 kB / 2.28 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001815/6.943, allocations: 117.1 kB / 2.28 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/6.943, allocations: 52.56 kB / 2.28 GB, free: 117.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.0003375/6.944, allocations: 178.2 kB / 2.28 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003924/6.944, allocations: 161.7 kB / 2.28 GB, free: 117.6 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00256/6.947, allocations: 0.9479 MB / 2.281 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.066e-05/6.947, allocations: 9.875 kB / 2.281 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.121e-06/6.947, allocations: 0 / 2.281 GB, free: 117.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001425/6.948, allocations: 0.7889 MB / 2.282 GB, free: 117.2 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.004945/6.953, allocations: 2.146 MB / 2.284 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.471e-06/6.953, allocations: 3.969 kB / 2.284 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009806/6.954, allocations: 134.8 kB / 2.284 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002171/6.955, allocations: 27.19 kB / 2.284 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/6.955, allocations: 25.52 kB / 2.284 GB, free: 116.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009152/6.956, allocations: 1.301 MB / 2.286 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.585e-06/6.956, allocations: 9.219 kB / 2.286 GB, free: 115.6 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/6.958, allocations: 1.309 MB / 2.287 GB, free: 115.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/6.959, allocations: 339.8 kB / 2.287 GB, free: 115 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/6.96, allocations: 22.94 kB / 2.287 GB, free: 115 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/6.961, allocations: 98.95 kB / 2.287 GB, free: 115 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/6.962, allocations: 58.22 kB / 2.287 GB, free: 115 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/6.962, allocations: 26.8 kB / 2.287 GB, free: 115 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002206/6.964, allocations: 1.085 MB / 2.288 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.19e-06/6.964, allocations: 0 / 2.288 GB, free: 114.9 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004637/6.969, allocations: 1.02 MB / 2.289 GB, free: 114.7 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.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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.003434/6.972, allocations: 1.357 MB / 2.291 GB, free: 114.3 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002874/6.975, allocations: 1.402 MB / 2.292 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/6.975, allocations: 0 / 2.292 GB, free: 114.1 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.000958/6.976, allocations: 449 kB / 2.293 GB, free: 114 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/6.98, allocations: 0.7333 MB / 2.293 GB, free: 114 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005703/6.986, allocations: 2.335 MB / 2.296 GB, free: 113.3 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/6.987, allocations: 1.406 MB / 2.297 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.003964/6.991, allocations: 0.5984 MB / 2.297 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/6.992, allocations: 122.4 kB / 2.298 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.947e-06/6.992, allocations: 0 / 2.298 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of Templates: time 0.08894/7.081, allocations: 40.52 MB / 2.337 GB, free: 110.3 MB / 0.9011 GB