Running command: "" <> buildModelFMU(IBPSA.Fluid.Storage.Examples.Stratified,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Storage_Examples_Stratified",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(IBPSA): time 2.905/2.905, allocations: 288.1 MB / 300.7 MB, free: 15.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.1e-05, allocations: 5.906 kB / 370.6 MB, free: 7.855 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1593, allocations: 67 MB / 437.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.371/1.53, allocations: 369.8 MB / 0.7885 GB, free: 156.8 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/1.531, allocations: 84.61 kB / 0.7886 GB, free: 156.8 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 15.23/16.76, allocations: 2.845 GB / 3.634 GB, free: 63.8 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.846e-06/16.76, allocations: 0 / 3.634 GB, free: 63.8 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.001762/16.76, allocations: 252.1 kB / 3.634 GB, free: 63.75 MB / 0.6198 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.03339/16.79, allocations: 8.288 MB / 3.642 GB, free: 60.57 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/16.79, allocations: 7.375 kB / 3.642 GB, free: 60.57 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006248/16.8, allocations: 1.136 MB / 3.643 GB, free: 60.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008627/16.81, allocations: 1.161 MB / 3.644 GB, free: 59.93 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03813/16.85, allocations: 10.72 MB / 3.655 GB, free: 56.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001007/16.85, allocations: 0.6143 MB / 3.656 GB, free: 56.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004225/16.85, allocations: 0.8108 MB / 3.656 GB, free: 56.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/16.89, allocations: 11.34 MB / 3.667 GB, free: 48.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005932/16.9, allocations: 23.78 kB / 3.667 GB, free: 48.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003729/16.9, allocations: 355.9 kB / 3.668 GB, free: 47.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003051/16.9, allocations: 254.9 kB / 3.668 GB, free: 47.73 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03162/16.93, allocations: 9.315 MB / 3.677 GB, free: 38.41 MB / 0.6198 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.6863/17.62, allocations: 46.1 MB / 3.722 GB, free: 54.84 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01768/17.63, allocations: 6.229 MB / 3.728 GB, free: 54.58 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01272/17.65, allocations: 5.418 MB / 3.733 GB, free: 54.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001922/17.65, allocations: 0.8281 MB / 3.734 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009636/17.66, allocations: 3.257 MB / 3.737 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00709/17.67, allocations: 0.5537 MB / 3.738 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=455): time 2.507e-05/17.67, allocations: 0 / 3.738 GB, free: 53.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=455): time 0.02035/17.69, allocations: 6.231 MB / 3.744 GB, free: 53.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/17.69, allocations: 156.2 kB / 3.744 GB, free: 53.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0197/17.71, allocations: 7.009 MB / 3.751 GB, free: 52.74 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.001476/17.71, allocations: 114 kB / 3.751 GB, free: 52.71 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006862/17.72, allocations: 4.272 MB / 3.755 GB, free: 51.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.00337/17.72, allocations: 1.581 MB / 3.757 GB, free: 50.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008397/17.72, allocations: 121.6 kB / 3.757 GB, free: 50.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0005792/17.72, allocations: 0.548 MB / 3.758 GB, free: 50.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008078/17.73, allocations: 2.91 MB / 3.76 GB, free: 50.35 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01001/17.74, allocations: 4.727 MB / 3.765 GB, free: 48.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01045/17.75, allocations: 3.965 MB / 3.769 GB, free: 48.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.346e-05/17.75, allocations: 16.75 kB / 3.769 GB, free: 48.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02893/17.78, allocations: 8.526 MB / 3.777 GB, free: 47.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0101/17.79, allocations: 28.64 MB / 3.805 GB, free: 33.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002577/17.79, allocations: 58.84 kB / 3.805 GB, free: 33.82 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/17.79, allocations: 98.06 kB / 3.805 GB, free: 33.82 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01216/17.8, allocations: 1.445 MB / 3.807 GB, free: 33.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002206/17.8, allocations: 133.7 kB / 3.807 GB, free: 33.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01352/17.81, allocations: 0.6269 MB / 3.808 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/17.82, allocations: 281.4 kB / 3.808 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/17.82, allocations: 6.156 kB / 3.808 GB, free: 33.75 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02377/17.84, allocations: 7.951 MB / 3.816 GB, free: 33.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002146/17.84, allocations: 54.59 kB / 3.816 GB, free: 33.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000147/17.84, allocations: 102.4 kB / 3.816 GB, free: 33.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/17.85, allocations: 1.444 MB / 3.817 GB, free: 33.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001971/17.85, allocations: 121.8 kB / 3.817 GB, free: 33.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01278/17.87, allocations: 0.595 MB / 3.818 GB, free: 33.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/17.87, allocations: 286.8 kB / 3.818 GB, free: 33.55 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * 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 (748): * Single equations (assignments): 746 * 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.003115/17.87, allocations: 0.5367 MB / 3.819 GB, free: 33.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003082/17.87, allocations: 0.7075 MB / 3.819 GB, free: 32.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02278/17.9, allocations: 6.998 MB / 3.826 GB, free: 32.69 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.196e-05/17.9, allocations: 48.97 kB / 3.826 GB, free: 32.69 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/17.9, allocations: 0 / 3.826 GB, free: 32.69 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01551/17.91, allocations: 5.701 MB / 3.832 GB, free: 32.45 MB / 0.6355 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.05391/17.97, allocations: 16.45 MB / 3.848 GB, free: 31.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.171e-05/17.97, allocations: 0 / 3.848 GB, free: 31.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009102/17.98, allocations: 0.9229 MB / 3.849 GB, free: 31.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.893e-05/17.98, allocations: 19.14 kB / 3.849 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001209/17.98, allocations: 124.5 kB / 3.849 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.239e-05/17.98, allocations: 16.19 kB / 3.849 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/17.98, allocations: 3.531 kB / 3.849 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0269/18, allocations: 10.59 MB / 3.859 GB, free: 30.46 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007902/18.01, allocations: 1.725 MB / 3.861 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003586/18.02, allocations: 95.91 kB / 3.861 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01194/18.03, allocations: 0.5544 MB / 3.862 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001548/18.03, allocations: 255.1 kB / 3.862 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001042/18.03, allocations: 194 kB / 3.862 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.01528/18.05, allocations: 5.469 MB / 3.867 GB, free: 29.72 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.693e-06/18.05, allocations: 0 / 3.867 GB, free: 29.72 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.02559/18.07, allocations: 4.916 MB / 3.872 GB, free: 29.03 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (451): * Single equations (assignments): 447 * 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.03092/18.1, allocations: 12.06 MB / 3.884 GB, free: 26.42 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02889/18.13, allocations: 11.25 MB / 3.895 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/18.13, allocations: 3.906 kB / 3.895 GB, free: 22.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.008243/18.14, allocations: 3.126 MB / 3.898 GB, free: 21.33 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03692/18.18, allocations: 4.388 MB / 3.902 GB, free: 20.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06372/18.24, allocations: 19.54 MB / 3.921 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01425/18.25, allocations: 6.269 MB / 3.927 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.03775/18.29, allocations: 6.587 MB / 3.934 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0116/18.3, allocations: 3.618 MB / 3.937 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of SimCode: time 1.653e-06/18.3, allocations: 0 / 3.937 GB, free: 8.551 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.056/19.36, allocations: 237.2 MB / 4.169 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003278/19.36, allocations: 200.6 kB / 4.169 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/33.65, allocations: 0 / 4.169 GB, free: 12.02 MB / 0.6667 GB