Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.808/1.808, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.058e-05/3.07e-05, allocations: 0 / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3134, allocations: 38.77 MB / 263.9 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.993/8.306, allocations: 2.515 GB / 2.773 GB, free: 50.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/8.306, allocations: 77.03 kB / 2.773 GB, free: 50.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.848/12.15, allocations: 0.6831 GB / 3.456 GB, free: 30.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.205e-06/12.15, allocations: 0 / 3.456 GB, free: 30.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001113/12.15, allocations: 30.19 kB / 3.456 GB, free: 30.78 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.01195/12.17, allocations: 2.643 MB / 3.458 GB, free: 29.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/12.17, allocations: 13.53 kB / 3.458 GB, free: 29.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004604/12.17, allocations: 183.2 kB / 3.459 GB, free: 29.5 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005466/12.17, allocations: 0.5228 MB / 3.459 GB, free: 29.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/12.18, allocations: 0.9778 MB / 3.46 GB, free: 29.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/12.18, allocations: 185.8 kB / 3.46 GB, free: 29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/12.18, allocations: 122 kB / 3.46 GB, free: 29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005295/12.18, allocations: 2.028 MB / 3.462 GB, free: 28.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/12.18, allocations: 8.281 kB / 3.462 GB, free: 28.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/12.18, allocations: 55.47 kB / 3.462 GB, free: 28.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001353/12.18, allocations: 76.88 kB / 3.462 GB, free: 28.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00499/12.19, allocations: 1.733 MB / 3.464 GB, free: 28.62 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.01794/12.21, allocations: 9.34 MB / 3.473 GB, free: 23.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004634/12.21, allocations: 1.499 MB / 3.475 GB, free: 23.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/12.21, allocations: 0.6703 MB / 3.475 GB, free: 23.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2409/12.45, allocations: 63.54 MB / 3.537 GB, free: 15.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007063/12.46, allocations: 1.105 MB / 3.539 GB, free: 15.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 1.58e-05/12.46, allocations: 0 / 3.539 GB, free: 15.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.02266/12.48, allocations: 5.51 MB / 3.544 GB, free: 13.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/12.48, allocations: 308.3 kB / 3.544 GB, free: 13.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001791/12.48, allocations: 0.9033 MB / 3.545 GB, free: 12.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003755/12.48, allocations: 47.33 kB / 3.545 GB, free: 12.37 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/12.49, allocations: 0.5685 MB / 3.546 GB, free: 12.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005333/12.49, allocations: 416.2 kB / 3.546 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/12.49, allocations: 33.16 kB / 3.546 GB, free: 11.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001968/12.49, allocations: 356.3 kB / 3.546 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/12.49, allocations: 0.6038 MB / 3.547 GB, free: 11.08 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/12.49, allocations: 0.9957 MB / 3.548 GB, free: 10.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002344/12.49, allocations: 0.7191 MB / 3.549 GB, free: 9.879 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.318e-05/12.49, allocations: 8 kB / 3.549 GB, free: 9.871 MB / 426.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.008319/12.5, allocations: 2.089 MB / 3.551 GB, free: 8.613 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002601/12.5, allocations: 4.359 MB / 3.555 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.244e-05/12.5, allocations: 9.953 kB / 3.555 GB, free: 4.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01628/12.52, allocations: 1.025 MB / 3.556 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/12.52, allocations: 287.5 kB / 3.556 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3699/12.89, allocations: 5.434 MB / 3.562 GB, free: 57.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/12.9, allocations: 125.3 kB / 3.562 GB, free: 57.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005376/12.9, allocations: 77.2 kB / 3.562 GB, free: 57.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/12.9, allocations: 3.938 kB / 3.562 GB, free: 57.91 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00625/12.9, allocations: 1.775 MB / 3.564 GB, free: 57.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.179e-05/12.9, allocations: 16.19 kB / 3.564 GB, free: 57.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/12.91, allocations: 0.7854 MB / 3.564 GB, free: 57.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/12.92, allocations: 309.8 kB / 3.565 GB, free: 57.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/12.93, allocations: 8.088 MB / 3.573 GB, free: 51.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/12.93, allocations: 124 kB / 3.573 GB, free: 51.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004821/12.93, allocations: 69.59 kB / 3.573 GB, free: 51.47 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.0007041/12.93, allocations: 209.2 kB / 3.573 GB, free: 51.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004894/12.93, allocations: 136.2 kB / 3.573 GB, free: 51.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/12.94, allocations: 4.877 MB / 3.578 GB, free: 51.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.017e-05/12.94, allocations: 51.58 kB / 3.578 GB, free: 51.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/12.94, allocations: 3.562 kB / 3.578 GB, free: 51.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.381e-05/12.94, allocations: 13.06 kB / 3.578 GB, free: 51.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/12.96, allocations: 6.677 MB / 3.584 GB, free: 50.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/12.96, allocations: 0.7656 kB / 3.584 GB, free: 50.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001641/12.96, allocations: 179.4 kB / 3.585 GB, free: 50.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007741/12.97, allocations: 1.477 MB / 3.586 GB, free: 50.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000436/12.97, allocations: 40.34 kB / 3.586 GB, free: 50.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004916/12.97, allocations: 4.446 MB / 3.59 GB, free: 47.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/12.97, allocations: 3.812 kB / 3.59 GB, free: 47.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01069/12.98, allocations: 4.837 MB / 3.595 GB, free: 46.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/12.98, allocations: 0.5467 MB / 3.596 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/12.99, allocations: 26.91 kB / 3.596 GB, free: 46.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002067/12.99, allocations: 106.9 kB / 3.596 GB, free: 46.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003845/12.99, allocations: 129.9 kB / 3.596 GB, free: 46.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001682/12.99, allocations: 47.92 kB / 3.596 GB, free: 46.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001915/12.99, allocations: 0.9672 MB / 3.597 GB, free: 46.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/12.99, allocations: 0 / 3.597 GB, free: 46.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009862/13, allocations: 2.085 MB / 3.599 GB, free: 46.4 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.02197/13.02, allocations: 7.684 MB / 3.606 GB, free: 44.92 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.009301/13.03, allocations: 3.483 MB / 3.61 GB, free: 44.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/13.03, allocations: 6.344 kB / 3.61 GB, free: 44.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004392/13.04, allocations: 1.473 MB / 3.611 GB, free: 44.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006062/13.04, allocations: 0.6447 MB / 3.612 GB, free: 44.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/13.06, allocations: 4.431 MB / 3.616 GB, free: 43.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/13.06, allocations: 1.542 MB / 3.618 GB, free: 42.71 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004549/13.06, allocations: 1.479 MB / 3.619 GB, free: 42.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001387/13.06, allocations: 0.743 MB / 3.62 GB, free: 42.67 MB / 426.7 MB Notification: Performance of SimCode: time 2.886e-06/13.06, allocations: 0 / 3.62 GB, free: 42.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5383/13.6, allocations: 93.18 MB / 3.711 GB, free: 56.66 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002953/13.6, allocations: 213.1 kB / 3.711 GB, free: 56.43 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.596/21.2, allocations: 0 / 3.711 GB, free: 56.43 MB / 426.7 MB