Running command: translateModel(BuildingSystems.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(BuildingSystems): time 2.993/2.993, allocations: 343.8 MB / 355.9 MB, free: 9.363 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.325e-05, allocations: 4 kB / 436.6 MB, free: 2.461 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1405, allocations: 77.72 MB / 0.5022 GB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.35, allocations: 376.8 MB / 0.8703 GB, free: 170.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/1.351, allocations: 89.03 kB / 0.8703 GB, free: 170.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 13.4/14.75, allocations: 2.822 GB / 3.693 GB, free: 71.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.414e-06/14.75, allocations: 0 / 3.693 GB, free: 71.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0015/14.75, allocations: 250.8 kB / 3.693 GB, free: 71.08 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.02821/14.78, allocations: 8.289 MB / 3.701 GB, free: 68.03 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/14.78, allocations: 10.47 kB / 3.701 GB, free: 68.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007452/14.79, allocations: 1.154 MB / 3.702 GB, free: 67.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03115/14.82, allocations: 10.68 MB / 3.712 GB, free: 66.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007871/14.82, allocations: 0.6157 MB / 3.713 GB, free: 66.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003484/14.83, allocations: 0.814 MB / 3.714 GB, free: 66.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03505/14.86, allocations: 11.24 MB / 3.725 GB, free: 65.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005269/14.86, allocations: 28.94 kB / 3.725 GB, free: 65.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00322/14.86, allocations: 355.8 kB / 3.725 GB, free: 65.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002781/14.86, allocations: 249.5 kB / 3.725 GB, free: 65.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02681/14.89, allocations: 9.322 MB / 3.734 GB, free: 65.2 MB / 0.698 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.08861/14.98, allocations: 46.01 MB / 3.779 GB, free: 45.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01817/15, allocations: 6.235 MB / 3.785 GB, free: 42.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01764/15.02, allocations: 5.42 MB / 3.791 GB, free: 40.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/15.02, allocations: 0.8263 MB / 3.792 GB, free: 40.14 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01236/15.03, allocations: 3.171 MB / 3.795 GB, free: 38.99 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0078/15.04, allocations: 0.5485 MB / 3.795 GB, free: 38.63 MB / 0.698 GB Notification: Performance of pre-optimization done (n=455): time 2.964e-05/15.04, allocations: 0 / 3.795 GB, free: 38.63 MB / 0.698 GB Notification: Performance of matching and sorting (n=455): time 0.02617/15.06, allocations: 6.223 MB / 3.801 GB, free: 36.36 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000126/15.06, allocations: 163 kB / 3.801 GB, free: 36.22 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02557/15.09, allocations: 7.01 MB / 3.808 GB, free: 33.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.001318/15.09, allocations: 110.7 kB / 3.808 GB, free: 33.72 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.008233/15.1, allocations: 4.274 MB / 3.813 GB, free: 30.49 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.003641/15.1, allocations: 1.579 MB / 3.814 GB, free: 29.29 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/15.11, allocations: 114.4 kB / 3.814 GB, free: 29.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0008066/15.11, allocations: 0.5422 MB / 3.815 GB, free: 28.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01099/15.12, allocations: 2.92 MB / 3.818 GB, free: 27.69 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01281/15.13, allocations: 4.73 MB / 3.822 GB, free: 22.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01527/15.15, allocations: 3.971 MB / 3.826 GB, free: 19.28 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.398e-05/15.15, allocations: 20 kB / 3.826 GB, free: 19.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02296/15.17, allocations: 8.533 MB / 3.834 GB, free: 11.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.478/15.65, allocations: 28.64 MB / 3.862 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001618/15.65, allocations: 57.27 kB / 3.862 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001755/15.65, allocations: 98.38 kB / 3.863 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00932/15.66, allocations: 1.449 MB / 3.864 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002488/15.66, allocations: 129.8 kB / 3.864 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/15.67, allocations: 0.6238 MB / 3.865 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00181/15.67, allocations: 284 kB / 3.865 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/15.67, allocations: 3.719 kB / 3.865 GB, free: 79.52 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02192/15.69, allocations: 7.944 MB / 3.873 GB, free: 79.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001836/15.69, allocations: 59.06 kB / 3.873 GB, free: 79.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000191/15.69, allocations: 97.12 kB / 3.873 GB, free: 79.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008698/15.7, allocations: 1.452 MB / 3.874 GB, free: 79.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000245/15.7, allocations: 123.8 kB / 3.874 GB, free: 79.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009988/15.71, allocations: 0.5931 MB / 3.875 GB, free: 79.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001749/15.71, allocations: 285.3 kB / 3.875 GB, free: 79.37 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 15 ($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,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 746 * 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.002446/15.71, allocations: 0.5326 MB / 3.876 GB, free: 79.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002597/15.72, allocations: 0.7125 MB / 3.877 GB, free: 79.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02125/15.74, allocations: 7.001 MB / 3.883 GB, free: 78.93 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.998e-05/15.74, allocations: 42.97 kB / 3.883 GB, free: 78.93 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.865e-05/15.74, allocations: 5.172 kB / 3.883 GB, free: 78.93 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01456/15.75, allocations: 5.701 MB / 3.889 GB, free: 78.7 MB / 0.7136 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.04538/15.8, allocations: 16.36 MB / 3.905 GB, free: 77.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/15.8, allocations: 0 / 3.905 GB, free: 77.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00655/15.81, allocations: 0.9233 MB / 3.906 GB, free: 77.71 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.837e-05/15.81, allocations: 20.7 kB / 3.906 GB, free: 77.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009774/15.81, allocations: 121.2 kB / 3.906 GB, free: 77.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.701e-05/15.81, allocations: 16.45 kB / 3.906 GB, free: 77.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.722e-06/15.81, allocations: 3.969 kB / 3.906 GB, free: 77.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02262/15.83, allocations: 10.59 MB / 3.916 GB, free: 76.96 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006525/15.84, allocations: 1.68 MB / 3.918 GB, free: 76.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003028/15.84, allocations: 97.38 kB / 3.918 GB, free: 76.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008564/15.85, allocations: 0.5592 MB / 3.919 GB, free: 76.49 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00123/15.85, allocations: 258 kB / 3.919 GB, free: 76.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007989/15.85, allocations: 145.2 kB / 3.919 GB, free: 76.48 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.01319/15.86, allocations: 5.465 MB / 3.924 GB, free: 76.24 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.007e-06/15.86, allocations: 0 / 3.924 GB, free: 76.24 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.02061/15.88, allocations: 4.914 MB / 3.929 GB, free: 75.88 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (451): * Single equations (assignments): 447 * 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.002759/15.89, allocations: 0.9544 MB / 3.93 GB, free: 75.74 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02429/15.91, allocations: 11.26 MB / 3.941 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/15.91, allocations: 6.438 kB / 3.941 GB, free: 75.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.006704/15.92, allocations: 3.122 MB / 3.944 GB, free: 75.25 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02439/15.94, allocations: 4.385 MB / 3.948 GB, free: 75.16 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04187/15.98, allocations: 16.73 MB / 3.965 GB, free: 72.35 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.014/16, allocations: 6.268 MB / 3.971 GB, free: 87.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.02757/16.03, allocations: 6.549 MB / 3.977 GB, free: 87.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003061/16.03, allocations: 0.4914 MB / 3.978 GB, free: 87.22 MB / 0.7292 GB Notification: Performance of SimCode: time 1.892e-06/16.03, allocations: 0 / 3.978 GB, free: 87.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.8189/16.85, allocations: 158.7 MB / 4.133 GB, free: 113.5 MB / 0.7448 GB