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 3.871/3.871, allocations: 432.8 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.175e-05, allocations: 3.875 kB / 0.5337 GB, free: 12.24 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1764, allocations: 98.72 MB / 0.6301 GB, free: 6.23 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.23, allocations: 395 MB / 1.016 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/1.23, allocations: 86.83 kB / 1.016 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 13.64/14.87, allocations: 2.821 GB / 3.837 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.816e-06/14.87, allocations: 0 / 3.837 GB, free: 124.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.002063/14.87, allocations: 249.6 kB / 3.837 GB, free: 124.2 MB / 0.8542 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.0396/14.91, allocations: 8.239 MB / 3.845 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/14.91, allocations: 9.188 kB / 3.845 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01062/14.92, allocations: 1.154 MB / 3.846 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03949/14.96, allocations: 10.63 MB / 3.857 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007743/14.96, allocations: 0.6099 MB / 3.857 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003448/14.97, allocations: 0.8199 MB / 3.858 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03272/15, allocations: 11.21 MB / 3.869 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004231/15, allocations: 19.88 kB / 3.869 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002732/15, allocations: 354.9 kB / 3.869 GB, free: 101.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002491/15, allocations: 243.9 kB / 3.87 GB, free: 101.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02488/15.03, allocations: 9.304 MB / 3.879 GB, free: 91.96 MB / 0.8542 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.07968/15.11, allocations: 45.76 MB / 3.923 GB, free: 44.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/15.12, allocations: 6.201 MB / 3.929 GB, free: 38.44 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009492/15.13, allocations: 5.397 MB / 3.935 GB, free: 33.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/15.13, allocations: 0.8217 MB / 3.936 GB, free: 32.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007431/15.14, allocations: 3.15 MB / 3.939 GB, free: 28.91 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005597/15.14, allocations: 0.55 MB / 3.939 GB, free: 28.35 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=453): time 2.001e-05/15.14, allocations: 4 kB / 3.939 GB, free: 28.35 MB / 0.8542 GB Notification: Performance of matching and sorting (n=453): time 0.01537/15.16, allocations: 6.11 MB / 3.945 GB, free: 22.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.123e-05/15.16, allocations: 158.3 kB / 3.945 GB, free: 22.02 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01577/15.18, allocations: 6.928 MB / 3.952 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0009764/15.18, allocations: 109.7 kB / 3.952 GB, free: 15 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.005168/15.18, allocations: 4.246 MB / 3.956 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.002386/15.18, allocations: 1.571 MB / 3.958 GB, free: 9.18 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008314/15.19, allocations: 116 kB / 3.958 GB, free: 9.066 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0005017/15.19, allocations: 0.5498 MB / 3.958 GB, free: 8.508 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006237/15.19, allocations: 2.897 MB / 3.961 GB, free: 5.605 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007664/15.2, allocations: 4.696 MB / 3.966 GB, free: 92 kB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.612/15.81, allocations: 3.961 MB / 3.97 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.969e-05/15.81, allocations: 17.05 kB / 3.97 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=756) (initialization): time 0.02181/15.83, allocations: 8.4 MB / 3.978 GB, free: 123.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.005409/15.84, allocations: 28.32 MB / 4.006 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001611/15.84, allocations: 57.25 kB / 4.006 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002349/15.84, allocations: 97.47 kB / 4.006 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00857/15.85, allocations: 1.446 MB / 4.007 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001791/15.85, allocations: 126.9 kB / 4.007 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009909/15.86, allocations: 0.6194 MB / 4.008 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001438/15.86, allocations: 283.9 kB / 4.008 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/15.86, allocations: 6.406 kB / 4.008 GB, free: 93.88 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01814/15.88, allocations: 7.824 MB / 4.016 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000159/15.88, allocations: 61.28 kB / 4.016 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/15.88, allocations: 94.09 kB / 4.016 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008377/15.89, allocations: 1.439 MB / 4.017 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001934/15.89, allocations: 126.1 kB / 4.018 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009948/15.9, allocations: 0.5995 MB / 4.018 GB, free: 93.73 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/15.9, allocations: 279.9 kB / 4.018 GB, free: 93.73 MB / 0.8542 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.001736/15.9, allocations: 0.5324 MB / 4.019 GB, free: 93.55 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002109/15.9, allocations: 0.7007 MB / 4.02 GB, free: 93.46 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01712/15.92, allocations: 6.883 MB / 4.026 GB, free: 93.18 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.472e-05/15.92, allocations: 43.84 kB / 4.026 GB, free: 93.18 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.697e-05/15.92, allocations: 3.953 kB / 4.026 GB, free: 93.18 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01726/15.94, allocations: 5.587 MB / 4.032 GB, free: 92.95 MB / 0.8542 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.04164/15.98, allocations: 16.12 MB / 4.048 GB, free: 91.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/15.98, allocations: 1.844 kB / 4.048 GB, free: 91.92 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006388/15.98, allocations: 0.9143 MB / 4.048 GB, free: 91.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-05/15.99, allocations: 22.33 kB / 4.048 GB, free: 91.91 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007535/15.99, allocations: 122.5 kB / 4.049 GB, free: 91.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-05/15.99, allocations: 18.84 kB / 4.049 GB, free: 91.91 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.612e-06/15.99, allocations: 2.078 kB / 4.049 GB, free: 91.91 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02075/16.01, allocations: 10.34 MB / 4.059 GB, free: 91.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006003/16.01, allocations: 1.665 MB / 4.06 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002507/16.02, allocations: 95.98 kB / 4.06 GB, free: 90.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008113/16.02, allocations: 0.5592 MB / 4.061 GB, free: 90.65 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001/16.02, allocations: 248.3 kB / 4.061 GB, free: 90.64 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005635/16.02, allocations: 143.8 kB / 4.061 GB, free: 90.64 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.01184/16.04, allocations: 5.405 MB / 4.067 GB, free: 90.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.365e-06/16.04, allocations: 0 / 4.067 GB, free: 90.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01975/16.06, allocations: 4.883 MB / 4.071 GB, free: 90.04 MB / 0.8542 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.002597/16.06, allocations: 0.9459 MB / 4.072 GB, free: 89.89 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02288/16.08, allocations: 11.23 MB / 4.083 GB, free: 89.54 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.135e-05/16.08, allocations: 5.594 kB / 4.083 GB, free: 89.54 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.006338/16.09, allocations: 3.118 MB / 4.086 GB, free: 89.35 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02473/16.11, allocations: 4.34 MB / 4.091 GB, free: 89.26 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04009/16.15, allocations: 16.6 MB / 4.107 GB, free: 86.43 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01165/16.17, allocations: 6.244 MB / 4.113 GB, free: 85.44 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.02777/16.19, allocations: 6.512 MB / 4.119 GB, free: 85.01 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00294/16.2, allocations: 492.1 kB / 4.12 GB, free: 85.01 MB / 0.8542 GB Notification: Performance of SimCode: time 2.363e-06/16.2, allocations: 0 / 4.12 GB, free: 85.01 MB / 0.8542 GB Notification: Performance of Templates: time 0.3369/16.53, allocations: 156.7 MB / 4.273 GB, free: 2.188 MB / 0.8698 GB