Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.834/1.834, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.272e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2643, allocations: 38.76 MB / 263.8 MB, free: 9.781 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.397/7.662, allocations: 2.515 GB / 2.773 GB, free: 49.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/7.662, allocations: 78.66 kB / 2.773 GB, free: 49.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.635/11.3, allocations: 0.6831 GB / 3.456 GB, free: 31.04 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.454e-06/11.3, allocations: 0 / 3.456 GB, free: 31.04 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001253/11.3, allocations: 41.22 kB / 3.456 GB, free: 31.04 MB / 394.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.01185/11.31, allocations: 2.635 MB / 3.458 GB, free: 29.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/11.31, allocations: 12.59 kB / 3.458 GB, free: 29.79 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006241/11.31, allocations: 183.8 kB / 3.459 GB, free: 29.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005673/11.32, allocations: 0.5274 MB / 3.459 GB, free: 29.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003567/11.32, allocations: 0.9725 MB / 3.46 GB, free: 29.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/11.32, allocations: 182.3 kB / 3.46 GB, free: 29.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003427/11.32, allocations: 124.4 kB / 3.46 GB, free: 29.24 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005669/11.33, allocations: 2.038 MB / 3.462 GB, free: 28.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.196e-05/11.33, allocations: 6.844 kB / 3.462 GB, free: 28.88 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002439/11.33, allocations: 51.62 kB / 3.462 GB, free: 28.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001374/11.33, allocations: 76.83 kB / 3.462 GB, free: 28.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005374/11.33, allocations: 1.759 MB / 3.464 GB, free: 28.86 MB / 394.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.01937/11.35, allocations: 9.344 MB / 3.473 GB, free: 23.64 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/11.36, allocations: 1.512 MB / 3.475 GB, free: 23.51 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/11.36, allocations: 0.6706 MB / 3.475 GB, free: 23.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2029/11.56, allocations: 63.55 MB / 3.537 GB, free: 15.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003788/11.56, allocations: 1.11 MB / 3.539 GB, free: 15.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 4.458e-06/11.56, allocations: 0 / 3.539 GB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.02104/11.58, allocations: 5.524 MB / 3.544 GB, free: 12.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001895/11.58, allocations: 300.3 kB / 3.544 GB, free: 12.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/11.59, allocations: 0.9037 MB / 3.545 GB, free: 11.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003118/11.59, allocations: 51.95 kB / 3.545 GB, free: 11.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004739/11.59, allocations: 0.5536 MB / 3.546 GB, free: 11.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005244/11.59, allocations: 419.2 kB / 3.546 GB, free: 11.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/11.59, allocations: 31.44 kB / 3.546 GB, free: 11.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000187/11.59, allocations: 364.7 kB / 3.546 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/11.59, allocations: 0.6041 MB / 3.547 GB, free: 10.36 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/11.59, allocations: 1.007 MB / 3.548 GB, free: 9.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/11.59, allocations: 0.7099 MB / 3.549 GB, free: 9.156 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.034e-05/11.59, allocations: 4 kB / 3.549 GB, free: 9.152 MB / 426.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005836/11.6, allocations: 2.047 MB / 3.551 GB, free: 7.957 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001885/11.6, allocations: 4.359 MB / 3.555 GB, free: 3.355 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.825e-05/11.6, allocations: 12 kB / 3.555 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01178/11.61, allocations: 1.033 MB / 3.556 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002362/11.62, allocations: 280.6 kB / 3.556 GB, free: 2.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3297/11.95, allocations: 5.448 MB / 3.562 GB, free: 58.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/11.95, allocations: 128.9 kB / 3.562 GB, free: 58.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003517/11.95, allocations: 79.09 kB / 3.562 GB, free: 58.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/11.95, allocations: 3.844 kB / 3.562 GB, free: 58.24 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007681/11.96, allocations: 1.809 MB / 3.564 GB, free: 58.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/11.96, allocations: 9.375 kB / 3.564 GB, free: 58.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01472/11.97, allocations: 0.7658 MB / 3.564 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/11.98, allocations: 308.1 kB / 3.565 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/11.99, allocations: 8.092 MB / 3.573 GB, free: 51.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/11.99, allocations: 126.2 kB / 3.573 GB, free: 51.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002598/11.99, allocations: 66.44 kB / 3.573 GB, free: 51.8 MB / 426.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.0007984/11.99, allocations: 204.9 kB / 3.573 GB, free: 51.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005886/11.99, allocations: 135.6 kB / 3.573 GB, free: 51.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01115/12, allocations: 4.89 MB / 3.578 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.701e-05/12, allocations: 53.45 kB / 3.578 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/12, allocations: 0 / 3.578 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.638e-05/12, allocations: 8.906 kB / 3.578 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01356/12.02, allocations: 6.68 MB / 3.584 GB, free: 50.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/12.02, allocations: 2.219 kB / 3.584 GB, free: 50.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001503/12.02, allocations: 174.7 kB / 3.585 GB, free: 50.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007356/12.03, allocations: 1.471 MB / 3.586 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003647/12.03, allocations: 42.09 kB / 3.586 GB, free: 50.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004559/12.03, allocations: 4.453 MB / 3.59 GB, free: 47.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/12.03, allocations: 5.375 kB / 3.59 GB, free: 47.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009491/12.04, allocations: 4.835 MB / 3.595 GB, free: 47.11 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/12.04, allocations: 0.5518 MB / 3.596 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004223/12.04, allocations: 27.25 kB / 3.596 GB, free: 46.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/12.05, allocations: 111.3 kB / 3.596 GB, free: 46.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003869/12.05, allocations: 123.4 kB / 3.596 GB, free: 46.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001668/12.05, allocations: 51.95 kB / 3.596 GB, free: 46.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001917/12.05, allocations: 0.9657 MB / 3.597 GB, free: 46.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/12.05, allocations: 0 / 3.597 GB, free: 46.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009373/12.06, allocations: 2.079 MB / 3.599 GB, free: 46.76 MB / 426.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.0216/12.08, allocations: 7.654 MB / 3.606 GB, free: 45.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009514/12.09, allocations: 3.537 MB / 3.61 GB, free: 44.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/12.09, allocations: 0 / 3.61 GB, free: 44.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004002/12.09, allocations: 1.462 MB / 3.611 GB, free: 44.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005757/12.1, allocations: 0.6386 MB / 3.612 GB, free: 44.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01507/12.11, allocations: 4.452 MB / 3.616 GB, free: 43.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/12.11, allocations: 1.533 MB / 3.618 GB, free: 43.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001573/12.12, allocations: 0.7689 MB / 3.618 GB, free: 43.04 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/12.12, allocations: 3.656 kB / 3.618 GB, free: 43.04 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.015/17.13, allocations: 103.5 MB / 3.72 GB, free: 59.54 MB / 426.7 MB