Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.853/3.853, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.696e-05/4.702e-05, allocations: 11.92 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5865/0.5865, allocations: 92.67 MB / 0.5896 GB, free: 14.4 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.257/6.844, allocations: 2.158 GB / 2.748 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/6.844, allocations: 84.58 kB / 2.748 GB, free: 102.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 10.37/17.21, allocations: 1.922 GB / 4.67 GB, free: 202.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.645e-06/17.21, allocations: 0 / 4.67 GB, free: 202.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0002382/17.21, allocations: 35.48 kB / 4.67 GB, free: 202.5 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.007738/17.22, allocations: 1.339 MB / 4.672 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/17.22, allocations: 7.75 kB / 4.672 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005155/17.22, allocations: 115.3 kB / 4.672 GB, free: 201.9 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/17.22, allocations: 193.9 kB / 4.672 GB, free: 201.8 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006765/17.23, allocations: 1.377 MB / 4.673 GB, free: 201.5 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/17.23, allocations: 58.48 kB / 4.673 GB, free: 201.5 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002469/17.23, allocations: 77.44 kB / 4.673 GB, free: 201.5 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008209/17.24, allocations: 1.743 MB / 4.675 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.134e-05/17.24, allocations: 9.672 kB / 4.675 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/17.24, allocations: 26.34 kB / 4.675 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.177e-05/17.24, allocations: 19.41 kB / 4.675 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007859/17.25, allocations: 1.489 MB / 4.677 GB, free: 201.3 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007928/17.26, allocations: 5.21 MB / 4.682 GB, free: 197.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008083/17.26, allocations: 4.724 MB / 4.686 GB, free: 193.6 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007993/17.26, allocations: 358.7 kB / 4.687 GB, free: 193.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 7.01e-05/17.26, allocations: 18.38 kB / 4.687 GB, free: 193.6 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006428/17.27, allocations: 1.11 MB / 4.688 GB, free: 193.4 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008984/17.27, allocations: 45.84 kB / 4.688 GB, free: 193.4 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 5.13e-06/17.27, allocations: 0 / 4.688 GB, free: 193.4 MB / 0.7761 GB Notification: Performance of matching and sorting (n=41): time 0.03982/17.31, allocations: 4.793 MB / 4.693 GB, free: 193.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001731/17.31, allocations: 450.4 kB / 4.693 GB, free: 192.8 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00229/17.31, allocations: 1.079 MB / 4.694 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002526/17.31, allocations: 43.45 kB / 4.694 GB, free: 192.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006101/17.32, allocations: 0.5713 MB / 4.695 GB, free: 192.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/17.32, allocations: 142.3 kB / 4.695 GB, free: 192.3 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.351e-05/17.32, allocations: 14.62 kB / 4.695 GB, free: 192.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 7.766e-05/17.32, allocations: 326.5 kB / 4.695 GB, free: 192 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008876/17.32, allocations: 388.2 kB / 4.695 GB, free: 192 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/17.32, allocations: 0.7838 MB / 4.696 GB, free: 191.6 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/17.32, allocations: 478.3 kB / 4.697 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/17.32, allocations: 3.781 kB / 4.697 GB, free: 191.5 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.03001/17.35, allocations: 4.011 MB / 4.701 GB, free: 191.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006408/17.35, allocations: 2.68 MB / 4.703 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/17.35, allocations: 3.938 kB / 4.703 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00189/17.35, allocations: 0.6669 MB / 4.704 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/17.35, allocations: 98.83 kB / 4.704 GB, free: 188.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004198/17.36, allocations: 1.777 MB / 4.706 GB, free: 188.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003579/17.36, allocations: 253.8 kB / 4.706 GB, free: 188.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/17.36, allocations: 37.77 kB / 4.706 GB, free: 188.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/17.36, allocations: 3.625 kB / 4.706 GB, free: 188.1 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002292/17.36, allocations: 0.848 MB / 4.707 GB, free: 188 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/17.36, allocations: 7 kB / 4.707 GB, free: 188 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/17.36, allocations: 257 kB / 4.707 GB, free: 188 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007431/17.36, allocations: 106 kB / 4.707 GB, free: 188 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/17.37, allocations: 3.074 MB / 4.71 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/17.37, allocations: 110 kB / 4.71 GB, free: 186.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001071/17.37, allocations: 36.92 kB / 4.71 GB, free: 186.6 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 (50): * Single equations (assignments): 48 * 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.0003835/17.37, allocations: 164.6 kB / 4.71 GB, free: 186.5 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003071/17.37, allocations: 122.8 kB / 4.711 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/17.37, allocations: 128 kB / 4.711 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/17.37, allocations: 11.38 kB / 4.711 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/17.37, allocations: 0 / 4.711 GB, free: 186.4 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.198e-06/17.37, allocations: 6.375 kB / 4.711 GB, free: 186.4 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.03511/17.41, allocations: 6.389 MB / 4.717 GB, free: 185.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/17.41, allocations: 2.812 kB / 4.717 GB, free: 185.1 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000568/17.41, allocations: 65.11 kB / 4.717 GB, free: 185.1 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/17.41, allocations: 0.5915 MB / 4.718 GB, free: 185.1 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001033/17.41, allocations: 23.7 kB / 4.718 GB, free: 185.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04519/17.46, allocations: 9.098 MB / 4.727 GB, free: 183.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/17.46, allocations: 3.469 kB / 4.727 GB, free: 183.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02912/17.49, allocations: 4.022 MB / 4.73 GB, free: 183.2 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/17.49, allocations: 287.2 kB / 4.731 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003355/17.49, allocations: 13.84 kB / 4.731 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00294/17.49, allocations: 226.2 kB / 4.731 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004148/17.49, allocations: 60.78 kB / 4.731 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.767e-05/17.49, allocations: 21.64 kB / 4.731 GB, free: 183.1 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001665/17.49, allocations: 0.8522 MB / 4.732 GB, free: 182.9 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.01e-07/17.49, allocations: 0 / 4.732 GB, free: 182.9 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003972/17.5, allocations: 0.8009 MB / 4.733 GB, free: 182.9 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 (28): * Single equations (assignments): 25 * 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.03157/17.53, allocations: 6.347 MB / 4.739 GB, free: 180.9 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004934/17.53, allocations: 1.648 MB / 4.74 GB, free: 179.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/17.53, allocations: 0 / 4.74 GB, free: 179.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.002491/17.54, allocations: 0.6526 MB / 4.741 GB, free: 179.4 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006864/17.54, allocations: 0.7238 MB / 4.742 GB, free: 179.1 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005955/17.55, allocations: 2.084 MB / 4.744 GB, free: 177.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/17.55, allocations: 1.261 MB / 4.745 GB, free: 176.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003769/17.55, allocations: 0.7553 MB / 4.746 GB, free: 176.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006462/17.55, allocations: 372.8 kB / 4.746 GB, free: 176 MB / 0.7761 GB Notification: Performance of SimCode: time 1.212e-06/17.55, allocations: 0 / 4.746 GB, free: 176 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1464/17.7, allocations: 69.69 MB / 4.814 GB, free: 107.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002848/17.7, allocations: 251.9 kB / 4.814 GB, free: 107.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.884/23.58, allocations: 0 / 4.814 GB, free: 107.4 MB / 0.7761 GB