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.203/2.203, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.411e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.122/8.231, allocations: 2.625 GB / 2.918 GB, free: 75.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/8.232, allocations: 75.47 kB / 2.918 GB, free: 75.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.711/11.94, allocations: 0.7008 GB / 3.618 GB, free: 12.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/11.94, allocations: 0 / 3.618 GB, free: 12.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001462/11.94, allocations: 39.88 kB / 3.619 GB, free: 12.66 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.01372/11.96, allocations: 2.705 MB / 3.621 GB, free: 9.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/11.96, allocations: 12.03 kB / 3.621 GB, free: 9.906 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006948/11.96, allocations: 188.5 kB / 3.621 GB, free: 9.715 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006213/11.96, allocations: 0.5694 MB / 3.622 GB, free: 9.148 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004033/11.97, allocations: 0.9731 MB / 3.623 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/11.97, allocations: 186.8 kB / 3.623 GB, free: 7.949 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006272/11.97, allocations: 119.6 kB / 3.623 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006214/11.98, allocations: 2.039 MB / 3.625 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.818e-05/11.98, allocations: 7.938 kB / 3.625 GB, free: 5.664 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002944/11.98, allocations: 50.89 kB / 3.625 GB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000141/11.98, allocations: 74.09 kB / 3.625 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005946/11.98, allocations: 1.733 MB / 3.627 GB, free: 3.805 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.02261/12, allocations: 9.332 MB / 3.636 GB, free: 9.938 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005384/12.01, allocations: 1.497 MB / 3.638 GB, free: 8.398 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002086/12.01, allocations: 0.6744 MB / 3.638 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5686/12.58, allocations: 63.6 MB / 3.7 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003858/12.58, allocations: 1.109 MB / 3.701 GB, free: 24.12 MB / 458.7 MB Notification: Performance of pre-optimization done (n=110): time 4.91e-06/12.58, allocations: 2.062 kB / 3.701 GB, free: 24.12 MB / 458.7 MB Notification: Performance of matching and sorting (n=121): time 0.0225/12.61, allocations: 5.499 MB / 3.707 GB, free: 23.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000197/12.61, allocations: 306.1 kB / 3.707 GB, free: 22.81 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/12.61, allocations: 0.9021 MB / 3.708 GB, free: 22.65 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000416/12.61, allocations: 49.83 kB / 3.708 GB, free: 22.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/12.61, allocations: 0.5648 MB / 3.709 GB, free: 22.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006143/12.61, allocations: 417.8 kB / 3.709 GB, free: 22.21 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/12.61, allocations: 29.31 kB / 3.709 GB, free: 22.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/12.61, allocations: 361.1 kB / 3.709 GB, free: 21.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/12.61, allocations: 0.611 MB / 3.71 GB, free: 21.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001877/12.61, allocations: 0.9982 MB / 3.711 GB, free: 21.45 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001871/12.62, allocations: 0.7121 MB / 3.712 GB, free: 21.41 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/12.62, allocations: 3.75 kB / 3.712 GB, free: 21.41 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006243/12.62, allocations: 2.088 MB / 3.714 GB, free: 21.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001775/12.62, allocations: 4.357 MB / 3.718 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-05/12.63, allocations: 12.53 kB / 3.718 GB, free: 16.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01359/12.64, allocations: 1.025 MB / 3.719 GB, free: 16.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/12.64, allocations: 286.1 kB / 3.719 GB, free: 16.57 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007276/12.65, allocations: 5.447 MB / 3.724 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/12.65, allocations: 125.5 kB / 3.725 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004761/12.65, allocations: 77.58 kB / 3.725 GB, free: 12.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/12.65, allocations: 6.188 kB / 3.725 GB, free: 12.1 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005881/12.66, allocations: 1.776 MB / 3.726 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-05/12.66, allocations: 10.66 kB / 3.726 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/12.67, allocations: 0.7875 MB / 3.727 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002504/12.67, allocations: 309.8 kB / 3.727 GB, free: 11.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01125/12.68, allocations: 8.088 MB / 3.735 GB, free: 21.54 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002617/12.69, allocations: 117 kB / 3.735 GB, free: 21.53 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003271/12.69, allocations: 68.11 kB / 3.736 GB, free: 21.53 MB / 474.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.0007108/12.69, allocations: 213.6 kB / 3.736 GB, free: 21.42 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004705/12.69, allocations: 135.9 kB / 3.736 GB, free: 21.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01059/12.7, allocations: 4.887 MB / 3.741 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-05/12.7, allocations: 52.16 kB / 3.741 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/12.7, allocations: 0 / 3.741 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.049e-05/12.7, allocations: 6.703 kB / 3.741 GB, free: 20.88 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01478/12.71, allocations: 6.685 MB / 3.747 GB, free: 20.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.629e-05/12.71, allocations: 0 / 3.747 GB, free: 20.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001638/12.71, allocations: 173.6 kB / 3.747 GB, free: 20.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007598/12.72, allocations: 1.473 MB / 3.749 GB, free: 20.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004677/12.72, allocations: 43.92 kB / 3.749 GB, free: 20.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005627/12.73, allocations: 4.445 MB / 3.753 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/12.73, allocations: 0 / 3.753 GB, free: 17.11 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01024/12.74, allocations: 4.847 MB / 3.758 GB, free: 16.56 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001908/12.74, allocations: 0.547 MB / 3.758 GB, free: 16.31 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006351/12.74, allocations: 33.16 kB / 3.759 GB, free: 16.31 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002463/12.74, allocations: 101.1 kB / 3.759 GB, free: 16.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005013/12.74, allocations: 123 kB / 3.759 GB, free: 16.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000191/12.74, allocations: 50.03 kB / 3.759 GB, free: 16.3 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002176/12.75, allocations: 0.968 MB / 3.76 GB, free: 16.18 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.533e-06/12.75, allocations: 2.812 kB / 3.76 GB, free: 16.18 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01176/12.76, allocations: 2.104 MB / 3.762 GB, free: 16.09 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.02462/12.78, allocations: 7.683 MB / 3.769 GB, free: 14.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01081/12.79, allocations: 3.499 MB / 3.773 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/12.79, allocations: 0 / 3.773 GB, free: 13.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004557/12.8, allocations: 1.469 MB / 3.774 GB, free: 13.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006232/12.8, allocations: 0.6404 MB / 3.775 GB, free: 13.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/12.82, allocations: 4.442 MB / 3.779 GB, free: 12.81 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001454/12.82, allocations: 1.547 MB / 3.781 GB, free: 12.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005146/12.83, allocations: 1.47 MB / 3.782 GB, free: 11.98 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001493/12.83, allocations: 0.7437 MB / 3.783 GB, free: 11.98 MB / 474.7 MB Notification: Performance of SimCode: time 2.124e-06/12.83, allocations: 1.125 kB / 3.783 GB, free: 11.98 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7366/13.57, allocations: 94.69 MB / 3.875 GB, free: 62.12 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002309/13.57, allocations: 203.9 kB / 3.875 GB, free: 61.91 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.365/20.93, allocations: 1.203 kB / 3.875 GB, free: 61.91 MB / 474.7 MB