Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.127/4.127, allocations: 464.6 MB / 476.8 MB, free: 2.219 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.129e-05/4.132e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.656 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2392/0.2393, allocations: 107.2 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.074/7.313, allocations: 2.185 GB / 2.862 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/7.314, allocations: 91.22 kB / 2.863 GB, free: 259.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 9.552/16.87, allocations: 1.921 GB / 4.784 GB, free: 35.12 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.394e-06/16.87, allocations: 3.938 kB / 4.784 GB, free: 35.12 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002104/16.87, allocations: 31.98 kB / 4.784 GB, free: 35.09 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.006862/16.87, allocations: 1.273 MB / 4.785 GB, free: 33.75 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/16.87, allocations: 8.031 kB / 4.785 GB, free: 33.75 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004309/16.87, allocations: 98.52 kB / 4.785 GB, free: 33.64 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001551/16.87, allocations: 198.3 kB / 4.785 GB, free: 33.45 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006528/16.88, allocations: 1.453 MB / 4.787 GB, free: 31.94 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.376e-05/16.88, allocations: 53.25 kB / 4.787 GB, free: 31.89 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000198/16.88, allocations: 64 kB / 4.787 GB, free: 31.82 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/16.88, allocations: 0.9189 MB / 4.788 GB, free: 30.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.329e-05/16.88, allocations: 0 / 4.788 GB, free: 30.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.755e-05/16.88, allocations: 24 kB / 4.788 GB, free: 30.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/16.88, allocations: 12 kB / 4.788 GB, free: 30.79 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/16.89, allocations: 0.6967 MB / 4.789 GB, free: 30.09 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.006325/16.89, allocations: 4.698 MB / 4.793 GB, free: 25.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002096/16.89, allocations: 3.952 MB / 4.797 GB, free: 20.29 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000661/16.89, allocations: 339.1 kB / 4.797 GB, free: 19.95 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003935/16.89, allocations: 198.2 kB / 4.798 GB, free: 19.72 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/16.9, allocations: 305.4 kB / 4.798 GB, free: 19.41 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006976/16.9, allocations: 27.69 kB / 4.798 GB, free: 19.38 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=36): time 5.019e-06/16.9, allocations: 0 / 4.798 GB, free: 19.38 MB / 0.8855 GB Notification: Performance of matching and sorting (n=36): time 0.002188/16.9, allocations: 0.759 MB / 4.799 GB, free: 18.61 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/16.9, allocations: 81.11 kB / 4.799 GB, free: 18.51 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/16.9, allocations: 1.036 MB / 4.8 GB, free: 17.46 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001309/16.9, allocations: 41.7 kB / 4.8 GB, free: 17.41 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/16.9, allocations: 0.5166 MB / 4.8 GB, free: 16.89 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/16.9, allocations: 122.3 kB / 4.8 GB, free: 16.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/16.9, allocations: 12 kB / 4.8 GB, free: 16.76 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.149e-05/16.9, allocations: 329.9 kB / 4.801 GB, free: 16.43 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/16.9, allocations: 185 kB / 4.801 GB, free: 16.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006729/16.9, allocations: 0.5315 MB / 4.801 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005579/16.9, allocations: 312 kB / 4.802 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/16.9, allocations: 0 / 4.802 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002377/16.91, allocations: 0.9436 MB / 4.803 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.000479/16.91, allocations: 2.233 MB / 4.805 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/16.91, allocations: 8 kB / 4.805 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/16.91, allocations: 268.5 kB / 4.805 GB, free: 11.63 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/16.91, allocations: 75.88 kB / 4.805 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/16.91, allocations: 1.034 MB / 4.806 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001918/16.91, allocations: 103.8 kB / 4.806 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.424e-05/16.91, allocations: 31.98 kB / 4.806 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/16.91, allocations: 7.953 kB / 4.806 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00198/16.91, allocations: 0.7478 MB / 4.807 GB, free: 9.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/16.91, allocations: 8 kB / 4.807 GB, free: 9.59 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001044/16.91, allocations: 248.8 kB / 4.807 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005647/16.91, allocations: 83.83 kB / 4.807 GB, free: 9.262 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005174/16.92, allocations: 3.069 MB / 4.81 GB, free: 6.062 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/16.92, allocations: 99.8 kB / 4.81 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.45e-05/16.92, allocations: 27.94 kB / 4.81 GB, free: 5.938 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.0002288/16.92, allocations: 154.5 kB / 4.811 GB, free: 5.781 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/16.92, allocations: 106.7 kB / 4.811 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002017/16.92, allocations: 0.7892 MB / 4.811 GB, free: 4.875 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/16.92, allocations: 4 kB / 4.811 GB, free: 4.871 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/16.92, allocations: 7.953 kB / 4.811 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/16.92, allocations: 0 / 4.811 GB, free: 4.863 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.004335/16.93, allocations: 2.141 MB / 4.814 GB, free: 2.582 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/16.93, allocations: 4 kB / 4.814 GB, free: 2.578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004558/16.93, allocations: 48.22 kB / 4.814 GB, free: 2.531 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007726/16.93, allocations: 204.8 kB / 4.814 GB, free: 2.328 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.844e-05/16.93, allocations: 12 kB / 4.814 GB, free: 2.316 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009763/16.93, allocations: 0.8737 MB / 4.815 GB, free: 1.418 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/16.93, allocations: 7.984 kB / 4.815 GB, free: 1.41 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/16.93, allocations: 0.9594 MB / 4.816 GB, free: 372 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/16.93, allocations: 239.7 kB / 4.816 GB, free: 112 kB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001964/16.93, allocations: 12 kB / 4.816 GB, free: 100 kB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/16.94, allocations: 83.7 kB / 4.816 GB, free: 16 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.6214/17.56, allocations: 25.41 kB / 4.816 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.507e-05/17.56, allocations: 13.81 kB / 4.816 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002136/17.56, allocations: 0.8192 MB / 4.817 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.51e-07/17.56, allocations: 0 / 4.817 GB, free: 227.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003343/17.56, allocations: 0.6066 MB / 4.817 GB, free: 227.4 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.004666/17.57, allocations: 2.974 MB / 4.82 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003595/17.57, allocations: 1.09 MB / 4.821 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 7.645e-06/17.57, allocations: 0 / 4.821 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0007735/17.57, allocations: 238 kB / 4.822 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006404/17.58, allocations: 0.651 MB / 4.822 GB, free: 225.6 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005304/17.58, allocations: 1.767 MB / 4.824 GB, free: 225.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/17.58, allocations: 1.237 MB / 4.825 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004256/17.59, allocations: 0.8037 MB / 4.826 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006807/17.59, allocations: 337.8 kB / 4.826 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.313e-06/17.59, allocations: 8.906 kB / 4.826 GB, free: 224.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/17.72, allocations: 52.79 MB / 4.878 GB, free: 223.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002496/17.72, allocations: 264.8 kB / 4.878 GB, free: 223.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.791/22.51, allocations: 0 / 4.878 GB, free: 223.1 MB / 0.8855 GB