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.849/1.849, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.718e-05/2.73e-05, allocations: 4 kB / 219.6 MB, free: 6.961 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2715, allocations: 38.77 MB / 258.3 MB, free: 12.21 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.439/7.71, allocations: 2.514 GB / 2.767 GB, free: 66.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/7.71, allocations: 81.25 kB / 2.767 GB, free: 66.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.428/11.14, allocations: 0.6769 GB / 3.444 GB, free: 3.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/11.14, allocations: 0 / 3.444 GB, free: 3.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001451/11.14, allocations: 32 kB / 3.444 GB, free: 3.637 MB / 378.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.01273/11.15, allocations: 2.65 MB / 3.446 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/11.15, allocations: 12.03 kB / 3.446 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005941/11.16, allocations: 0.5211 MB / 3.447 GB, free: 420 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2994/11.46, allocations: 0.9673 MB / 3.448 GB, free: 23.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/11.46, allocations: 145.7 kB / 3.448 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005247/11.46, allocations: 67.09 kB / 3.448 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004326/11.46, allocations: 1.406 MB / 3.449 GB, free: 22.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00435/11.47, allocations: 1.623 MB / 3.451 GB, free: 22.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.583e-05/11.47, allocations: 4.953 kB / 3.451 GB, free: 22.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/11.47, allocations: 11.31 kB / 3.451 GB, free: 22.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001747/11.47, allocations: 76.36 kB / 3.451 GB, free: 22.55 MB / 378.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.4263/11.89, allocations: 133.5 MB / 3.581 GB, free: 19.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/11.9, allocations: 1.079 MB / 3.582 GB, free: 19.68 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/11.9, allocations: 0.5791 MB / 3.583 GB, free: 19.68 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5047/12.4, allocations: 63.53 MB / 3.645 GB, free: 75.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001887/12.41, allocations: 0.7313 MB / 3.646 GB, free: 75.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 4.379e-06/12.41, allocations: 0 / 3.646 GB, free: 75.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.02919/12.43, allocations: 5.766 MB / 3.651 GB, free: 74.86 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.289e-05/12.43, allocations: 191.9 kB / 3.651 GB, free: 74.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/12.44, allocations: 0.7113 MB / 3.652 GB, free: 74.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002568/12.44, allocations: 30.2 kB / 3.652 GB, free: 74.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005616/12.44, allocations: 0.6261 MB / 3.653 GB, free: 74.22 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004921/12.44, allocations: 358.3 kB / 3.653 GB, free: 74.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/12.44, allocations: 0 / 3.653 GB, free: 74.04 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/12.44, allocations: 360.9 kB / 3.654 GB, free: 73.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/12.44, allocations: 0.5919 MB / 3.654 GB, free: 73.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/12.44, allocations: 0.978 MB / 3.655 GB, free: 73.28 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/12.45, allocations: 1.7 MB / 3.657 GB, free: 73.23 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.977e-05/12.45, allocations: 3.562 kB / 3.657 GB, free: 73.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01553/12.47, allocations: 3.012 MB / 3.66 GB, free: 73.02 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008943/12.47, allocations: 4.358 MB / 3.664 GB, free: 68.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/12.47, allocations: 18.16 kB / 3.664 GB, free: 68.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/12.47, allocations: 0.7088 MB / 3.665 GB, free: 68.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/12.47, allocations: 288.9 kB / 3.665 GB, free: 68.37 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009479/12.48, allocations: 5.91 MB / 3.671 GB, free: 63.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002686/12.49, allocations: 103.4 kB / 3.671 GB, free: 63.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/12.49, allocations: 77.91 kB / 3.671 GB, free: 63.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/12.49, allocations: 14.48 kB / 3.671 GB, free: 63.95 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01269/12.5, allocations: 2.418 MB / 3.673 GB, free: 63.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/12.5, allocations: 13.41 kB / 3.673 GB, free: 63.84 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001865/12.5, allocations: 0.4973 MB / 3.674 GB, free: 63.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/12.5, allocations: 315 kB / 3.674 GB, free: 63.78 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009744/12.51, allocations: 7.95 MB / 3.682 GB, free: 57.62 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002249/12.52, allocations: 97.62 kB / 3.682 GB, free: 57.61 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/12.52, allocations: 71.8 kB / 3.682 GB, free: 57.61 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.0005565/12.52, allocations: 158.8 kB / 3.682 GB, free: 57.5 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009064/12.53, allocations: 2.083 MB / 3.684 GB, free: 57.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/12.53, allocations: 121.7 kB / 3.684 GB, free: 57.26 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01039/12.54, allocations: 4.121 MB / 3.688 GB, free: 56.87 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.932e-05/12.54, allocations: 40.75 kB / 3.688 GB, free: 56.87 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/12.54, allocations: 4.984 kB / 3.688 GB, free: 56.87 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.452e-05/12.54, allocations: 6.234 kB / 3.688 GB, free: 56.87 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01355/12.55, allocations: 5.715 MB / 3.694 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/12.55, allocations: 3.719 kB / 3.694 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/12.55, allocations: 147 kB / 3.694 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003051/12.55, allocations: 1.167 MB / 3.695 GB, free: 56.28 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002207/12.55, allocations: 19.55 kB / 3.695 GB, free: 56.28 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006868/12.56, allocations: 4.874 MB / 3.7 GB, free: 53.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/12.56, allocations: 0 / 3.7 GB, free: 53.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01135/12.57, allocations: 4.622 MB / 3.704 GB, free: 52.71 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0012/12.57, allocations: 387.2 kB / 3.705 GB, free: 52.52 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/12.57, allocations: 17.19 kB / 3.705 GB, free: 52.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/12.58, allocations: 78.42 kB / 3.705 GB, free: 52.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003803/12.58, allocations: 114.5 kB / 3.705 GB, free: 52.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001458/12.58, allocations: 40.14 kB / 3.705 GB, free: 52.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009492/12.58, allocations: 0.5109 MB / 3.706 GB, free: 52.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.91e-07/12.58, allocations: 4.562 kB / 3.706 GB, free: 52.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009437/12.59, allocations: 1.932 MB / 3.707 GB, free: 52.31 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pumps.medium.p,pumps.medium.T,reservoir.medium.T,reservoir.level,PT1.y) * Number of discrete variables: 32 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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 (97): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.02394/12.61, allocations: 7.294 MB / 3.715 GB, free: 51.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008628/12.62, allocations: 3.32 MB / 3.718 GB, free: 50.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/12.62, allocations: 0 / 3.718 GB, free: 50.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003474/12.62, allocations: 1.286 MB / 3.719 GB, free: 50.52 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004112/12.63, allocations: 469.3 kB / 3.72 GB, free: 50.48 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/12.64, allocations: 3.827 MB / 3.723 GB, free: 49.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/12.64, allocations: 1.418 MB / 3.725 GB, free: 48.86 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004451/12.65, allocations: 1.579 MB / 3.726 GB, free: 48.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/12.65, allocations: 0.6168 MB / 3.727 GB, free: 48.79 MB / 458.7 MB Notification: Performance of SimCode: time 1.242e-06/12.65, allocations: 0 / 3.727 GB, free: 48.79 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4911/13.14, allocations: 73.11 MB / 3.798 GB, free: 94.35 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/13.14, allocations: 159.7 kB / 3.798 GB, free: 94.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.363/19.5, allocations: 1.328 kB / 3.798 GB, free: 94.15 MB / 458.7 MB