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.955/1.955, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.957e-05/2.964e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09689/0.09695, allocations: 44.5 MB / 300 MB, free: 6.539 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.743/7.84, allocations: 2.625 GB / 2.918 GB, free: 75.69 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/7.841, allocations: 78.41 kB / 2.918 GB, free: 75.65 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.575/11.42, allocations: 0.7008 GB / 3.618 GB, free: 12.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/11.42, allocations: 4 kB / 3.618 GB, free: 12.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001121/11.42, allocations: 39.94 kB / 3.618 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.01203/11.43, allocations: 2.707 MB / 3.621 GB, free: 9.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.871e-05/11.43, allocations: 8.031 kB / 3.621 GB, free: 9.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004664/11.43, allocations: 188.4 kB / 3.621 GB, free: 9.719 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005698/11.43, allocations: 0.5637 MB / 3.622 GB, free: 9.156 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/11.44, allocations: 0.9815 MB / 3.623 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/11.44, allocations: 191.2 kB / 3.623 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/11.44, allocations: 115.9 kB / 3.623 GB, free: 7.832 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005191/11.44, allocations: 2.037 MB / 3.625 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.484e-05/11.44, allocations: 0 / 3.625 GB, free: 5.672 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002285/11.44, allocations: 55.12 kB / 3.625 GB, free: 5.621 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/11.44, allocations: 78.03 kB / 3.625 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004926/11.45, allocations: 1.737 MB / 3.627 GB, free: 3.801 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.01972/11.47, allocations: 9.328 MB / 3.636 GB, free: 9.938 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004834/11.47, allocations: 1.501 MB / 3.637 GB, free: 8.395 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/11.48, allocations: 0.6704 MB / 3.638 GB, free: 7.707 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5451/12.02, allocations: 63.6 MB / 3.7 GB, free: 23.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00356/12.02, allocations: 1.111 MB / 3.701 GB, free: 23.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=110): time 4.459e-06/12.02, allocations: 0 / 3.701 GB, free: 23.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=121): time 0.02195/12.05, allocations: 5.504 MB / 3.707 GB, free: 22.76 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000251/12.05, allocations: 304.4 kB / 3.707 GB, free: 22.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/12.05, allocations: 0.9002 MB / 3.708 GB, free: 22.25 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003933/12.05, allocations: 50.2 kB / 3.708 GB, free: 22.22 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005056/12.05, allocations: 0.5635 MB / 3.708 GB, free: 21.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005759/12.05, allocations: 415 kB / 3.709 GB, free: 21.74 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/12.05, allocations: 29.91 kB / 3.709 GB, free: 21.74 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/12.05, allocations: 367.4 kB / 3.709 GB, free: 21.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001573/12.05, allocations: 0.6035 MB / 3.71 GB, free: 21.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/12.05, allocations: 1.004 MB / 3.711 GB, free: 20.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/12.06, allocations: 0.7096 MB / 3.712 GB, free: 20.94 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.04e-05/12.06, allocations: 3.312 kB / 3.712 GB, free: 20.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006101/12.06, allocations: 2.015 MB / 3.713 GB, free: 20.78 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002327/12.06, allocations: 4.364 MB / 3.718 GB, free: 16.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.239e-05/12.06, allocations: 11.22 kB / 3.718 GB, free: 16.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01845/12.08, allocations: 1.018 MB / 3.719 GB, free: 16.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/12.09, allocations: 288 kB / 3.719 GB, free: 16.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009697/12.1, allocations: 5.454 MB / 3.724 GB, free: 11.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004034/12.1, allocations: 125.1 kB / 3.724 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000312/12.1, allocations: 72.98 kB / 3.725 GB, free: 11.67 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/12.1, allocations: 3 kB / 3.725 GB, free: 11.67 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007889/12.11, allocations: 1.783 MB / 3.726 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/12.11, allocations: 9.562 kB / 3.726 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01582/12.12, allocations: 0.7673 MB / 3.727 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/12.13, allocations: 315 kB / 3.727 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/12.14, allocations: 8.078 MB / 3.735 GB, free: 21.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002905/12.15, allocations: 129.7 kB / 3.735 GB, free: 21.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/12.15, allocations: 65.61 kB / 3.735 GB, free: 21.11 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.0008427/12.15, allocations: 207.6 kB / 3.736 GB, free: 21 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006028/12.15, allocations: 135.9 kB / 3.736 GB, free: 20.93 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01392/12.16, allocations: 4.884 MB / 3.741 GB, free: 20.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.398e-05/12.16, allocations: 44.02 kB / 3.741 GB, free: 20.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/12.16, allocations: 3.094 kB / 3.741 GB, free: 20.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.073e-05/12.16, allocations: 6.375 kB / 3.741 GB, free: 20.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01937/12.18, allocations: 6.69 MB / 3.747 GB, free: 19.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.781e-05/12.18, allocations: 3.094 kB / 3.747 GB, free: 19.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/12.18, allocations: 174.5 kB / 3.747 GB, free: 19.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01121/12.19, allocations: 1.473 MB / 3.749 GB, free: 19.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004925/12.2, allocations: 39.28 kB / 3.749 GB, free: 19.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00771/12.2, allocations: 4.443 MB / 3.753 GB, free: 16.69 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/12.2, allocations: 5.875 kB / 3.753 GB, free: 16.69 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01477/12.22, allocations: 4.851 MB / 3.758 GB, free: 16.14 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002149/12.22, allocations: 0.5433 MB / 3.758 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005791/12.22, allocations: 26.25 kB / 3.758 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003054/12.22, allocations: 110.1 kB / 3.758 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005296/12.22, allocations: 125.9 kB / 3.759 GB, free: 15.88 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002431/12.22, allocations: 46.47 kB / 3.759 GB, free: 15.88 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002936/12.23, allocations: 0.9667 MB / 3.76 GB, free: 15.76 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.62e-07/12.23, allocations: 0 / 3.76 GB, free: 15.76 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01364/12.24, allocations: 2.095 MB / 3.762 GB, free: 15.67 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.03111/12.27, allocations: 7.685 MB / 3.769 GB, free: 14.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01493/12.29, allocations: 3.463 MB / 3.773 GB, free: 13.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/12.29, allocations: 0 / 3.773 GB, free: 13.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00619/12.29, allocations: 1.454 MB / 3.774 GB, free: 13.48 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008677/12.3, allocations: 0.6481 MB / 3.775 GB, free: 13.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02207/12.32, allocations: 4.446 MB / 3.779 GB, free: 12.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/12.33, allocations: 1.532 MB / 3.78 GB, free: 11.66 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00227/12.33, allocations: 0.7718 MB / 3.781 GB, free: 11.65 MB / 474.7 MB Notification: Performance of SimCode: time 1.813e-06/12.33, allocations: 4 kB / 3.781 GB, free: 11.65 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.339/17.67, allocations: 103.7 MB / 3.882 GB, free: 70.51 MB / 474.7 MB