Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.114/2.114, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.518e-05, allocations: 6.031 kB / 292.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 50.42 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.776/8.897, allocations: 2.798 GB / 3.133 GB, free: 46.03 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/8.898, allocations: 77.56 kB / 3.133 GB, free: 46 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.991/12.89, allocations: 0.713 GB / 3.846 GB, free: 34.93 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.475e-06/12.89, allocations: 7.938 kB / 3.846 GB, free: 34.93 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001557/12.89, allocations: 35.03 kB / 3.846 GB, free: 34.91 MB / 474.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.01393/12.9, allocations: 2.725 MB / 3.849 GB, free: 33.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/12.9, allocations: 12.28 kB / 3.849 GB, free: 33.37 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007464/12.9, allocations: 183.6 kB / 3.849 GB, free: 33.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/12.91, allocations: 0.5741 MB / 3.85 GB, free: 33.13 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/12.91, allocations: 0.977 MB / 3.851 GB, free: 32.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002215/12.91, allocations: 191.5 kB / 3.851 GB, free: 32.44 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003443/12.91, allocations: 114.2 kB / 3.851 GB, free: 32.41 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00581/12.92, allocations: 2.022 MB / 3.853 GB, free: 31.47 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.722e-05/12.92, allocations: 7.844 kB / 3.853 GB, free: 31.46 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002409/12.92, allocations: 51.36 kB / 3.853 GB, free: 31.43 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001408/12.92, allocations: 76.09 kB / 3.853 GB, free: 31.42 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005488/12.93, allocations: 1.74 MB / 3.855 GB, free: 30.86 MB / 474.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.0214/12.95, allocations: 9.297 MB / 3.864 GB, free: 24.12 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00652/12.95, allocations: 1.513 MB / 3.865 GB, free: 23.48 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002722/12.96, allocations: 0.6745 MB / 3.866 GB, free: 22.99 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6587/13.62, allocations: 63.62 MB / 3.928 GB, free: 39.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005764/13.62, allocations: 1.103 MB / 3.929 GB, free: 39.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 8.235e-06/13.62, allocations: 2.438 kB / 3.929 GB, free: 39.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=121): time 0.03233/13.65, allocations: 5.498 MB / 3.935 GB, free: 38.83 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000136/13.65, allocations: 310.7 kB / 3.935 GB, free: 38.48 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002459/13.66, allocations: 0.9007 MB / 3.936 GB, free: 38.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004292/13.66, allocations: 47.77 kB / 3.936 GB, free: 38.29 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007317/13.66, allocations: 0.5674 MB / 3.936 GB, free: 38.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007628/13.66, allocations: 413 kB / 3.937 GB, free: 37.88 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/13.66, allocations: 29.78 kB / 3.937 GB, free: 37.88 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001576/13.66, allocations: 368.6 kB / 3.937 GB, free: 37.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002383/13.66, allocations: 0.6037 MB / 3.938 GB, free: 37.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002865/13.66, allocations: 0.9941 MB / 3.939 GB, free: 37.12 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002934/13.67, allocations: 0.7102 MB / 3.939 GB, free: 37.11 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.111e-05/13.67, allocations: 6.031 kB / 3.939 GB, free: 37.11 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007578/13.68, allocations: 2.087 MB / 3.941 GB, free: 36.92 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00109/13.68, allocations: 4.356 MB / 3.946 GB, free: 32.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.899e-05/13.68, allocations: 12.84 kB / 3.946 GB, free: 32.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0119/13.69, allocations: 1.03 MB / 3.947 GB, free: 32.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002379/13.69, allocations: 286.6 kB / 3.947 GB, free: 32.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005937/13.7, allocations: 5.43 MB / 3.952 GB, free: 27.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/13.7, allocations: 136.3 kB / 3.952 GB, free: 27.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002589/13.7, allocations: 70.95 kB / 3.953 GB, free: 27.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/13.7, allocations: 3.688 kB / 3.953 GB, free: 27.89 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005393/13.71, allocations: 1.883 MB / 3.954 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/13.71, allocations: 9.625 kB / 3.954 GB, free: 27.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01083/13.72, allocations: 0.9134 MB / 3.955 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002146/13.72, allocations: 289.4 kB / 3.956 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004728/13.72, allocations: 4.778 MB / 3.96 GB, free: 23.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002469/13.73, allocations: 128.8 kB / 3.96 GB, free: 23.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001907/13.73, allocations: 66.36 kB / 3.96 GB, free: 23.83 MB / 490.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.0005886/13.73, allocations: 209.9 kB / 3.961 GB, free: 23.72 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003215/13.73, allocations: 134.5 kB / 3.961 GB, free: 23.66 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009021/13.74, allocations: 4.891 MB / 3.966 GB, free: 23.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-05/13.74, allocations: 48.05 kB / 3.966 GB, free: 23.22 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/13.74, allocations: 2.844 kB / 3.966 GB, free: 23.22 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.038e-05/13.74, allocations: 10.38 kB / 3.966 GB, free: 23.22 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/13.75, allocations: 6.675 MB / 3.972 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/13.75, allocations: 0 / 3.972 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001455/13.75, allocations: 177.9 kB / 3.972 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007263/13.76, allocations: 1.484 MB / 3.974 GB, free: 22.59 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002206/13.76, allocations: 37.25 kB / 3.974 GB, free: 22.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004542/13.76, allocations: 4.438 MB / 3.978 GB, free: 19.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/13.76, allocations: 4.781 kB / 3.978 GB, free: 19.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009212/13.77, allocations: 4.835 MB / 3.983 GB, free: 18.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/13.77, allocations: 0.5508 MB / 3.983 GB, free: 18.68 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003731/13.77, allocations: 35.02 kB / 3.983 GB, free: 18.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001949/13.77, allocations: 106.2 kB / 3.983 GB, free: 18.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003704/13.78, allocations: 124.3 kB / 3.984 GB, free: 18.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000156/13.78, allocations: 49.5 kB / 3.984 GB, free: 18.67 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001879/13.78, allocations: 0.9704 MB / 3.985 GB, free: 18.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.11e-07/13.78, allocations: 0 / 3.985 GB, free: 18.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01075/13.79, allocations: 2.078 MB / 3.987 GB, free: 18.46 MB / 490.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.02268/13.81, allocations: 7.671 MB / 3.994 GB, free: 16.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009834/13.82, allocations: 3.225 MB / 3.997 GB, free: 16.73 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/13.82, allocations: 0 / 3.997 GB, free: 16.73 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004015/13.82, allocations: 1.476 MB / 3.999 GB, free: 16.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005584/13.83, allocations: 0.6538 MB / 3.999 GB, free: 16.69 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/13.85, allocations: 4.429 MB / 4.004 GB, free: 15.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/13.85, allocations: 1.534 MB / 4.005 GB, free: 15.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004429/13.85, allocations: 1.483 MB / 4.007 GB, free: 15.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001309/13.85, allocations: 0.7442 MB / 4.007 GB, free: 15.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.233e-06/13.85, allocations: 3.281 kB / 4.007 GB, free: 15.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6681/14.52, allocations: 93.04 MB / 4.098 GB, free: 63.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002437/14.52, allocations: 216.4 kB / 4.098 GB, free: 63.71 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.503/22.03, allocations: 3.938 kB / 4.098 GB, free: 63.71 MB / 0.4948 GB