Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.687/3.687, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.011e-05, allocations: 4 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6119/0.612, allocations: 92.68 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.37/6.982, allocations: 2.156 GB / 2.746 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000377/6.982, allocations: 86.12 kB / 2.746 GB, free: 105.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 10.61/17.59, allocations: 1.913 GB / 4.658 GB, free: 201.7 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.454e-06/17.59, allocations: 0 / 4.658 GB, free: 201.7 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002762/17.59, allocations: 31.66 kB / 4.658 GB, free: 201.7 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.008181/17.6, allocations: 1.352 MB / 4.659 GB, free: 201.2 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/17.6, allocations: 9.812 kB / 4.659 GB, free: 201.2 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005856/17.6, allocations: 113.1 kB / 4.66 GB, free: 201.2 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/17.6, allocations: 192.1 kB / 4.66 GB, free: 201.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007083/17.61, allocations: 1.355 MB / 4.661 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/17.61, allocations: 61.03 kB / 4.661 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003172/17.61, allocations: 79.25 kB / 4.661 GB, free: 200.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008591/17.62, allocations: 1.735 MB / 4.663 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/17.62, allocations: 3.594 kB / 4.663 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/17.62, allocations: 27.91 kB / 4.663 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.245e-05/17.62, allocations: 18.5 kB / 4.663 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00809/17.63, allocations: 1.476 MB / 4.664 GB, free: 200.6 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009496/17.63, allocations: 5.236 MB / 4.67 GB, free: 197.2 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008394/17.64, allocations: 4.777 MB / 4.674 GB, free: 192.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/17.64, allocations: 356.7 kB / 4.675 GB, free: 192.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.414e-05/17.64, allocations: 11.38 kB / 4.675 GB, free: 192.9 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006515/17.65, allocations: 1.091 MB / 4.676 GB, free: 192.7 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001002/17.65, allocations: 47.48 kB / 4.676 GB, free: 192.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 7.905e-06/17.65, allocations: 0 / 4.676 GB, free: 192.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=41): time 0.03789/17.69, allocations: 4.606 MB / 4.68 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/17.69, allocations: 457.1 kB / 4.681 GB, free: 192.1 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002635/17.69, allocations: 1.084 MB / 4.682 GB, free: 191.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.000276/17.69, allocations: 37.33 kB / 4.682 GB, free: 191.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000722/17.69, allocations: 0.5682 MB / 4.682 GB, free: 191.7 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003181/17.69, allocations: 141 kB / 4.682 GB, free: 191.6 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.452e-05/17.69, allocations: 16.28 kB / 4.682 GB, free: 191.6 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.047e-05/17.69, allocations: 332.7 kB / 4.683 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009348/17.7, allocations: 384.7 kB / 4.683 GB, free: 191.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001394/17.7, allocations: 0.788 MB / 4.684 GB, free: 190.9 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/17.7, allocations: 487.4 kB / 4.684 GB, free: 190.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/17.7, allocations: 3.094 kB / 4.684 GB, free: 190.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.02814/17.73, allocations: 3.85 MB / 4.688 GB, free: 190.7 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.000744/17.73, allocations: 2.677 MB / 4.691 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.651e-05/17.73, allocations: 10.52 kB / 4.691 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/17.73, allocations: 0.6181 MB / 4.691 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008864/17.73, allocations: 104.1 kB / 4.691 GB, free: 187.9 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/17.73, allocations: 1.71 MB / 4.693 GB, free: 187.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/17.74, allocations: 240.7 kB / 4.693 GB, free: 187.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/17.74, allocations: 50.31 kB / 4.693 GB, free: 187.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/17.74, allocations: 8.047 kB / 4.693 GB, free: 187.4 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002484/17.74, allocations: 0.8122 MB / 4.694 GB, free: 187.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/17.74, allocations: 9.219 kB / 4.694 GB, free: 187.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/17.74, allocations: 230 kB / 4.694 GB, free: 187.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007601/17.74, allocations: 99.53 kB / 4.694 GB, free: 187.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005309/17.75, allocations: 2.892 MB / 4.697 GB, free: 185.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002426/17.75, allocations: 112.1 kB / 4.697 GB, free: 185.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/17.75, allocations: 32.62 kB / 4.697 GB, free: 185.9 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0004325/17.75, allocations: 158.4 kB / 4.698 GB, free: 185.8 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000492/17.75, allocations: 121.1 kB / 4.698 GB, free: 185.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/17.75, allocations: 133.1 kB / 4.698 GB, free: 185.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/17.75, allocations: 6.812 kB / 4.698 GB, free: 185.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/17.75, allocations: 0 / 4.698 GB, free: 185.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/17.75, allocations: 6.484 kB / 4.698 GB, free: 185.7 MB / 0.7761 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.03395/17.79, allocations: 6.198 MB / 4.704 GB, free: 184.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/17.79, allocations: 3.875 kB / 4.704 GB, free: 184.4 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/17.79, allocations: 69.34 kB / 4.704 GB, free: 184.4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/17.79, allocations: 0.5544 MB / 4.704 GB, free: 184.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/17.79, allocations: 18.08 kB / 4.705 GB, free: 184.4 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03921/17.83, allocations: 8.147 MB / 4.712 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/17.83, allocations: 7.688 kB / 4.712 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02716/17.85, allocations: 3.855 MB / 4.716 GB, free: 182.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/17.86, allocations: 288.4 kB / 4.717 GB, free: 182.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005705/17.86, allocations: 21.8 kB / 4.717 GB, free: 182.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003275/17.86, allocations: 213.8 kB / 4.717 GB, free: 182.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000482/17.86, allocations: 52.84 kB / 4.717 GB, free: 182.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.291e-05/17.86, allocations: 24.98 kB / 4.717 GB, free: 182.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001899/17.86, allocations: 0.8474 MB / 4.718 GB, free: 182.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.433e-06/17.86, allocations: 2.719 kB / 4.718 GB, free: 182.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.004324/17.87, allocations: 0.7756 MB / 4.718 GB, free: 182.3 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0295/17.9, allocations: 6.135 MB / 4.724 GB, free: 180.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.005078/17.9, allocations: 1.624 MB / 4.726 GB, free: 180.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/17.9, allocations: 3.25 kB / 4.726 GB, free: 180.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001538/17.9, allocations: 0.5716 MB / 4.727 GB, free: 180.1 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00704/17.91, allocations: 0.7142 MB / 4.727 GB, free: 180 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/17.92, allocations: 2.079 MB / 4.729 GB, free: 179.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009003/17.92, allocations: 1.262 MB / 4.731 GB, free: 178.8 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004145/17.92, allocations: 0.7663 MB / 4.731 GB, free: 178.8 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007912/17.92, allocations: 378.6 kB / 4.732 GB, free: 178.8 MB / 0.7761 GB Notification: Performance of SimCode: time 1.964e-06/17.92, allocations: 0 / 4.732 GB, free: 178.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1549/18.08, allocations: 67.78 MB / 4.798 GB, free: 121.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/18.08, allocations: 247.3 kB / 4.798 GB, free: 121.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.687/23.76, allocations: 3.188 kB / 4.798 GB, free: 121.5 MB / 0.7761 GB