Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.16/4.16, allocations: 460.4 MB / 472.6 MB, free: 5.387 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.457e-05/4.465e-05, allocations: 10.67 kB / 0.5682 GB, free: 10.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2346, allocations: 106.2 MB / 0.6719 GB, free: 15.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.145/7.38, allocations: 2.184 GB / 2.856 GB, free: 262.3 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/7.38, allocations: 89.52 kB / 2.856 GB, free: 262.3 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.443/16.82, allocations: 1.921 GB / 4.778 GB, free: 80.21 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.076e-06/16.82, allocations: 4 kB / 4.778 GB, free: 80.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002094/16.82, allocations: 31.98 kB / 4.778 GB, free: 80.17 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.007129/16.83, allocations: 1.273 MB / 4.779 GB, free: 78.84 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/16.83, allocations: 8.031 kB / 4.779 GB, free: 78.83 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005336/16.83, allocations: 102.5 kB / 4.779 GB, free: 78.72 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/16.83, allocations: 198.3 kB / 4.779 GB, free: 78.53 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007317/16.84, allocations: 1.451 MB / 4.781 GB, free: 77.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/16.84, allocations: 49.3 kB / 4.781 GB, free: 76.98 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002124/16.84, allocations: 64 kB / 4.781 GB, free: 76.91 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/16.84, allocations: 0.9245 MB / 4.782 GB, free: 75.91 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.667e-05/16.84, allocations: 7.922 kB / 4.782 GB, free: 75.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/16.84, allocations: 24 kB / 4.782 GB, free: 75.88 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/16.84, allocations: 12 kB / 4.782 GB, free: 75.87 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/16.84, allocations: 0.6889 MB / 4.782 GB, free: 75.18 MB / 0.8855 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.006168/16.85, allocations: 4.702 MB / 4.787 GB, free: 70.15 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002185/16.85, allocations: 3.956 MB / 4.791 GB, free: 65.36 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006092/16.85, allocations: 332.6 kB / 4.791 GB, free: 65.03 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/16.85, allocations: 190.2 kB / 4.791 GB, free: 64.81 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006071/16.85, allocations: 309.4 kB / 4.792 GB, free: 64.49 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000735/16.85, allocations: 27.69 kB / 4.792 GB, free: 64.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 4.288e-06/16.85, allocations: 0 / 4.792 GB, free: 64.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.002156/16.86, allocations: 0.7598 MB / 4.792 GB, free: 63.69 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.607e-05/16.86, allocations: 85.05 kB / 4.792 GB, free: 63.59 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/16.86, allocations: 1.036 MB / 4.793 GB, free: 62.54 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/16.86, allocations: 37.7 kB / 4.793 GB, free: 62.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005342/16.86, allocations: 0.5244 MB / 4.794 GB, free: 61.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001306/16.86, allocations: 126.3 kB / 4.794 GB, free: 61.84 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.164e-05/16.86, allocations: 8 kB / 4.794 GB, free: 61.83 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/16.86, allocations: 329.9 kB / 4.794 GB, free: 61.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004629/16.86, allocations: 189 kB / 4.795 GB, free: 61.32 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007237/16.86, allocations: 0.5199 MB / 4.795 GB, free: 60.65 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/16.86, allocations: 323.2 kB / 4.795 GB, free: 60.33 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/16.86, allocations: 0 / 4.795 GB, free: 60.33 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002564/16.86, allocations: 0.9361 MB / 4.796 GB, free: 59.38 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006132/16.87, allocations: 2.229 MB / 4.799 GB, free: 56.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.779e-05/16.87, allocations: 8 kB / 4.799 GB, free: 56.97 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/16.87, allocations: 268.5 kB / 4.799 GB, free: 56.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006448/16.87, allocations: 75.83 kB / 4.799 GB, free: 56.63 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/16.87, allocations: 1.042 MB / 4.8 GB, free: 55.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/16.87, allocations: 103.8 kB / 4.8 GB, free: 55.46 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/16.87, allocations: 28 kB / 4.8 GB, free: 55.44 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/16.87, allocations: 7.953 kB / 4.8 GB, free: 55.43 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002079/16.87, allocations: 0.752 MB / 4.801 GB, free: 54.67 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/16.87, allocations: 7.938 kB / 4.801 GB, free: 54.66 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/16.87, allocations: 257.7 kB / 4.801 GB, free: 54.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/16.87, allocations: 79.89 kB / 4.801 GB, free: 54.33 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/16.88, allocations: 3.072 MB / 4.804 GB, free: 51.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/16.88, allocations: 99.8 kB / 4.804 GB, free: 51.03 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.471e-05/16.88, allocations: 27.98 kB / 4.804 GB, free: 51 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (37): * Single equations (assignments): 35 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002548/16.88, allocations: 153 kB / 4.804 GB, free: 50.84 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/16.88, allocations: 106.7 kB / 4.804 GB, free: 50.74 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/16.88, allocations: 0.7815 MB / 4.805 GB, free: 49.94 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/16.88, allocations: 7.984 kB / 4.805 GB, free: 49.93 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/16.88, allocations: 11.89 kB / 4.805 GB, free: 49.92 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/16.88, allocations: 0 / 4.805 GB, free: 49.92 MB / 0.8855 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.004386/16.89, allocations: 2.117 MB / 4.807 GB, free: 47.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/16.89, allocations: 4 kB / 4.807 GB, free: 47.66 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004487/16.89, allocations: 56.14 kB / 4.807 GB, free: 47.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007954/16.89, allocations: 205.6 kB / 4.808 GB, free: 47.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.772e-05/16.89, allocations: 12 kB / 4.808 GB, free: 47.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009577/16.89, allocations: 0.8801 MB / 4.808 GB, free: 46.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/16.89, allocations: 0 / 4.808 GB, free: 46.48 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/16.89, allocations: 0.9468 MB / 4.809 GB, free: 45.45 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/16.89, allocations: 239.7 kB / 4.81 GB, free: 45.19 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/16.89, allocations: 16 kB / 4.81 GB, free: 45.18 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001361/16.9, allocations: 83.7 kB / 4.81 GB, free: 45.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/16.9, allocations: 35.89 kB / 4.81 GB, free: 45.06 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/16.9, allocations: 12 kB / 4.81 GB, free: 45.05 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001623/16.9, allocations: 0.8184 MB / 4.81 GB, free: 44.22 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.11e-07/16.9, allocations: 4 kB / 4.81 GB, free: 44.21 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002923/16.9, allocations: 0.6089 MB / 4.811 GB, free: 43.61 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (23): * Single equations (assignments): 20 * 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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.003715/16.9, allocations: 2.989 MB / 4.814 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002715/16.91, allocations: 1.092 MB / 4.815 GB, free: 39.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/16.91, allocations: 0 / 4.815 GB, free: 39.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006431/16.91, allocations: 231.8 kB / 4.815 GB, free: 39.17 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006131/16.91, allocations: 0.6526 MB / 4.816 GB, free: 38.52 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004717/16.92, allocations: 1.768 MB / 4.818 GB, free: 36.68 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/16.92, allocations: 1.242 MB / 4.819 GB, free: 35.41 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.003602/16.92, allocations: 0.8045 MB / 4.82 GB, free: 34.61 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005454/16.92, allocations: 339.3 kB / 4.82 GB, free: 34.27 MB / 0.8855 GB Notification: Performance of SimCode: time 1.143e-06/16.92, allocations: 0 / 4.82 GB, free: 34.27 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7493/17.67, allocations: 52.81 MB / 4.872 GB, free: 234.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/17.67, allocations: 250.7 kB / 4.872 GB, free: 234.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.736/22.41, allocations: 0 / 4.872 GB, free: 234.4 MB / 0.8855 GB