Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Validation.StratifiedLoadingUnloading,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_Validation_StratifiedLoadingUnloading",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.77/3.77, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.578e-05, allocations: 4 kB / 0.4991 GB, free: 13.37 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6127/0.6128, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.72, allocations: 381.6 MB / 0.9622 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/1.72, allocations: 90.08 kB / 0.9623 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.227/10.95, allocations: 1.74 GB / 2.703 GB, free: 113 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.444e-06/10.95, allocations: 0 / 2.703 GB, free: 113 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001608/10.95, allocations: 198.1 kB / 2.703 GB, free: 113 MB / 0.8073 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.03335/10.98, allocations: 6.2 MB / 2.709 GB, free: 110.7 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 6.073e-05/10.98, allocations: 14.84 kB / 2.709 GB, free: 110.6 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005067/10.99, allocations: 0.8515 MB / 2.71 GB, free: 110.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00873/11, allocations: 0.8786 MB / 2.711 GB, free: 110.2 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04163/11.04, allocations: 8.556 MB / 2.719 GB, free: 109.3 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009167/11.04, allocations: 471.1 kB / 2.719 GB, free: 109.2 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003929/11.04, allocations: 0.6172 MB / 2.72 GB, free: 109.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04113/11.08, allocations: 8.522 MB / 2.728 GB, free: 108 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005054/11.08, allocations: 24.25 kB / 2.728 GB, free: 108 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003205/11.09, allocations: 267.5 kB / 2.729 GB, free: 108 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003862/11.09, allocations: 190 kB / 2.729 GB, free: 108 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03319/11.12, allocations: 6.865 MB / 2.735 GB, free: 108 MB / 0.8073 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.1047/11.23, allocations: 37.49 MB / 2.772 GB, free: 83.59 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01531/11.24, allocations: 4.448 MB / 2.776 GB, free: 81.78 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01245/11.25, allocations: 3.698 MB / 2.78 GB, free: 80.54 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002007/11.26, allocations: 491.8 kB / 2.78 GB, free: 80.15 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01039/11.27, allocations: 2.666 MB / 2.783 GB, free: 79.15 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006336/11.27, allocations: 0.5068 MB / 2.784 GB, free: 78.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=362): time 2.139e-05/11.27, allocations: 0 / 2.784 GB, free: 78.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=390): time 0.07664/11.35, allocations: 16.36 MB / 2.8 GB, free: 65.08 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001353/11.35, allocations: 252.7 kB / 2.8 GB, free: 64.78 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0191/11.37, allocations: 5.102 MB / 2.805 GB, free: 60.34 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001325/11.37, allocations: 97.7 kB / 2.805 GB, free: 60.24 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.006521/11.38, allocations: 3.2 MB / 2.808 GB, free: 57.35 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003434/11.38, allocations: 1.368 MB / 2.809 GB, free: 56.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001049/11.38, allocations: 103.9 kB / 2.809 GB, free: 56.01 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0005908/11.38, allocations: 0.5024 MB / 2.81 GB, free: 55.56 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009292/11.39, allocations: 2.361 MB / 2.812 GB, free: 53.49 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01124/11.4, allocations: 3.942 MB / 2.816 GB, free: 49.21 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/11.41, allocations: 3.198 MB / 2.819 GB, free: 46.05 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.225e-05/11.41, allocations: 16 kB / 2.819 GB, free: 46.03 MB / 0.8073 GB Notification: Performance of matching and sorting (n=636) (initialization): time 0.0299/11.44, allocations: 7.315 MB / 2.826 GB, free: 38.68 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/11.45, allocations: 61.69 kB / 2.826 GB, free: 38.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-05/11.45, allocations: 48 kB / 2.826 GB, free: 38.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002194/11.45, allocations: 437 kB / 2.827 GB, free: 38.13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/11.46, allocations: 1.17 MB / 2.828 GB, free: 36.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01117/11.47, allocations: 5.285 MB / 2.833 GB, free: 31.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01365/11.49, allocations: 0.5066 MB / 2.834 GB, free: 30.92 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001731/11.49, allocations: 236 kB / 2.834 GB, free: 30.69 MB / 0.8073 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 (607): * Single equations (assignments): 604 * 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.002117/11.49, allocations: 419.2 kB / 2.834 GB, free: 30.27 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002588/11.49, allocations: 0.548 MB / 2.835 GB, free: 29.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02704/11.52, allocations: 6.377 MB / 2.841 GB, free: 23.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-05/11.52, allocations: 47.92 kB / 2.841 GB, free: 23.3 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.43e-05/11.52, allocations: 12 kB / 2.841 GB, free: 23.29 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02033/11.54, allocations: 5.152 MB / 2.846 GB, free: 18.11 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05811/11.6, allocations: 14.02 MB / 2.86 GB, free: 3.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.216e-05/11.6, allocations: 10.84 kB / 2.86 GB, free: 3.926 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01018/11.61, allocations: 0.8038 MB / 2.861 GB, free: 3.121 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/11.61, allocations: 377.4 kB / 2.861 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001123/11.61, allocations: 119.9 kB / 2.861 GB, free: 2.629 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6795/12.29, allocations: 5.209 MB / 2.866 GB, free: 111.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.326e-05/12.29, allocations: 16.19 kB / 2.866 GB, free: 111.5 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0235/12.31, allocations: 9.902 MB / 2.876 GB, free: 109.5 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005916/12.32, allocations: 1.336 MB / 2.877 GB, free: 109.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00247/12.32, allocations: 96.23 kB / 2.877 GB, free: 109.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008721/12.33, allocations: 487.8 kB / 2.878 GB, free: 109.4 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/12.33, allocations: 285.3 kB / 2.878 GB, free: 109.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005896/12.33, allocations: 150.6 kB / 2.878 GB, free: 109.4 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.01067/12.34, allocations: 3.966 MB / 2.882 GB, free: 109.2 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8.72e-07/12.34, allocations: 0 / 2.882 GB, free: 109.2 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01041/12.35, allocations: 1.799 MB / 2.884 GB, free: 109.2 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 20 (tanEnh.vol[1].ports[3].h_outflow,tanEnh.vol[2].ports[3].h_outflow,tanEnh.vol[3].ports[3].h_outflow,tanEnh.vol[4].ports[3].h_outflow,tanEnh.vol[5].ports[3].h_outflow,tanEnh.vol[6].ports[3].h_outflow,tanEnh.vol[7].ports[3].h_outflow,tan.port_a.h_outflow,tan.port_b.h_outflow,tan.vol[2].ports[2].h_outflow,tan.vol[3].ports[2].h_outflow,tan.vol[4].ports[2].h_outflow,tan.vol[5].ports[2].h_outflow,tan.vol[6].ports[2].h_outflow,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 (394): * Single equations (assignments): 376 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 2 * 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 Backend phase and start with SimCode phase: time 0.02446/12.38, allocations: 12.92 MB / 2.896 GB, free: 105 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01454/12.39, allocations: 6.048 MB / 2.902 GB, free: 104.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/12.39, allocations: 2.281 kB / 2.902 GB, free: 104.6 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007093/12.4, allocations: 3.006 MB / 2.905 GB, free: 104.3 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02626/12.43, allocations: 3.284 MB / 2.908 GB, free: 104.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04612/12.47, allocations: 15.34 MB / 2.923 GB, free: 101.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008567/12.48, allocations: 4.937 MB / 2.928 GB, free: 100.8 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.01231/12.49, allocations: 2.155 MB / 2.93 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008541/12.5, allocations: 2.854 MB / 2.933 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of SimCode: time 1.203e-06/12.5, allocations: 3.938 kB / 2.933 GB, free: 100.7 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.463/12.97, allocations: 185.8 MB / 3.115 GB, free: 13.25 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/12.97, allocations: 224.1 kB / 3.115 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.196/22.16, allocations: 0 / 3.115 GB, free: 13.02 MB / 0.8073 GB