Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.233e-05, allocations: 4 kB / 255.4 MB, free: 3.121 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09002, allocations: 44.5 MB / 299.9 MB, free: 6.559 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.428/7.518, allocations: 2.625 GB / 2.918 GB, free: 86.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/7.518, allocations: 77.12 kB / 2.918 GB, free: 86.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.63/11.15, allocations: 0.7008 GB / 3.618 GB, free: 27.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.033e-06/11.15, allocations: 3.938 kB / 3.618 GB, free: 27.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001397/11.15, allocations: 37.28 kB / 3.618 GB, free: 27.02 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.01299/11.16, allocations: 2.709 MB / 3.621 GB, free: 25.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/11.16, allocations: 10.81 kB / 3.621 GB, free: 25.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000719/11.16, allocations: 183.5 kB / 3.621 GB, free: 25.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006311/11.17, allocations: 0.5664 MB / 3.622 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/11.17, allocations: 0.9853 MB / 3.623 GB, free: 24.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002347/11.17, allocations: 181.6 kB / 3.623 GB, free: 24.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004907/11.17, allocations: 114.7 kB / 3.623 GB, free: 24.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006243/11.18, allocations: 2.047 MB / 3.625 GB, free: 23.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.406e-05/11.18, allocations: 7.844 kB / 3.625 GB, free: 23.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002593/11.18, allocations: 56.62 kB / 3.625 GB, free: 23.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/11.18, allocations: 80.5 kB / 3.625 GB, free: 23.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005984/11.19, allocations: 1.754 MB / 3.627 GB, free: 22.97 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.01989/11.21, allocations: 9.333 MB / 3.636 GB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/11.21, allocations: 1.514 MB / 3.638 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/11.21, allocations: 0.6629 MB / 3.638 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.543/11.76, allocations: 63.63 MB / 3.7 GB, free: 28.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003619/11.76, allocations: 1.118 MB / 3.701 GB, free: 28.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=110): time 4.959e-06/11.76, allocations: 0 / 3.701 GB, free: 28.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=121): time 0.02048/11.78, allocations: 5.513 MB / 3.707 GB, free: 27.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/11.78, allocations: 306.6 kB / 3.707 GB, free: 27.37 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/11.78, allocations: 0.9021 MB / 3.708 GB, free: 27.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003572/11.78, allocations: 42.98 kB / 3.708 GB, free: 27.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/11.78, allocations: 0.5657 MB / 3.709 GB, free: 26.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005377/11.78, allocations: 412.5 kB / 3.709 GB, free: 26.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/11.78, allocations: 33.88 kB / 3.709 GB, free: 26.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/11.78, allocations: 370 kB / 3.709 GB, free: 26.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/11.78, allocations: 0.6044 MB / 3.71 GB, free: 26.39 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001827/11.79, allocations: 1.003 MB / 3.711 GB, free: 25.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/11.79, allocations: 0.7166 MB / 3.712 GB, free: 25.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/11.79, allocations: 3.5 kB / 3.712 GB, free: 25.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005764/11.79, allocations: 2.046 MB / 3.714 GB, free: 25.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008622/11.8, allocations: 4.36 MB / 3.718 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/11.8, allocations: 10.59 kB / 3.718 GB, free: 21.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01173/11.81, allocations: 1.021 MB / 3.719 GB, free: 21.19 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002382/11.81, allocations: 292.8 kB / 3.719 GB, free: 21.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/11.82, allocations: 5.45 MB / 3.724 GB, free: 16.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002699/11.82, allocations: 132.1 kB / 3.725 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/11.82, allocations: 68.16 kB / 3.725 GB, free: 16.74 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/11.82, allocations: 5.688 kB / 3.725 GB, free: 16.74 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005298/11.82, allocations: 1.808 MB / 3.726 GB, free: 16.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/11.82, allocations: 10.81 kB / 3.726 GB, free: 16.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01036/11.83, allocations: 0.7697 MB / 3.727 GB, free: 16.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/11.84, allocations: 308.5 kB / 3.727 GB, free: 16.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009505/11.85, allocations: 8.09 MB / 3.735 GB, free: 26.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/11.85, allocations: 127.9 kB / 3.735 GB, free: 26.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/11.85, allocations: 68.83 kB / 3.736 GB, free: 26.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.0006352/11.85, allocations: 202 kB / 3.736 GB, free: 26.12 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004523/11.85, allocations: 136.2 kB / 3.736 GB, free: 26.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009793/11.86, allocations: 4.889 MB / 3.741 GB, free: 25.6 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.109e-05/11.86, allocations: 56.33 kB / 3.741 GB, free: 25.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/11.86, allocations: 0 / 3.741 GB, free: 25.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/11.86, allocations: 9.641 kB / 3.741 GB, free: 25.6 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/11.87, allocations: 6.673 MB / 3.747 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.718e-05/11.87, allocations: 2.406 kB / 3.747 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/11.87, allocations: 173.4 kB / 3.747 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007255/11.88, allocations: 1.481 MB / 3.749 GB, free: 24.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003295/11.88, allocations: 36.25 kB / 3.749 GB, free: 24.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005273/11.89, allocations: 4.454 MB / 3.753 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/11.89, allocations: 3.25 kB / 3.753 GB, free: 21.85 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00915/11.9, allocations: 4.852 MB / 3.758 GB, free: 21.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/11.9, allocations: 0.5476 MB / 3.759 GB, free: 21.05 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003876/11.9, allocations: 23.66 kB / 3.759 GB, free: 21.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/11.9, allocations: 114.5 kB / 3.759 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/11.9, allocations: 124.2 kB / 3.759 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001571/11.9, allocations: 47.91 kB / 3.759 GB, free: 21.04 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001951/11.9, allocations: 0.97 MB / 3.76 GB, free: 20.92 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.21e-07/11.9, allocations: 0 / 3.76 GB, free: 20.92 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009602/11.91, allocations: 2.089 MB / 3.762 GB, free: 20.84 MB / 458.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.02229/11.93, allocations: 7.671 MB / 3.769 GB, free: 19.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009914/11.94, allocations: 3.537 MB / 3.773 GB, free: 18.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/11.94, allocations: 0.5 kB / 3.773 GB, free: 18.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004205/11.95, allocations: 1.461 MB / 3.774 GB, free: 18.71 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006052/11.95, allocations: 0.6435 MB / 3.775 GB, free: 18.68 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01565/11.97, allocations: 4.445 MB / 3.779 GB, free: 17.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001317/11.97, allocations: 1.538 MB / 3.781 GB, free: 16.89 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00154/11.97, allocations: 0.7682 MB / 3.781 GB, free: 16.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.392e-06/11.97, allocations: 0 / 3.781 GB, free: 16.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.054/17.03, allocations: 103.8 MB / 3.883 GB, free: 61.66 MB / 458.7 MB