Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(Buildings): time 4.169/4.169, allocations: 431.3 MB / 445.8 MB, free: 5.398 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.844e-05/2.838e-05, allocations: 4 kB / 0.5354 GB, free: 14.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6306/0.6307, allocations: 98.71 MB / 0.6318 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.08415/0.7149, allocations: 45.09 MB / 0.6758 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.03703/0.752, allocations: 13.99 MB / 0.6895 GB, free: 0.707 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003087/0.7551, allocations: 95.56 kB / 0.6896 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.004412/0.7596, allocations: 0.8123 MB / 0.6904 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01096/0.7706, allocations: 2.033 MB / 0.6924 GB, free: 13.76 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.008881/0.7795, allocations: 1.469 MB / 0.6938 GB, free: 12.29 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.02993/0.8095, allocations: 11.99 MB / 0.7055 GB, free: 284 kB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01612/0.8256, allocations: 7.415 MB / 0.7127 GB, free: 8.828 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/0.8383, allocations: 5.135 MB / 0.7178 GB, free: 3.68 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01177/0.8501, allocations: 4.711 MB / 0.7224 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007417/0.8576, allocations: 1.1 MB / 0.7234 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.002644/0.8603, allocations: 359.9 kB / 0.7238 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003875/0.8642, allocations: 1.786 MB / 0.7255 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.005049/0.8693, allocations: 1.047 MB / 0.7265 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.02287/0.8922, allocations: 14 MB / 0.7402 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.8922, allocations: 0 / 0.7402 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8922, allocations: 0 / 0.7402 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0005756/0.8928, allocations: 8 kB / 0.7402 GB, free: 12.62 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2143 * Number of variables: 2143 Notification: Performance of Generate backend data structure: time 0.02737/0.9202, allocations: 8.268 MB / 0.7483 GB, free: 4.258 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.9203, allocations: 8.031 kB / 0.7483 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00709/0.9274, allocations: 1.155 MB / 0.7494 GB, free: 3.082 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02636/0.9538, allocations: 8.185 MB / 0.7574 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008916/0.9547, allocations: 0.6178 MB / 0.758 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003362/0.9581, allocations: 0.8162 MB / 0.7588 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04003/0.9982, allocations: 12.16 MB / 0.7707 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004789/0.9987, allocations: 27.72 kB / 0.7707 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002769/1.001, allocations: 356 kB / 0.7711 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004125/1.002, allocations: 247.9 kB / 0.7713 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03473/1.037, allocations: 10.36 MB / 0.7814 GB, free: 1.863 MB / 0.6511 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 1.133/2.169, allocations: 48.39 MB / 0.8287 GB, free: 116.4 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/2.185, allocations: 6.395 MB / 0.8349 GB, free: 113 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/2.187, allocations: 0.85 MB / 0.8358 GB, free: 112.1 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008685/2.195, allocations: 3.28 MB / 0.839 GB, free: 110.2 MB / 0.6668 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00534/2.201, allocations: 0.5372 MB / 0.8395 GB, free: 110 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=453): time 1.703e-05/2.201, allocations: 0 / 0.8395 GB, free: 110 MB / 0.6668 GB Notification: Performance of matching and sorting (n=453): time 0.02501/2.226, allocations: 8.979 MB / 0.8482 GB, free: 105.3 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/2.226, allocations: 156 kB / 0.8484 GB, free: 105.2 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01664/2.243, allocations: 6.981 MB / 0.8552 GB, free: 98.73 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001117/2.244, allocations: 107.7 kB / 0.8553 GB, free: 98.62 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.0053/2.249, allocations: 4.245 MB / 0.8595 GB, free: 94.36 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.002832/2.252, allocations: 1.576 MB / 0.861 GB, free: 92.8 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009196/2.253, allocations: 116 kB / 0.8611 GB, free: 92.68 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 0.000477/2.254, allocations: 0.544 MB / 0.8616 GB, free: 92.13 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00788/2.261, allocations: 3.005 MB / 0.8646 GB, free: 89.12 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009296/2.271, allocations: 4.842 MB / 0.8693 GB, free: 83.48 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009988/2.281, allocations: 4.046 MB / 0.8733 GB, free: 79.41 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-05/2.281, allocations: 16 kB / 0.8733 GB, free: 79.4 MB / 0.6668 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02442/2.305, allocations: 8.778 MB / 0.8818 GB, free: 70.59 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 0.005496/2.311, allocations: 28.32 MB / 0.9095 GB, free: 40.24 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/2.311, allocations: 56 kB / 0.9096 GB, free: 40.19 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/2.311, allocations: 96 kB / 0.9096 GB, free: 40.09 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01081/2.322, allocations: 1.427 MB / 0.911 GB, free: 38.66 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001696/2.322, allocations: 127.1 kB / 0.9112 GB, free: 38.54 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/2.334, allocations: 0.6465 MB / 0.9118 GB, free: 37.89 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00142/2.335, allocations: 279.9 kB / 0.9121 GB, free: 37.62 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/2.335, allocations: 4.938 kB / 0.9121 GB, free: 37.62 MB / 0.6668 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02236/2.358, allocations: 8.197 MB / 0.9201 GB, free: 29.41 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001989/2.358, allocations: 56 kB / 0.9201 GB, free: 29.35 MB / 0.6668 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/2.358, allocations: 96 kB / 0.9202 GB, free: 29.26 MB / 0.6668 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01094/2.369, allocations: 1.432 MB / 0.9216 GB, free: 27.82 MB / 0.6668 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001693/2.369, allocations: 127.5 kB / 0.9217 GB, free: 27.7 MB / 0.6668 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01079/2.38, allocations: 0.6233 MB / 0.9223 GB, free: 27.07 MB / 0.6668 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/2.381, allocations: 272 kB / 0.9226 GB, free: 26.81 MB / 0.6668 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 258 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (744): * Single equations (assignments): 742 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.00842/2.39, allocations: 3.449 MB / 0.926 GB, free: 23.34 MB / 0.6668 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002639/2.393, allocations: 0.7025 MB / 0.9267 GB, free: 22.62 MB / 0.6668 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02092/2.414, allocations: 7.065 MB / 0.9336 GB, free: 15.52 MB / 0.6668 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.568e-05/2.414, allocations: 44 kB / 0.9336 GB, free: 15.48 MB / 0.6668 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-05/2.414, allocations: 3.953 kB / 0.9336 GB, free: 15.48 MB / 0.6668 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01569/2.429, allocations: 5.774 MB / 0.9392 GB, free: 9.664 MB / 0.6668 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.04906/2.479, allocations: 16.36 MB / 0.9552 GB, free: 9.242 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/2.479, allocations: 0 / 0.9552 GB, free: 9.242 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008866/2.487, allocations: 0.8972 MB / 0.9561 GB, free: 8.344 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-05/2.488, allocations: 16 kB / 0.9561 GB, free: 8.328 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001087/2.489, allocations: 115.9 kB / 0.9562 GB, free: 8.215 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.652e-05/2.489, allocations: 12 kB / 0.9562 GB, free: 8.203 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/2.489, allocations: 7.938 kB / 0.9562 GB, free: 8.195 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03039/2.519, allocations: 10.6 MB / 0.9666 GB, free: 13.53 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007321/2.527, allocations: 1.722 MB / 0.9683 GB, free: 11.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00323/2.53, allocations: 95.98 kB / 0.9684 GB, free: 11.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01079/2.541, allocations: 0.6079 MB / 0.969 GB, free: 11.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/2.542, allocations: 251.1 kB / 0.9692 GB, free: 10.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008494/2.543, allocations: 175.9 kB / 0.9694 GB, free: 10.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01477/2.558, allocations: 5.458 MB / 0.9747 GB, free: 5.223 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.362e-06/2.558, allocations: 0 / 0.9747 GB, free: 5.223 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.02143/2.579, allocations: 4.809 MB / 0.9794 GB, free: 436 kB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (447): * Single equations (assignments): 443 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.002744/2.582, allocations: 0.5915 MB / 0.98 GB, free: 15.89 MB / 0.7137 GB Notification: Performance of simCode: created initialization part: time 0.03305/2.615, allocations: 11.74 MB / 0.9914 GB, free: 4.121 MB / 0.7137 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/2.615, allocations: 0 / 0.9914 GB, free: 4.121 MB / 0.7137 GB Notification: Performance of simCode: created simulation system equations: time 0.009529/2.625, allocations: 3.243 MB / 0.9946 GB, free: 0.8555 MB / 0.7137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03535/2.66, allocations: 4.328 MB / 0.9988 GB, free: 12.56 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05926/2.719, allocations: 22.56 MB / 1.021 GB, free: 5.945 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01363/2.733, allocations: 6.239 MB / 1.027 GB, free: 15.67 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.03505/2.768, allocations: 6.506 MB / 1.033 GB, free: 9.148 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00336/2.772, allocations: 487.2 kB / 1.034 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of SimCode: time 1.423e-06/2.772, allocations: 0 / 1.034 GB, free: 8.676 MB / 0.7605 GB Notification: Performance of Templates: time 0.928/3.7, allocations: 154.7 MB / 1.185 GB, free: 224.2 MB / 0.823 GB