Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.452/4.452, allocations: 404.1 MB / 411.3 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.703e-05, allocations: 4 kB / 0.4945 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6822/0.6823, allocations: 92.68 MB / 0.585 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.253/1.935, allocations: 380.9 MB / 0.957 GB, free: 15.37 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003903/1.936, allocations: 87.75 kB / 0.9571 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.84/12.77, allocations: 1.731 GB / 2.688 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.005e-06/12.77, allocations: 0 / 2.688 GB, free: 109.7 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.001469/12.78, allocations: 189.7 kB / 2.688 GB, free: 109.7 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1609 * Number of variables: 1609 Notification: Performance of Generate backend data structure: time 0.03111/12.81, allocations: 6.197 MB / 2.694 GB, free: 107.4 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/12.81, allocations: 7.188 kB / 2.694 GB, free: 107.4 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007434/12.81, allocations: 0.8752 MB / 2.695 GB, free: 107 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0364/12.85, allocations: 8.56 MB / 2.704 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005632/12.85, allocations: 202 kB / 2.704 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003267/12.86, allocations: 370.3 kB / 2.704 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02559/12.88, allocations: 6.412 MB / 2.71 GB, free: 106 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03407/12.91, allocations: 7.624 MB / 2.718 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005843/12.92, allocations: 21.19 kB / 2.718 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003052/12.92, allocations: 11.09 kB / 2.718 GB, free: 104.8 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003447/12.92, allocations: 193.4 kB / 2.718 GB, free: 104.8 MB / 0.7917 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.08991/13.01, allocations: 36.29 MB / 2.753 GB, free: 84.15 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/13.02, allocations: 4.3 MB / 2.758 GB, free: 82.36 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01008/13.03, allocations: 3.327 MB / 2.761 GB, free: 81.19 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001971/13.03, allocations: 486.7 kB / 2.761 GB, free: 80.8 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009045/13.04, allocations: 2.57 MB / 2.764 GB, free: 79.85 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005623/13.05, allocations: 378.7 kB / 2.764 GB, free: 79.66 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=362): time 3.923e-05/13.05, allocations: 2.125 kB / 2.764 GB, free: 79.66 MB / 0.7917 GB Notification: Performance of matching and sorting (n=376): time 0.06932/13.12, allocations: 14.84 MB / 2.779 GB, free: 72.15 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/13.12, allocations: 248.6 kB / 2.779 GB, free: 71.86 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01321/13.13, allocations: 4.207 MB / 2.783 GB, free: 68.22 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.001228/13.13, allocations: 29.7 kB / 2.783 GB, free: 68.19 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00528/13.14, allocations: 3.187 MB / 2.786 GB, free: 65.3 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.002924/13.14, allocations: 1.268 MB / 2.787 GB, free: 64.14 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001129/13.14, allocations: 0 / 2.787 GB, free: 64.14 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0005852/13.14, allocations: 0.494 MB / 2.788 GB, free: 63.69 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006701/13.15, allocations: 2.145 MB / 2.79 GB, free: 61.83 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008291/13.16, allocations: 3.68 MB / 2.794 GB, free: 57.8 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/13.17, allocations: 3.337 MB / 2.797 GB, free: 55.11 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-05/13.17, allocations: 16 kB / 2.797 GB, free: 55.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=622) (initialization): time 0.02741/13.2, allocations: 6.848 MB / 2.804 GB, free: 49.23 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/13.2, allocations: 53.59 kB / 2.804 GB, free: 49.18 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.294e-05/13.2, allocations: 52 kB / 2.804 GB, free: 49.12 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001964/13.2, allocations: 439.3 kB / 2.804 GB, free: 48.77 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/13.21, allocations: 1.079 MB / 2.805 GB, free: 47.83 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00998/13.22, allocations: 5.142 MB / 2.81 GB, free: 42.98 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01086/13.23, allocations: 364.4 kB / 2.811 GB, free: 42.71 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001672/13.23, allocations: 237.8 kB / 2.811 GB, free: 42.49 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 223 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (593): * Single equations (assignments): 590 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002622/13.24, allocations: 243.3 kB / 2.811 GB, free: 42.24 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02307/13.26, allocations: 5.542 MB / 2.816 GB, free: 37.49 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002762/13.26, allocations: 489.9 kB / 2.817 GB, free: 37 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02881/13.29, allocations: 6.572 MB / 2.823 GB, free: 31.05 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001209/13.29, allocations: 43.98 kB / 2.823 GB, free: 31.01 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.245e-05/13.29, allocations: 8 kB / 2.823 GB, free: 31 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02243/13.31, allocations: 5.519 MB / 2.829 GB, free: 25.41 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05315/13.37, allocations: 13.31 MB / 2.842 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.587e-05/13.37, allocations: 8 kB / 2.842 GB, free: 11.9 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007858/13.37, allocations: 0.6756 MB / 2.842 GB, free: 11.22 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004278/13.38, allocations: 0.9404 MB / 2.843 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001143/13.38, allocations: 59.95 kB / 2.843 GB, free: 10.18 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01893/13.4, allocations: 13.36 MB / 2.856 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.179e-05/13.4, allocations: 11.94 kB / 2.856 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03552/13.43, allocations: 10.21 MB / 2.866 GB, free: 1.547 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007193/13.44, allocations: 1.225 MB / 2.868 GB, free: 304 kB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003178/13.45, allocations: 27.98 kB / 2.868 GB, free: 276 kB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.8675/14.31, allocations: 425.1 kB / 2.868 GB, free: 118.8 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001974/14.31, allocations: 270 kB / 2.868 GB, free: 118.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001695/14.32, allocations: 142.6 kB / 2.868 GB, free: 118.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.01223/14.33, allocations: 3.203 MB / 2.872 GB, free: 118.6 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.62e-07/14.33, allocations: 0 / 2.872 GB, free: 118.6 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01509/14.34, allocations: 1.674 MB / 2.873 GB, free: 118.6 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 20 (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,tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U,tan.vol[6].dynBal.U,tan.vol[7].dynBal.U,HIn_flow.h_out,HOut_flow.h_out,HInEnh_flow.h_out,HOutEnh_flow.h_out,dHTanEnh.y,dHTan.y) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (338): * Single equations (assignments): 320 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 14 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.03698/14.38, allocations: 13.2 MB / 2.886 GB, free: 114.5 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01672/14.4, allocations: 5.496 MB / 2.891 GB, free: 114.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.066e-05/14.4, allocations: 1.875 kB / 2.891 GB, free: 114.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.009951/14.41, allocations: 2.91 MB / 2.894 GB, free: 114 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02859/14.44, allocations: 2.574 MB / 2.897 GB, free: 113.9 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07444/14.51, allocations: 14.45 MB / 2.911 GB, free: 111.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01585/14.53, allocations: 4.884 MB / 2.916 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01645/14.54, allocations: 1.869 MB / 2.918 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01147/14.56, allocations: 2.801 MB / 2.92 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of SimCode: time 2.254e-06/14.56, allocations: 3.562 kB / 2.92 GB, free: 110.4 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5017/15.06, allocations: 154.8 MB / 3.071 GB, free: 61.54 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002342/15.06, allocations: 191.4 kB / 3.072 GB, free: 61.34 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 9.821/24.88, allocations: 0 / 3.072 GB, free: 61.34 MB / 0.8073 GB