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.724/1.724, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.836e-05/3.844e-05, allocations: 4 kB / 225.1 MB, free: 2.625 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2629, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.285/7.548, allocations: 2.515 GB / 2.773 GB, free: 50.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/7.549, allocations: 75.72 kB / 2.773 GB, free: 50.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.701/11.25, allocations: 0.6831 GB / 3.456 GB, free: 30.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.414e-06/11.25, allocations: 0 / 3.456 GB, free: 30.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001413/11.25, allocations: 38.23 kB / 3.456 GB, free: 30.68 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.01252/11.26, allocations: 2.642 MB / 3.458 GB, free: 29.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/11.26, allocations: 13.78 kB / 3.458 GB, free: 29.43 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006869/11.26, allocations: 184.8 kB / 3.459 GB, free: 29.39 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005966/11.27, allocations: 0.5192 MB / 3.459 GB, free: 29.31 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/11.27, allocations: 0.9768 MB / 3.46 GB, free: 29 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002479/11.27, allocations: 184 kB / 3.46 GB, free: 28.9 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005602/11.27, allocations: 117.2 kB / 3.46 GB, free: 28.89 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006176/11.28, allocations: 2.027 MB / 3.462 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.434e-05/11.28, allocations: 4.781 kB / 3.462 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/11.28, allocations: 58.31 kB / 3.462 GB, free: 28.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000154/11.28, allocations: 78.09 kB / 3.462 GB, free: 28.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005696/11.29, allocations: 1.733 MB / 3.464 GB, free: 28.52 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.01984/11.31, allocations: 9.335 MB / 3.473 GB, free: 23.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004576/11.31, allocations: 1.502 MB / 3.475 GB, free: 23.17 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001716/11.31, allocations: 0.6658 MB / 3.475 GB, free: 23.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2054/11.52, allocations: 63.54 MB / 3.537 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004109/11.52, allocations: 1.104 MB / 3.538 GB, free: 14.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 5.681e-06/11.52, allocations: 0 / 3.538 GB, free: 14.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.0238/11.55, allocations: 5.519 MB / 3.544 GB, free: 13.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002948/11.55, allocations: 314.2 kB / 3.544 GB, free: 12.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/11.55, allocations: 0.9027 MB / 3.545 GB, free: 12.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004325/11.55, allocations: 49.39 kB / 3.545 GB, free: 12.13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005333/11.55, allocations: 0.5571 MB / 3.546 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006271/11.55, allocations: 419 kB / 3.546 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/11.55, allocations: 28.88 kB / 3.546 GB, free: 11.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002784/11.55, allocations: 365 kB / 3.546 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/11.55, allocations: 0.5996 MB / 3.547 GB, free: 10.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/11.56, allocations: 1.01 MB / 3.548 GB, free: 9.961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/11.56, allocations: 0.7116 MB / 3.549 GB, free: 9.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/11.56, allocations: 4 kB / 3.549 GB, free: 9.586 MB / 426.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.006494/11.56, allocations: 2.019 MB / 3.551 GB, free: 8.398 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001939/11.57, allocations: 4.352 MB / 3.555 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.253e-05/11.57, allocations: 12 kB / 3.555 GB, free: 3.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01236/11.58, allocations: 1.027 MB / 3.556 GB, free: 3.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002461/11.58, allocations: 282.4 kB / 3.556 GB, free: 2.969 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3286/11.91, allocations: 5.439 MB / 3.562 GB, free: 57.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003884/11.91, allocations: 126 kB / 3.562 GB, free: 57.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005028/11.91, allocations: 76.23 kB / 3.562 GB, free: 57.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/11.91, allocations: 11 kB / 3.562 GB, free: 57.8 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005949/11.92, allocations: 1.772 MB / 3.563 GB, free: 57.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.972e-05/11.92, allocations: 14.66 kB / 3.563 GB, free: 57.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/11.93, allocations: 0.7709 MB / 3.564 GB, free: 57.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002457/11.93, allocations: 312.1 kB / 3.564 GB, free: 57.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009067/11.94, allocations: 8.081 MB / 3.572 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002/11.94, allocations: 121.7 kB / 3.573 GB, free: 51.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002253/11.94, allocations: 72.48 kB / 3.573 GB, free: 51.36 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.0006394/11.95, allocations: 205.2 kB / 3.573 GB, free: 51.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004885/11.95, allocations: 137 kB / 3.573 GB, free: 51.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009996/11.96, allocations: 4.871 MB / 3.578 GB, free: 50.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.996e-05/11.96, allocations: 50.38 kB / 3.578 GB, free: 50.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/11.96, allocations: 0.6562 kB / 3.578 GB, free: 50.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.136e-05/11.96, allocations: 7.828 kB / 3.578 GB, free: 50.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/11.97, allocations: 6.687 MB / 3.584 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.837e-05/11.97, allocations: 2.531 kB / 3.584 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/11.97, allocations: 176.3 kB / 3.584 GB, free: 50.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007386/11.98, allocations: 1.472 MB / 3.586 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000409/11.98, allocations: 42.06 kB / 3.586 GB, free: 50.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004653/11.98, allocations: 4.444 MB / 3.59 GB, free: 47.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/11.98, allocations: 9.109 kB / 3.59 GB, free: 47.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009415/11.99, allocations: 4.836 MB / 3.595 GB, free: 46.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001583/11.99, allocations: 0.5443 MB / 3.595 GB, free: 46.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004329/11.99, allocations: 29.75 kB / 3.596 GB, free: 46.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002078/12, allocations: 108.7 kB / 3.596 GB, free: 46.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/12, allocations: 122.4 kB / 3.596 GB, free: 46.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001677/12, allocations: 51.64 kB / 3.596 GB, free: 46.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001971/12, allocations: 0.9643 MB / 3.597 GB, free: 46.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.82e-07/12, allocations: 0 / 3.597 GB, free: 46.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009969/12.01, allocations: 2.086 MB / 3.599 GB, free: 46.3 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.02194/12.03, allocations: 7.67 MB / 3.606 GB, free: 44.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009821/12.04, allocations: 3.45 MB / 3.61 GB, free: 44.27 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/12.04, allocations: 1 kB / 3.61 GB, free: 44.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004087/12.05, allocations: 1.465 MB / 3.611 GB, free: 44.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005887/12.05, allocations: 0.6471 MB / 3.612 GB, free: 44.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01548/12.07, allocations: 4.435 MB / 3.616 GB, free: 43.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/12.07, allocations: 1.536 MB / 3.618 GB, free: 42.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001486/12.07, allocations: 0.7696 MB / 3.618 GB, free: 42.61 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/12.07, allocations: 0 / 3.618 GB, free: 42.61 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.079/17.15, allocations: 103.5 MB / 3.719 GB, free: 58.52 MB / 426.7 MB