Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedEnhancedInternalHex,fileNamePrefix="Buildings_latest_Buildings_Fluid_Storage_Examples_StratifiedEnhancedInternalHex",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.255/4.255, allocations: 464.6 MB / 476.8 MB, free: 2.227 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.988e-05/4.004e-05, allocations: 4 kB / 0.5732 GB, free: 5.676 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2538, allocations: 107.1 MB / 0.6778 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.327/1.581, allocations: 413.1 MB / 1.081 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/1.582, allocations: 97.38 kB / 1.081 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 24.37/25.95, allocations: 4.476 GB / 5.558 GB, free: 95.22 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.743e-06/25.95, allocations: 0 / 5.558 GB, free: 95.22 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.003039/25.96, allocations: 396.4 kB / 5.558 GB, free: 95.17 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3221 * Number of variables: 3221 Notification: Performance of Generate backend data structure: time 0.06202/26.02, allocations: 13.64 MB / 5.571 GB, free: 90.27 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.29e-05/26.02, allocations: 12 kB / 5.571 GB, free: 90.27 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008854/26.03, allocations: 1.68 MB / 5.573 GB, free: 90.15 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/26.04, allocations: 1.87 MB / 5.575 GB, free: 89.26 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06501/26.11, allocations: 17.71 MB / 5.592 GB, free: 87.38 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001614/26.11, allocations: 0.9729 MB / 5.593 GB, free: 87.36 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006867/26.12, allocations: 1.303 MB / 5.594 GB, free: 87.34 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06426/26.18, allocations: 17.81 MB / 5.612 GB, free: 85.06 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009595/26.18, allocations: 38.06 kB / 5.612 GB, free: 85.04 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005778/26.19, allocations: 0.532 MB / 5.612 GB, free: 85.04 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004418/26.19, allocations: 354.5 kB / 5.613 GB, free: 85.03 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05106/26.24, allocations: 15.12 MB / 5.627 GB, free: 84.86 MB / 1.01 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.187/26.43, allocations: 80.7 MB / 5.706 GB, free: 36.48 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02972/26.46, allocations: 11.75 MB / 5.718 GB, free: 28.16 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01477/26.47, allocations: 6.036 MB / 5.724 GB, free: 22.77 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1018/26.57, allocations: 29.25 MB / 5.752 GB, free: 0 / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001851/26.57, allocations: 125.1 kB / 5.752 GB, free: 15.87 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01055/26.58, allocations: 0.7713 MB / 5.753 GB, free: 15.09 MB / 1.026 GB Notification: Performance of pre-optimization done (n=651): time 2.111e-05/26.58, allocations: 0 / 5.753 GB, free: 15.09 MB / 1.026 GB Notification: Performance of matching and sorting (n=651): time 0.03411/26.62, allocations: 10.15 MB / 5.763 GB, free: 6.148 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/26.62, allocations: 120.5 kB / 5.763 GB, free: 6.016 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9333/27.55, allocations: 11.91 MB / 5.775 GB, free: 120.5 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002572/27.55, allocations: 182.5 kB / 5.775 GB, free: 120.4 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01122/27.56, allocations: 7.114 MB / 5.782 GB, free: 119.1 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.004937/27.57, allocations: 2.294 MB / 5.784 GB, free: 117.9 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002974/27.57, allocations: 230.6 kB / 5.784 GB, free: 117.9 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.001417/27.57, allocations: 0.7718 MB / 5.785 GB, free: 117.6 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0182/27.59, allocations: 5.57 MB / 5.79 GB, free: 117.6 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02234/27.61, allocations: 9.384 MB / 5.8 GB, free: 113 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02124/27.64, allocations: 7.51 MB / 5.807 GB, free: 112.9 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002935/27.64, allocations: 36.59 kB / 5.807 GB, free: 112.9 MB / 1.026 GB Notification: Performance of matching and sorting (n=1467) (initialization): time 0.05872/27.7, allocations: 17.85 MB / 5.824 GB, free: 112 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.01526/27.71, allocations: 68.62 MB / 5.891 GB, free: 40.58 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006478/27.71, allocations: 119.5 kB / 5.892 GB, free: 40.58 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1841/27.9, allocations: 11.86 MB / 5.903 GB, free: 40.44 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01864/27.91, allocations: 2.4 MB / 5.905 GB, free: 40.44 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0273/27.94, allocations: 20.14 MB / 5.925 GB, free: 44.37 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0227/27.96, allocations: 1.096 MB / 5.926 GB, free: 44.28 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003625/27.97, allocations: 0.5455 MB / 5.927 GB, free: 44.28 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/27.97, allocations: 6.594 kB / 5.927 GB, free: 44.28 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05151/28.02, allocations: 16.83 MB / 5.943 GB, free: 43.86 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004623/28.02, allocations: 117.9 kB / 5.943 GB, free: 43.86 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1845/28.2, allocations: 11.87 MB / 5.955 GB, free: 43.2 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01829/28.22, allocations: 2.372 MB / 5.957 GB, free: 43.04 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02627/28.25, allocations: 18.37 MB / 5.975 GB, free: 32.58 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02129/28.27, allocations: 1.046 MB / 5.976 GB, free: 32.46 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00446/28.28, allocations: 0.5384 MB / 5.977 GB, free: 32.46 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 549 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1233): * Single equations (assignments): 1215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,2 17,2 17,2 17,2 17,2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.007041/28.28, allocations: 0.7689 MB / 5.977 GB, free: 32.11 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007298/28.29, allocations: 1.147 MB / 5.979 GB, free: 31.5 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05123/28.34, allocations: 11.31 MB / 5.99 GB, free: 30.88 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001439/28.34, allocations: 68.23 kB / 5.99 GB, free: 30.88 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.261e-05/28.34, allocations: 6.062 kB / 5.99 GB, free: 30.88 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03276/28.37, allocations: 9.312 MB / 5.999 GB, free: 30.26 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08211/28.46, allocations: 25.46 MB / 6.024 GB, free: 28.8 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.399e-05/28.46, allocations: 17.52 kB / 6.024 GB, free: 28.79 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0106/28.47, allocations: 1.126 MB / 6.025 GB, free: 28.73 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09482/28.56, allocations: 6.424 MB / 6.031 GB, free: 28.28 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001887/28.56, allocations: 183.8 kB / 6.031 GB, free: 28.28 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02174/28.59, allocations: 17.77 MB / 6.049 GB, free: 32.14 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.569e-05/28.59, allocations: 16.31 kB / 6.049 GB, free: 32.14 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04468/28.63, allocations: 21.03 MB / 6.069 GB, free: 25.97 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01359/28.64, allocations: 2.753 MB / 6.072 GB, free: 25.25 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005484/28.65, allocations: 155.9 kB / 6.072 GB, free: 25.25 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01691/28.67, allocations: 0.7538 MB / 6.073 GB, free: 25.16 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002145/28.67, allocations: 442.1 kB / 6.073 GB, free: 25.12 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001162/28.67, allocations: 279.2 kB / 6.073 GB, free: 25.12 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.02467/28.69, allocations: 9.074 MB / 6.082 GB, free: 24.75 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.453e-06/28.69, allocations: 0 / 6.082 GB, free: 24.75 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.04245/28.74, allocations: 7.886 MB / 6.09 GB, free: 23.53 MB / 1.057 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 30 (tanSte.vol[1].dynBal.U,tanSte.vol[2].dynBal.U,tanSte.vol[3].dynBal.U,tanSte.vol[4].dynBal.U,tanDyn.vol[1].dynBal.U,tanDyn.vol[2].dynBal.U,tanDyn.vol[3].dynBal.U,tanDyn.vol[4].dynBal.U,tanDyn.indTanHex.vol[1].dynBal.U,tanDyn.indTanHex.vol[2].dynBal.U,tanDyn.indTanHex.vol[3].dynBal.U,tanDyn.indTanHex.vol[4].dynBal.U,tanDyn.indTanHex.vol[5].dynBal.U,tanDyn.indTanHex.vol[6].dynBal.U,tanDyn.indTanHex.cap[1].T,tanDyn.indTanHex.cap[2].T,tanDyn.indTanHex.cap[3].T,tanDyn.indTanHex.cap[4].T,tanDyn.indTanHex.cap[5].T,tanDyn.indTanHex.cap[6].T,tanDynSol.vol[1].dynBal.U,tanDynSol.vol[2].dynBal.U,tanDynSol.vol[3].dynBal.U,tanDynSol.vol[4].dynBal.U,tanDynSol.indTanHex.cap[1].T,tanDynSol.indTanHex.cap[2].T,tanDynSol.indTanHex.cap[3].T,tanDynSol.indTanHex.cap[4].T,tanDynSol.indTanHex.cap[5].T,tanDynSol.indTanHex.cap[6].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (561): * Single equations (assignments): 537 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 8,(1,100.0%) 8,(1,100.0%) 8} * Non-linear torn systems: 12 {2 16,2 16,2 16,2 16,2 16,2 16,1 5,1 5,1 5,1 5,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.05104/28.79, allocations: 24.51 MB / 6.114 GB, free: 25.86 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06318/28.85, allocations: 21.54 MB / 6.135 GB, free: 12.53 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-05/28.85, allocations: 4.562 kB / 6.135 GB, free: 12.52 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.01776/28.87, allocations: 5.244 MB / 6.14 GB, free: 7.879 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05279/28.92, allocations: 6.13 MB / 6.146 GB, free: 3.48 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.898/30.82, allocations: 32.94 MB / 6.178 GB, free: 162.1 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0288/30.85, allocations: 10.14 MB / 6.188 GB, free: 161.1 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.05627/30.91, allocations: 8.952 MB / 6.197 GB, free: 160.9 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01773/30.92, allocations: 6.056 MB / 6.203 GB, free: 160.9 MB / 1.089 GB Notification: Performance of SimCode: time 2.935e-06/30.92, allocations: 1.5 kB / 6.203 GB, free: 160.9 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.861/32.78, allocations: 414.3 MB / 6.607 GB, free: 159.3 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/32.78, allocations: 248.3 kB / 6.608 GB, free: 159 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.93/57.72, allocations: 0 / 6.608 GB, free: 159 MB / 1.12 GB