Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.082/2.082, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.619e-05, allocations: 4 kB / 255.4 MB, free: 2.641 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.131/8.233, allocations: 2.625 GB / 2.918 GB, free: 81.94 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/8.233, allocations: 77.09 kB / 2.918 GB, free: 81.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697/11.93, allocations: 0.7008 GB / 3.618 GB, free: 18.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/11.93, allocations: 0 / 3.618 GB, free: 18.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000121/11.93, allocations: 42.53 kB / 3.618 GB, free: 18.77 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 307 * Number of variables: 307 Notification: Performance of Generate backend data structure: time 0.01252/11.94, allocations: 2.7 MB / 3.621 GB, free: 16.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/11.94, allocations: 12.03 kB / 3.621 GB, free: 16.22 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007244/11.94, allocations: 188.4 kB / 3.621 GB, free: 16.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006157/11.95, allocations: 0.5638 MB / 3.622 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/11.95, allocations: 0.9843 MB / 3.623 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002504/11.95, allocations: 185.8 kB / 3.623 GB, free: 14.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005491/11.95, allocations: 118.1 kB / 3.623 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006445/11.96, allocations: 2.047 MB / 3.625 GB, free: 11.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.377e-05/11.96, allocations: 7.938 kB / 3.625 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002664/11.96, allocations: 51.05 kB / 3.625 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/11.96, allocations: 82.08 kB / 3.625 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00603/11.97, allocations: 1.753 MB / 3.627 GB, free: 10.07 MB / 426.7 MB 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.02089/11.99, allocations: 9.331 MB / 3.636 GB, free: 208 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005481/11.99, allocations: 1.514 MB / 3.638 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002118/12, allocations: 0.6699 MB / 3.638 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5843/12.58, allocations: 63.61 MB / 3.7 GB, free: 13.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00391/12.58, allocations: 1.111 MB / 3.701 GB, free: 13.82 MB / 442.7 MB Notification: Performance of pre-optimization done (n=110): time 4.819e-06/12.58, allocations: 0 / 3.701 GB, free: 13.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.02148/12.61, allocations: 5.504 MB / 3.707 GB, free: 12.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/12.61, allocations: 308.3 kB / 3.707 GB, free: 12.51 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/12.61, allocations: 0.9023 MB / 3.708 GB, free: 28.35 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003617/12.61, allocations: 47.86 kB / 3.708 GB, free: 28.32 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/12.61, allocations: 0.5665 MB / 3.709 GB, free: 28.11 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000572/12.61, allocations: 416 kB / 3.709 GB, free: 27.91 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/12.61, allocations: 29.66 kB / 3.709 GB, free: 27.91 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001934/12.61, allocations: 367.2 kB / 3.709 GB, free: 27.6 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/12.61, allocations: 0.6033 MB / 3.71 GB, free: 27.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001846/12.61, allocations: 1.005 MB / 3.711 GB, free: 27.14 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001752/12.62, allocations: 0.715 MB / 3.712 GB, free: 27.11 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/12.62, allocations: 3.781 kB / 3.712 GB, free: 27.11 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005845/12.62, allocations: 2.121 MB / 3.714 GB, free: 26.91 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001931/12.62, allocations: 4.355 MB / 3.718 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.733e-05/12.62, allocations: 12.36 kB / 3.718 GB, free: 22.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/12.64, allocations: 1.028 MB / 3.719 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/12.64, allocations: 287.3 kB / 3.719 GB, free: 22.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00704/12.64, allocations: 5.45 MB / 3.725 GB, free: 17.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002796/12.65, allocations: 119.5 kB / 3.725 GB, free: 17.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/12.65, allocations: 76.75 kB / 3.725 GB, free: 17.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/12.65, allocations: 7.75 kB / 3.725 GB, free: 17.8 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005405/12.65, allocations: 1.805 MB / 3.726 GB, free: 17.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/12.65, allocations: 10.34 kB / 3.726 GB, free: 17.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01046/12.66, allocations: 0.7896 MB / 3.727 GB, free: 17.65 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00246/12.67, allocations: 308.9 kB / 3.728 GB, free: 17.65 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/12.68, allocations: 8.091 MB / 3.735 GB, free: 11.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/12.68, allocations: 126.3 kB / 3.736 GB, free: 11.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002194/12.68, allocations: 67.39 kB / 3.736 GB, free: 11.23 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 24 (pipe.flowModel.states[2].phase,pipe.flowModel.states[1].phase,$whenCondition2,$whenCondition1,reservoir.regularFlow[1],reservoir.regularFlow[2],reservoir.regularFlow[3],reservoir.inFlow[1],reservoir.inFlow[2],reservoir.inFlow[3],$PRE.controller.y,controller.y,PumpRPMGenerator.endValue,PumpRPMGenerator.rate,PumpRPMGenerator.T,sink.state.phase,sink.medium.phase,userValve.state_b.phase,userValve.state_a.phase,reservoir.medium.phase,pumps.medium.phase,pumps.monitoring.state_in.phase,source.state.phase,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 150 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {2 1,1 6,2 7,1 1,2 3,1 2,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006597/12.68, allocations: 209.2 kB / 3.736 GB, free: 11.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004214/12.68, allocations: 138.2 kB / 3.736 GB, free: 11.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009795/12.69, allocations: 4.884 MB / 3.741 GB, free: 10.58 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.261e-05/12.69, allocations: 55.05 kB / 3.741 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.669e-06/12.69, allocations: 3.188 kB / 3.741 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-05/12.69, allocations: 7.312 kB / 3.741 GB, free: 10.57 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01437/12.71, allocations: 6.687 MB / 3.747 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/12.71, allocations: 2.875 kB / 3.747 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001633/12.71, allocations: 172.4 kB / 3.748 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008048/12.72, allocations: 1.475 MB / 3.749 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004512/12.72, allocations: 40.41 kB / 3.749 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005991/12.72, allocations: 4.453 MB / 3.753 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/12.72, allocations: 4.656 kB / 3.753 GB, free: 22.8 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009839/12.73, allocations: 4.842 MB / 3.758 GB, free: 22.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/12.73, allocations: 0.5533 MB / 3.759 GB, free: 22.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004322/12.73, allocations: 27.84 kB / 3.759 GB, free: 22.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001991/12.74, allocations: 109 kB / 3.759 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/12.74, allocations: 124.9 kB / 3.759 GB, free: 21.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001607/12.74, allocations: 49.36 kB / 3.759 GB, free: 21.99 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002068/12.74, allocations: 0.9679 MB / 3.76 GB, free: 21.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.214e-06/12.74, allocations: 0 / 3.76 GB, free: 21.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01119/12.75, allocations: 2.102 MB / 3.762 GB, free: 21.78 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (pumps.medium.p,pumps.medium.T,reservoir.medium.T,reservoir.level,PT1.y) * Number of discrete variables: 36 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition2,$whenCondition1,reservoir.regularFlow[1],reservoir.regularFlow[2],reservoir.regularFlow[3],reservoir.inFlow[1],reservoir.inFlow[2],reservoir.inFlow[3],controller.y,PumpRPMGenerator.endValue,PumpRPMGenerator.rate,PumpRPMGenerator.T) * Number of discrete states: 2 (controller.y,PumpRPMGenerator.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (113): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 6 {2 1,1 1,1 6,2 9,2 3,2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02336/12.77, allocations: 7.655 MB / 3.769 GB, free: 20.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01037/12.78, allocations: 3.57 MB / 3.773 GB, free: 19.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/12.78, allocations: 3.5 kB / 3.773 GB, free: 19.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004251/12.79, allocations: 1.485 MB / 3.774 GB, free: 19.55 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005941/12.79, allocations: 0.6459 MB / 3.775 GB, free: 19.52 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01592/12.81, allocations: 4.438 MB / 3.779 GB, free: 18.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001356/12.81, allocations: 1.54 MB / 3.781 GB, free: 17.74 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004666/12.82, allocations: 1.483 MB / 3.782 GB, free: 17.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/12.82, allocations: 0.7442 MB / 3.783 GB, free: 17.66 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/12.82, allocations: 0 / 3.783 GB, free: 17.66 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5917/13.41, allocations: 93.38 MB / 3.874 GB, free: 70.48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002975/13.41, allocations: 212.2 kB / 3.874 GB, free: 70.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.628/21.04, allocations: 1.438 kB / 3.874 GB, free: 70.25 MB / 474.7 MB