Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadModel(Buildings): time 4.082/4.082, allocations: 431.3 MB / 445.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.349e-05, allocations: 4 kB / 0.5354 GB, free: 14.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6153/0.6153, allocations: 98.72 MB / 0.6318 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.1017/0.7171, allocations: 54.07 MB / 0.6846 GB, free: 5.727 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.04593/0.7631, allocations: 15.66 MB / 0.6999 GB, free: 6.035 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003459/0.7666, allocations: 107.5 kB / 0.7 GB, free: 5.93 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004428/0.7711, allocations: 0.9403 MB / 0.7009 GB, free: 4.984 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01052/0.7816, allocations: 2.41 MB / 0.7033 GB, free: 2.566 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.01181/0.7935, allocations: 2.813 MB / 0.706 GB, free: 15.75 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.007447/0.8009, allocations: 2.476 MB / 0.7084 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00274/0.8037, allocations: 1.112 MB / 0.7095 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004204/0.808, allocations: 1.293 MB / 0.7108 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002432/0.8105, allocations: 0.8835 MB / 0.7117 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005171/0.8157, allocations: 1.416 MB / 0.713 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.001022/0.8167, allocations: 100 kB / 0.7131 GB, free: 8.453 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.000732/0.8175, allocations: 398.4 kB / 0.7135 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008864/0.8184, allocations: 196 kB / 0.7137 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.006003/0.8244, allocations: 2.665 MB / 0.7163 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.381e-06/0.8245, allocations: 0 / 0.7163 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.246e-06/0.8245, allocations: 0 / 0.7163 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 9.09e-05/0.8246, allocations: 0 / 0.7163 GB, free: 5.199 MB / 0.5886 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.005225/0.8298, allocations: 1.962 MB / 0.7182 GB, free: 3.168 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.8299, allocations: 8.031 kB / 0.7182 GB, free: 3.16 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002677/0.8326, allocations: 396.9 kB / 0.7186 GB, free: 2.77 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005385/0.838, allocations: 1.665 MB / 0.7202 GB, free: 1.055 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007107/0.8388, allocations: 170.4 kB / 0.7204 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003654/0.8392, allocations: 132 kB / 0.7205 GB, free: 0.7578 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004242/0.8434, allocations: 1.438 MB / 0.7219 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.809e-05/0.8435, allocations: 7.906 kB / 0.7219 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.8437, allocations: 56 kB / 0.722 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.866e-05/0.8438, allocations: 32 kB / 0.722 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004222/0.848, allocations: 1.122 MB / 0.7231 GB, free: 14 MB / 0.6042 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.01501/0.8631, allocations: 7.449 MB / 0.7304 GB, free: 5.973 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.8672, allocations: 1.357 MB / 0.7317 GB, free: 4.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007061/0.8743, allocations: 2.615 MB / 0.7343 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001801/0.8762, allocations: 446.9 kB / 0.7347 GB, free: 1.211 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001072/0.8773, allocations: 103.1 kB / 0.7348 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=64): time 4.038e-06/0.8773, allocations: 7.938 kB / 0.7348 GB, free: 1.102 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64): time 0.00579/0.8831, allocations: 1.265 MB / 0.736 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001122/0.8833, allocations: 141 kB / 0.7362 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.8868, allocations: 1.399 MB / 0.7375 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002377/0.887, allocations: 49.64 kB / 0.7376 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/0.8882, allocations: 0.9113 MB / 0.7385 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004427/0.8887, allocations: 224.8 kB / 0.7387 GB, free: 13.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.283e-05/0.8888, allocations: 20 kB / 0.7387 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.889, allocations: 341.9 kB / 0.739 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.8907, allocations: 390.1 kB / 0.7394 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002133/0.8929, allocations: 0.7503 MB / 0.7401 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/0.8949, allocations: 0.4923 MB / 0.7406 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.586e-05/0.8949, allocations: 4 kB / 0.7406 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.004986/0.8999, allocations: 1.312 MB / 0.7419 GB, free: 9.562 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001772/0.9017, allocations: 3.83 MB / 0.7456 GB, free: 5.402 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.157e-05/0.9018, allocations: 8 kB / 0.7456 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.228e-05/0.9019, allocations: 19.94 kB / 0.7457 GB, free: 5.375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002072/0.9039, allocations: 263.6 kB / 0.7459 GB, free: 5.117 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.269e-05/0.904, allocations: 15.94 kB / 0.7459 GB, free: 5.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/0.9067, allocations: 172.2 kB / 0.7461 GB, free: 4.934 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/0.9069, allocations: 51.98 kB / 0.7461 GB, free: 4.883 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.907, allocations: 4 kB / 0.7461 GB, free: 4.879 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004229/0.9112, allocations: 1.132 MB / 0.7473 GB, free: 3.746 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.551e-05/0.9113, allocations: 11.94 kB / 0.7473 GB, free: 3.734 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.9113, allocations: 19.94 kB / 0.7473 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/0.9132, allocations: 256.2 kB / 0.7475 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.341e-05/0.9133, allocations: 19.94 kB / 0.7475 GB, free: 3.445 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002505/0.9158, allocations: 164.3 kB / 0.7477 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/0.9161, allocations: 51.97 kB / 0.7478 GB, free: 3.234 MB / 0.6198 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.001214/0.9173, allocations: 421.4 kB / 0.7482 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005154/0.9178, allocations: 165.9 kB / 0.7483 GB, free: 2.648 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004419/0.9222, allocations: 1.12 MB / 0.7494 GB, free: 1.516 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/0.9223, allocations: 8 kB / 0.7494 GB, free: 1.508 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.9223, allocations: 11.83 kB / 0.7494 GB, free: 1.496 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003256/0.9256, allocations: 0.8199 MB / 0.7502 GB, free: 0.6602 MB / 0.6198 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.00816/0.9338, allocations: 2.604 MB / 0.7528 GB, free: 13.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.9339, allocations: 7.984 kB / 0.7528 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/0.9353, allocations: 160 kB / 0.7529 GB, free: 13.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002906/0.9356, allocations: 36.84 kB / 0.753 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.84e-05/0.9357, allocations: 19.98 kB / 0.753 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.9374, allocations: 1.394 MB / 0.7543 GB, free: 12.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.9374, allocations: 4 kB / 0.7543 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005862/0.9433, allocations: 1.739 MB / 0.756 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.9445, allocations: 378.6 kB / 0.7564 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004467/0.945, allocations: 20 kB / 0.7564 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002146/0.9472, allocations: 127.9 kB / 0.7565 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/0.9474, allocations: 64.42 kB / 0.7566 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.9475, allocations: 43.97 kB / 0.7567 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002763/0.9503, allocations: 1.141 MB / 0.7578 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.9503, allocations: 0 / 0.7578 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004632/0.955, allocations: 1.01 MB / 0.7588 GB, free: 7.555 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001955/0.957, allocations: 0.5571 MB / 0.7593 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006256/0.9633, allocations: 1.746 MB / 0.761 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 9.578e-06/0.9633, allocations: 1.312 kB / 0.761 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002171/0.9655, allocations: 0.5684 MB / 0.7616 GB, free: 4.621 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007033/0.9726, allocations: 0.8637 MB / 0.7624 GB, free: 3.762 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01019/0.9828, allocations: 3.913 MB / 0.7662 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001485/0.9843, allocations: 1.451 MB / 0.7676 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004166/0.9885, allocations: 0.5492 MB / 0.7682 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005645/0.9891, allocations: 115.4 kB / 0.7683 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of SimCode: time 1.303e-06/0.9891, allocations: 0 / 0.7683 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of Templates: time 0.64/1.629, allocations: 38.1 MB / 0.8055 GB, free: 153.5 MB / 0.6667 GB