Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildSysPro): time 3.098/3.098, allocations: 325.3 MB / 337.4 MB, free: 10.1 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.622e-05, allocations: 4 kB / 414.9 MB, free: 6.035 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1911, allocations: 74.42 MB / 489.3 MB, free: 11.47 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.454/1.645, allocations: 372.1 MB / 0.8412 GB, free: 139.1 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003152/1.646, allocations: 91.25 kB / 0.8413 GB, free: 139 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 14.85/16.49, allocations: 2.803 GB / 3.645 GB, free: 23.08 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.765e-06/16.5, allocations: 0 / 3.645 GB, free: 23.08 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.001699/16.5, allocations: 251.8 kB / 3.645 GB, free: 22.83 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: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.03359/16.53, allocations: 8.235 MB / 3.653 GB, free: 14.5 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/16.53, allocations: 12.03 kB / 3.653 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005618/16.54, allocations: 1.134 MB / 3.654 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008234/16.54, allocations: 1.155 MB / 3.655 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04028/16.58, allocations: 12.02 MB / 3.667 GB, free: 144 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5668/17.15, allocations: 0.6129 MB / 3.667 GB, free: 53.84 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004474/17.16, allocations: 0.8172 MB / 3.668 GB, free: 53.84 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04641/17.2, allocations: 11.31 MB / 3.679 GB, free: 52.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007459/17.2, allocations: 23.39 kB / 3.679 GB, free: 52.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003889/17.21, allocations: 349 kB / 3.68 GB, free: 52.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004644/17.21, allocations: 255.9 kB / 3.68 GB, free: 52.7 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03639/17.24, allocations: 9.321 MB / 3.689 GB, free: 52.67 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.1051/17.35, allocations: 46.43 MB / 3.734 GB, free: 49.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01582/17.37, allocations: 6.192 MB / 3.74 GB, free: 49.35 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/17.38, allocations: 5.357 MB / 3.746 GB, free: 49.25 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001978/17.38, allocations: 0.8204 MB / 3.746 GB, free: 48.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01004/17.39, allocations: 3.224 MB / 3.75 GB, free: 48.34 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006828/17.4, allocations: 0.5409 MB / 3.75 GB, free: 48.18 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=452): time 2.515e-05/17.4, allocations: 0 / 3.75 GB, free: 48.18 MB / 0.6823 GB Notification: Performance of matching and sorting (n=452): time 0.02055/17.42, allocations: 6.278 MB / 3.756 GB, free: 47.64 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/17.42, allocations: 160.1 kB / 3.756 GB, free: 47.51 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01839/17.44, allocations: 6.825 MB / 3.763 GB, free: 47.09 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.001334/17.44, allocations: 107 kB / 3.763 GB, free: 47.06 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.006562/17.44, allocations: 4.261 MB / 3.767 GB, free: 45.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00323/17.45, allocations: 1.563 MB / 3.769 GB, free: 44.74 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001014/17.45, allocations: 125.6 kB / 3.769 GB, free: 44.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0006513/17.45, allocations: 0.5487 MB / 3.77 GB, free: 44.42 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008004/17.46, allocations: 2.851 MB / 3.772 GB, free: 44.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/17.47, allocations: 4.769 MB / 3.777 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/17.48, allocations: 3.93 MB / 3.781 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.602e-05/17.48, allocations: 16.06 kB / 3.781 GB, free: 41.98 MB / 0.6823 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.02627/17.5, allocations: 8.454 MB / 3.789 GB, free: 41.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.01392/17.52, allocations: 30.76 MB / 3.819 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002577/17.52, allocations: 63.12 kB / 3.819 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000189/17.52, allocations: 103.1 kB / 3.819 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01217/17.53, allocations: 1.465 MB / 3.821 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001996/17.53, allocations: 132.5 kB / 3.821 GB, free: 25.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01261/17.54, allocations: 0.5736 MB / 3.821 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001844/17.54, allocations: 291.7 kB / 3.822 GB, free: 25.37 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/17.54, allocations: 3.906 kB / 3.822 GB, free: 25.37 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02322/17.57, allocations: 7.857 MB / 3.829 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001974/17.57, allocations: 64.67 kB / 3.829 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/17.57, allocations: 105.1 kB / 3.83 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/17.58, allocations: 1.448 MB / 3.831 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002384/17.58, allocations: 134.6 kB / 3.831 GB, free: 25.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01222/17.59, allocations: 0.5473 MB / 3.832 GB, free: 25.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001996/17.6, allocations: 289.4 kB / 3.832 GB, free: 25.16 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 280 * 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 (747): * Single equations (assignments): 745 * 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.002933/17.6, allocations: 0.5388 MB / 3.832 GB, free: 24.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00294/17.6, allocations: 0.6956 MB / 3.833 GB, free: 24.59 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02178/17.62, allocations: 6.922 MB / 3.84 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.302e-05/17.62, allocations: 47.72 kB / 3.84 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/17.62, allocations: 3.094 kB / 3.84 GB, free: 24.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01673/17.64, allocations: 5.639 MB / 3.845 GB, free: 24.07 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 postOpt removeSimpleEquations (simulation): time 0.05406/17.69, allocations: 16.03 MB / 3.861 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.996e-05/17.69, allocations: 1.219 kB / 3.861 GB, free: 20.1 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009188/17.7, allocations: 0.9022 MB / 3.862 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.122e-05/17.7, allocations: 14.84 kB / 3.862 GB, free: 20.07 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001281/17.7, allocations: 120.7 kB / 3.862 GB, free: 20.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.129e-05/17.7, allocations: 15.09 kB / 3.862 GB, free: 20.01 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/17.7, allocations: 9.688 kB / 3.862 GB, free: 20.01 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02652/17.73, allocations: 10.31 MB / 3.872 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007432/17.74, allocations: 1.661 MB / 3.874 GB, free: 15.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003357/17.74, allocations: 99.61 kB / 3.874 GB, free: 15.04 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01104/17.75, allocations: 0.5306 MB / 3.874 GB, free: 14.95 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001433/17.76, allocations: 251.6 kB / 3.875 GB, free: 14.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009538/17.76, allocations: 160.5 kB / 3.875 GB, free: 14.88 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01441/17.77, allocations: 5.332 MB / 3.88 GB, free: 13.02 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.072e-06/17.77, allocations: 2.625 kB / 3.88 GB, free: 13.02 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.02405/17.79, allocations: 4.814 MB / 3.885 GB, free: 12.04 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (448): * Single equations (assignments): 444 * 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.03036/17.82, allocations: 11.66 MB / 3.896 GB, free: 6.125 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.03357/17.86, allocations: 11.31 MB / 3.907 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/17.86, allocations: 0 / 3.907 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.008911/17.87, allocations: 3.091 MB / 3.91 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03704/17.9, allocations: 4.329 MB / 3.914 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6332/18.54, allocations: 19.4 MB / 3.933 GB, free: 90.12 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01946/18.56, allocations: 6.241 MB / 3.939 GB, free: 89.23 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.03864/18.6, allocations: 6.572 MB / 3.946 GB, free: 89.16 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01113/18.61, allocations: 3.588 MB / 3.949 GB, free: 89.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.893e-06/18.61, allocations: 1.188 kB / 3.949 GB, free: 89.16 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5175/19.12, allocations: 233.4 MB / 4.177 GB, free: 1.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002724/19.13, allocations: 189.3 kB / 4.177 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/32.57, allocations: 4 kB / 4.177 GB, free: 1.508 MB / 0.7292 GB