Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadModel(Buildings): time 4.53/4.53, allocations: 458.9 MB / 473.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.293e-05/3.291e-05, allocations: 4.531 kB / 0.5697 GB, free: 9.816 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2374, allocations: 106.2 MB / 0.6734 GB, free: 2.641 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.09135/0.3288, allocations: 54.61 MB / 0.7268 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0363/0.3651, allocations: 15.7 MB / 0.7421 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003506/0.3687, allocations: 103.5 kB / 0.7422 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.004485/0.3732, allocations: 0.9442 MB / 0.7431 GB, free: 11.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.01049/0.3838, allocations: 2.395 MB / 0.7455 GB, free: 8.699 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.01232/0.3961, allocations: 2.875 MB / 0.7483 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.007466/0.4036, allocations: 2.488 MB / 0.7507 GB, free: 3.32 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002555/0.4062, allocations: 1.116 MB / 0.7518 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003908/0.4101, allocations: 1.289 MB / 0.753 GB, free: 0.9062 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.4124, allocations: 0.8912 MB / 0.7539 GB, free: 12 kB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005126/0.4176, allocations: 1.412 MB / 0.7553 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009208/0.4186, allocations: 96 kB / 0.7554 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000712/0.4193, allocations: 406.4 kB / 0.7558 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008311/0.4201, allocations: 199.9 kB / 0.756 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.4261, allocations: 2.673 MB / 0.7586 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4262, allocations: 4 kB / 0.7586 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.965e-06/0.4262, allocations: 0 / 0.7586 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.629e-05/0.4263, allocations: 0 / 0.7586 GB, free: 11.23 MB / 0.6355 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.005333/0.4316, allocations: 1.97 MB / 0.7605 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.4317, allocations: 12.03 kB / 0.7605 GB, free: 9.176 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/0.4342, allocations: 389 kB / 0.7609 GB, free: 8.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005234/0.4395, allocations: 1.661 MB / 0.7625 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007084/0.4403, allocations: 166.4 kB / 0.7627 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.4406, allocations: 136 kB / 0.7628 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004483/0.4451, allocations: 1.438 MB / 0.7642 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.489e-05/0.4452, allocations: 3.938 kB / 0.7642 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003297/0.4456, allocations: 52 kB / 0.7643 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.938e-05/0.4457, allocations: 32 kB / 0.7643 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007602/0.4533, allocations: 1.125 MB / 0.7654 GB, free: 4.035 MB / 0.6355 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.01687/0.4703, allocations: 7.461 MB / 0.7727 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.4742, allocations: 1.358 MB / 0.774 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00653/0.4808, allocations: 2.624 MB / 0.7766 GB, free: 7.668 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001763/0.4826, allocations: 454.9 kB / 0.777 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009546/0.4836, allocations: 99.19 kB / 0.7771 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=65): time 4.358e-06/0.4836, allocations: 0 / 0.7771 GB, free: 7.113 MB / 0.6511 GB Notification: Performance of matching and sorting (n=65): time 0.005507/0.4892, allocations: 1.288 MB / 0.7783 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4893, allocations: 137.1 kB / 0.7785 GB, free: 5.629 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003178/0.4925, allocations: 1.395 MB / 0.7798 GB, free: 4.238 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/0.4928, allocations: 41.7 kB / 0.7799 GB, free: 4.191 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.4939, allocations: 0.9036 MB / 0.7808 GB, free: 3.277 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003545/0.4943, allocations: 228.7 kB / 0.781 GB, free: 3.051 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.611e-05/0.4944, allocations: 20 kB / 0.781 GB, free: 3.031 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4946, allocations: 349.9 kB / 0.7813 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001583/0.4962, allocations: 386.1 kB / 0.7817 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001937/0.4981, allocations: 0.7542 MB / 0.7824 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001785/0.4999, allocations: 0.4923 MB / 0.7829 GB, free: 0.8867 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/0.5, allocations: 3.938 kB / 0.7829 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004642/0.5046, allocations: 1.311 MB / 0.7842 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.001615/0.5063, allocations: 3.828 MB / 0.7879 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.607e-05/0.5064, allocations: 15.98 kB / 0.788 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-05/0.5064, allocations: 16.05 kB / 0.788 GB, free: 11.37 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/0.5085, allocations: 267.6 kB / 0.7882 GB, free: 11.11 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/0.5085, allocations: 19.92 kB / 0.7882 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/0.5112, allocations: 168.3 kB / 0.7884 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002165/0.5114, allocations: 55.97 kB / 0.7885 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.5114, allocations: 4 kB / 0.7885 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004115/0.5156, allocations: 1.136 MB / 0.7896 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-05/0.5157, allocations: 16.09 kB / 0.7896 GB, free: 9.707 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/0.5157, allocations: 16 kB / 0.7896 GB, free: 9.691 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/0.5176, allocations: 263.5 kB / 0.7898 GB, free: 9.434 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.38e-05/0.5176, allocations: 27.92 kB / 0.7899 GB, free: 9.406 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00241/0.5201, allocations: 154.6 kB / 0.79 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/0.5202, allocations: 55.94 kB / 0.7901 GB, free: 9.203 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (123): * Single equations (assignments): 119 * 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.001165/0.5214, allocations: 425.5 kB / 0.7905 GB, free: 8.777 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004398/0.5219, allocations: 169.8 kB / 0.7906 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004226/0.5261, allocations: 1.12 MB / 0.7917 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.3e-05/0.5262, allocations: 11.95 kB / 0.7917 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/0.5262, allocations: 0 / 0.7917 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003167/0.5294, allocations: 0.8355 MB / 0.7926 GB, free: 6.613 MB / 0.6667 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 postOpt removeSimpleEquations (simulation): time 0.007766/0.5372, allocations: 2.632 MB / 0.7951 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.842e-05/0.5372, allocations: 7.984 kB / 0.7951 GB, free: 3.879 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001417/0.5387, allocations: 164 kB / 0.7953 GB, free: 3.719 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002863/0.539, allocations: 28.84 kB / 0.7953 GB, free: 3.688 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-05/0.5391, allocations: 27.98 kB / 0.7954 GB, free: 3.66 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.5407, allocations: 1.402 MB / 0.7967 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.5408, allocations: 4 kB / 0.7967 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005762/0.5465, allocations: 1.775 MB / 0.7985 GB, free: 236 kB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5808/1.127, allocations: 377.9 kB / 0.7988 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000613/1.128, allocations: 20.53 kB / 0.7988 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002417/1.13, allocations: 138 kB / 0.799 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.131, allocations: 58.44 kB / 0.799 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.131, allocations: 36.34 kB / 0.7991 GB, free: 119.3 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003461/1.134, allocations: 1.15 MB / 0.8002 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.82e-07/1.134, allocations: 0 / 0.8002 GB, free: 119.2 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.004658/1.139, allocations: 1.008 MB / 0.8012 GB, free: 119.2 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (75): * Single equations (assignments): 67 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001957/1.141, allocations: 0.5487 MB / 0.8017 GB, free: 119.1 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.006409/1.148, allocations: 1.755 MB / 0.8034 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.148, allocations: 1.469 kB / 0.8034 GB, free: 118.6 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002112/1.15, allocations: 0.5749 MB / 0.804 GB, free: 118.3 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007291/1.157, allocations: 0.8599 MB / 0.8048 GB, free: 118.1 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009859/1.167, allocations: 3.924 MB / 0.8087 GB, free: 116.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001607/1.169, allocations: 1.45 MB / 0.8101 GB, free: 115.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.004657/1.173, allocations: 0.5615 MB / 0.8106 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006091/1.174, allocations: 116.8 kB / 0.8107 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of SimCode: time 1.273e-06/1.174, allocations: 0 / 0.8107 GB, free: 115.2 MB / 0.6667 GB Notification: Performance of Templates: time 0.1011/1.275, allocations: 38.11 MB / 0.8479 GB, free: 91.64 MB / 0.6667 GB