Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.295/3.295, allocations: 343.8 MB / 355.9 MB, free: 9.371 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.032e-05, allocations: 8 kB / 436.7 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1791, allocations: 77.73 MB / 0.5023 GB, free: 4.465 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.469/1.648, allocations: 392.6 MB / 0.8857 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/1.648, allocations: 92.95 kB / 0.8858 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.996/6.644, allocations: 0.9376 GB / 1.823 GB, free: 98.09 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.134e-06/6.644, allocations: 1.688 kB / 1.823 GB, free: 98.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0005399/6.645, allocations: 84.58 kB / 1.823 GB, free: 98.07 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01027/6.655, allocations: 2.668 MB / 1.826 GB, free: 97.14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/6.655, allocations: 6.875 kB / 1.826 GB, free: 97.14 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001495/6.656, allocations: 331.5 kB / 1.826 GB, free: 97.09 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/6.659, allocations: 352.8 kB / 1.827 GB, free: 96.93 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/6.67, allocations: 3.001 MB / 1.83 GB, free: 96.48 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/6.67, allocations: 183.2 kB / 1.83 GB, free: 96.48 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001103/6.671, allocations: 237.8 kB / 1.83 GB, free: 96.47 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009996/6.681, allocations: 2.908 MB / 1.833 GB, free: 96.12 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/6.681, allocations: 3.156 kB / 1.833 GB, free: 96.12 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006987/6.682, allocations: 99.19 kB / 1.833 GB, free: 96.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/6.682, allocations: 67.78 kB / 1.833 GB, free: 96.12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008288/6.69, allocations: 2.296 MB / 1.835 GB, free: 96.11 MB / 0.6667 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.02919/6.72, allocations: 12.9 MB / 1.848 GB, free: 89.89 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004283/6.724, allocations: 1.596 MB / 1.849 GB, free: 89.75 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002651/6.727, allocations: 1.118 MB / 1.851 GB, free: 89.73 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/6.728, allocations: 0.713 MB / 1.851 GB, free: 88.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/6.728, allocations: 51.88 kB / 1.851 GB, free: 88.94 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002847/6.731, allocations: 226.4 kB / 1.852 GB, free: 88.88 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=126): time 1.083e-05/6.731, allocations: 2.094 kB / 1.852 GB, free: 88.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=126): time 0.005295/6.736, allocations: 1.69 MB / 1.853 GB, free: 88.68 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.886e-05/6.736, allocations: 146.8 kB / 1.853 GB, free: 88.53 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004671/6.741, allocations: 1.856 MB / 1.855 GB, free: 88.29 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.00043/6.741, allocations: 51.27 kB / 1.855 GB, free: 88.26 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001639/6.743, allocations: 1.246 MB / 1.856 GB, free: 87.74 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008192/6.744, allocations: 442.5 kB / 1.857 GB, free: 87.47 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001931/6.744, allocations: 32.5 kB / 1.857 GB, free: 87.47 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001616/6.744, allocations: 375.7 kB / 1.857 GB, free: 87.16 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001783/6.746, allocations: 0.6912 MB / 1.858 GB, free: 87.16 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002419/6.749, allocations: 1.206 MB / 1.859 GB, free: 86.56 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002395/6.751, allocations: 0.919 MB / 1.86 GB, free: 86.54 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/6.751, allocations: 6.781 kB / 1.86 GB, free: 86.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00681/6.758, allocations: 2.286 MB / 1.862 GB, free: 86.36 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0013/6.759, allocations: 5.698 MB / 1.868 GB, free: 80.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.171e-05/6.759, allocations: 18.06 kB / 1.868 GB, free: 80.4 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002733/6.762, allocations: 459.8 kB / 1.868 GB, free: 80.38 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002825/6.765, allocations: 352.9 kB / 1.869 GB, free: 80.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/6.77, allocations: 3.09 MB / 1.872 GB, free: 78.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004089/6.774, allocations: 229.3 kB / 1.872 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005371/6.774, allocations: 74.97 kB / 1.872 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/6.774, allocations: 4.531 kB / 1.872 GB, free: 78.47 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005881/6.78, allocations: 2.07 MB / 1.874 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.691e-05/6.78, allocations: 11.78 kB / 1.874 GB, free: 78.42 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009451/6.781, allocations: 234.5 kB / 1.874 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002986/6.784, allocations: 377.7 kB / 1.874 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005708/6.79, allocations: 4.151 MB / 1.879 GB, free: 75.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003875/6.794, allocations: 219.1 kB / 1.879 GB, free: 75.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005568/6.795, allocations: 85.06 kB / 1.879 GB, free: 75.69 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * Array equations: 0 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.0006144/6.795, allocations: 209.6 kB / 1.879 GB, free: 75.57 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007801/6.796, allocations: 203.7 kB / 1.879 GB, free: 75.47 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005794/6.802, allocations: 1.978 MB / 1.881 GB, free: 75.35 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.063e-05/6.802, allocations: 17.84 kB / 1.881 GB, free: 75.35 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/6.802, allocations: 3.062 kB / 1.881 GB, free: 75.35 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004126/6.806, allocations: 1.583 MB / 1.883 GB, free: 75.23 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/6.82, allocations: 4.53 MB / 1.887 GB, free: 74.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/6.82, allocations: 3.25 kB / 1.887 GB, free: 74.79 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/6.822, allocations: 213.4 kB / 1.887 GB, free: 74.79 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002478/6.824, allocations: 408.6 kB / 1.888 GB, free: 74.77 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003512/6.825, allocations: 42.52 kB / 1.888 GB, free: 74.77 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/6.829, allocations: 2.992 MB / 1.891 GB, free: 72.9 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/6.829, allocations: 3.375 kB / 1.891 GB, free: 72.9 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007053/6.836, allocations: 2.917 MB / 1.894 GB, free: 72.49 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002107/6.838, allocations: 0.5124 MB / 1.894 GB, free: 72.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008825/6.839, allocations: 28.75 kB / 1.894 GB, free: 72.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003309/6.842, allocations: 185.4 kB / 1.894 GB, free: 72.28 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005514/6.843, allocations: 94.41 kB / 1.894 GB, free: 72.28 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/6.843, allocations: 48.48 kB / 1.894 GB, free: 72.28 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.003612/6.847, allocations: 1.42 MB / 1.896 GB, free: 72.12 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.364e-06/6.847, allocations: 3.906 kB / 1.896 GB, free: 72.12 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.007836/6.855, allocations: 1.51 MB / 1.897 GB, free: 71.87 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (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) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.008792/6.864, allocations: 4.162 MB / 1.901 GB, free: 70.68 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.008745/6.872, allocations: 3.231 MB / 1.904 GB, free: 70.3 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/6.872, allocations: 0 / 1.904 GB, free: 70.3 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002572/6.875, allocations: 0.9571 MB / 1.905 GB, free: 70.18 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009712/6.885, allocations: 1.136 MB / 1.907 GB, free: 70.14 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/6.901, allocations: 5.032 MB / 1.911 GB, free: 69.18 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003169/6.904, allocations: 2.201 MB / 1.914 GB, free: 68.43 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.007651/6.912, allocations: 1.37 MB / 1.915 GB, free: 68.39 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002444/6.914, allocations: 0.9804 MB / 1.916 GB, free: 68.38 MB / 0.6667 GB Notification: Performance of SimCode: time 1.413e-06/6.914, allocations: 0 / 1.916 GB, free: 68.38 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1696/7.084, allocations: 71.98 MB / 1.986 GB, free: 35.07 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002873/7.084, allocations: 249 kB / 1.986 GB, free: 34.74 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.467/12.55, allocations: 0 / 1.986 GB, free: 34.74 MB / 0.6667 GB