Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.38/3.38, allocations: 343.7 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.882e-05, allocations: 4 kB / 436.6 MB, free: 2.359 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1886, allocations: 77.73 MB / 0.5023 GB, free: 4.48 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.551/1.74, allocations: 360.5 MB / 0.8544 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004011/1.74, allocations: 92.69 kB / 0.8545 GB, free: 165.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.4763/2.217, allocations: 100 MB / 0.9521 GB, free: 70.25 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.134e-06/2.217, allocations: 0 / 0.9521 GB, free: 70.25 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4e-05/2.217, allocations: 12 kB / 0.9521 GB, free: 70.24 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00141/2.218, allocations: 0.6609 MB / 0.9528 GB, free: 69.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/2.218, allocations: 8.031 kB / 0.9528 GB, free: 69.52 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/2.218, allocations: 62.53 kB / 0.9528 GB, free: 69.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002559/2.219, allocations: 47.48 kB / 0.9529 GB, free: 69.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02041/2.239, allocations: 6.37 MB / 0.9591 GB, free: 62.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/2.239, allocations: 20.56 kB / 0.9591 GB, free: 62.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.213e-05/2.239, allocations: 24 kB / 0.9592 GB, free: 62.88 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006283/2.24, allocations: 293 kB / 0.9594 GB, free: 62.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/2.24, allocations: 0 / 0.9594 GB, free: 62.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.109e-05/2.24, allocations: 12 kB / 0.9594 GB, free: 62.56 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/2.24, allocations: 7.953 kB / 0.9595 GB, free: 62.55 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004138/2.24, allocations: 157 kB / 0.9596 GB, free: 62.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002497/2.243, allocations: 1.477 MB / 0.961 GB, free: 60.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/2.243, allocations: 126.6 kB / 0.9612 GB, free: 60.66 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001363/2.244, allocations: 53.11 kB / 0.9612 GB, free: 60.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/2.244, allocations: 89.09 kB / 0.9613 GB, free: 60.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002528/2.244, allocations: 119.2 kB / 0.9614 GB, free: 60.37 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 3.416e-06/2.244, allocations: 0 / 0.9614 GB, free: 60.37 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0004513/2.245, allocations: 145.3 kB / 0.9616 GB, free: 60.22 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/2.245, allocations: 55.41 kB / 0.9616 GB, free: 60.15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/2.245, allocations: 315.5 kB / 0.9619 GB, free: 59.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/2.245, allocations: 29.7 kB / 0.9619 GB, free: 59.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/2.245, allocations: 215.9 kB / 0.9621 GB, free: 59.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/2.245, allocations: 55.23 kB / 0.9622 GB, free: 59.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.904e-05/2.245, allocations: 4 kB / 0.9622 GB, free: 59.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.432e-05/2.246, allocations: 338.8 kB / 0.9625 GB, free: 59.19 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/2.246, allocations: 55.98 kB / 0.9626 GB, free: 59.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/2.246, allocations: 121.4 kB / 0.9627 GB, free: 58.98 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/2.246, allocations: 105.6 kB / 0.9628 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/2.246, allocations: 3.953 kB / 0.9628 GB, free: 58.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005966/2.247, allocations: 268 kB / 0.9631 GB, free: 58.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.245e-05/2.247, allocations: 40.31 kB / 0.9631 GB, free: 58.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/2.247, allocations: 4 kB / 0.9631 GB, free: 58.55 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/2.247, allocations: 11.88 kB / 0.9631 GB, free: 58.54 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004379/2.247, allocations: 59.95 kB / 0.9632 GB, free: 58.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/2.247, allocations: 7.938 kB / 0.9632 GB, free: 58.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/2.248, allocations: 39.8 kB / 0.9632 GB, free: 58.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.532e-05/2.248, allocations: 15.98 kB / 0.9632 GB, free: 58.42 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (29): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001074/2.248, allocations: 120.9 kB / 0.9633 GB, free: 58.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/2.248, allocations: 31.62 kB / 0.9634 GB, free: 58.26 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/2.249, allocations: 160.7 kB / 0.9635 GB, free: 58.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/2.249, allocations: 4 kB / 0.9635 GB, free: 58.09 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/2.249, allocations: 3.984 kB / 0.9635 GB, free: 58.09 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003629/2.249, allocations: 455.7 kB / 0.964 GB, free: 57.56 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/2.25, allocations: 357.3 kB / 0.9643 GB, free: 57.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/2.25, allocations: 0 / 0.9643 GB, free: 57.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003132/2.25, allocations: 35.97 kB / 0.9643 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/2.25, allocations: 0 / 0.9643 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/2.25, allocations: 8 kB / 0.9643 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/2.25, allocations: 3.953 kB / 0.9644 GB, free: 57.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/2.25, allocations: 0 / 0.9644 GB, free: 57.11 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/2.251, allocations: 241.1 kB / 0.9646 GB, free: 56.86 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000171/2.251, allocations: 128.7 kB / 0.9647 GB, free: 56.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/2.251, allocations: 0 / 0.9647 GB, free: 56.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003711/2.251, allocations: 23.97 kB / 0.9647 GB, free: 56.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/2.251, allocations: 15.94 kB / 0.9647 GB, free: 56.68 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/2.251, allocations: 11.98 kB / 0.9648 GB, free: 56.66 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003546/2.252, allocations: 234.2 kB / 0.965 GB, free: 56.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/2.252, allocations: 4 kB / 0.965 GB, free: 56.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007231/2.252, allocations: 139.7 kB / 0.9651 GB, free: 56.29 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001191/2.254, allocations: 0.9116 MB / 0.966 GB, free: 55.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004648/2.254, allocations: 202.3 kB / 0.9662 GB, free: 55.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/2.254, allocations: 3.938 kB / 0.9662 GB, free: 55.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/2.254, allocations: 55.92 kB / 0.9663 GB, free: 55.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/2.256, allocations: 203 kB / 0.9664 GB, free: 54.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/2.258, allocations: 0.6295 MB / 0.9671 GB, free: 54.23 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/2.258, allocations: 0.7962 MB / 0.9678 GB, free: 53.41 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004512/2.259, allocations: 59.19 kB / 0.9679 GB, free: 53.35 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/2.259, allocations: 119.4 kB / 0.968 GB, free: 53.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/2.259, allocations: 0 / 0.968 GB, free: 53.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04081/2.3, allocations: 10.54 MB / 0.9783 GB, free: 42.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000277/2.3, allocations: 153.2 kB / 0.9784 GB, free: 42.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.767/5.067, allocations: 3.938 kB / 0.9785 GB, free: 42.65 MB / 0.6511 GB