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: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.012e-05/3.028e-05, allocations: 4 kB / 225.1 MB, free: 2.145 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2577, allocations: 38.78 MB / 263.9 MB, free: 9.789 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.854/8.112, allocations: 2.515 GB / 2.773 GB, free: 48.95 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004032/8.112, allocations: 73.53 kB / 2.773 GB, free: 48.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.159/12.27, allocations: 0.6831 GB / 3.456 GB, free: 31.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.165e-06/12.27, allocations: 5.719 kB / 3.456 GB, free: 31.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002193/12.27, allocations: 33.25 kB / 3.456 GB, free: 31.24 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.01766/12.29, allocations: 2.639 MB / 3.458 GB, free: 29.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/12.29, allocations: 13.31 kB / 3.458 GB, free: 29.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00086/12.29, allocations: 183 kB / 3.459 GB, free: 29.94 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009404/12.3, allocations: 0.5262 MB / 3.459 GB, free: 29.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00502/12.31, allocations: 0.9704 MB / 3.46 GB, free: 29.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003484/12.31, allocations: 184.4 kB / 3.46 GB, free: 29.44 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007235/12.31, allocations: 126.4 kB / 3.46 GB, free: 29.43 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009471/12.32, allocations: 2.041 MB / 3.462 GB, free: 29.07 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.05e-05/12.32, allocations: 5.969 kB / 3.462 GB, free: 29.07 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003808/12.32, allocations: 52.69 kB / 3.462 GB, free: 29.07 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002057/12.32, allocations: 82.31 kB / 3.462 GB, free: 29.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009419/12.33, allocations: 1.75 MB / 3.464 GB, free: 29.05 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.02809/12.35, allocations: 9.35 MB / 3.473 GB, free: 23.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005091/12.36, allocations: 1.511 MB / 3.475 GB, free: 23.69 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001921/12.36, allocations: 0.6758 MB / 3.475 GB, free: 23.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2261/12.59, allocations: 63.53 MB / 3.537 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003506/12.59, allocations: 1.114 MB / 3.539 GB, free: 15.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=110): time 4.639e-06/12.59, allocations: 0 / 3.539 GB, free: 15.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=121): time 0.02095/12.61, allocations: 5.514 MB / 3.544 GB, free: 12.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001986/12.61, allocations: 306.6 kB / 3.544 GB, free: 12.41 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001785/12.61, allocations: 0.8979 MB / 3.545 GB, free: 11.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003755/12.61, allocations: 53.08 kB / 3.545 GB, free: 11.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000546/12.61, allocations: 0.5645 MB / 3.546 GB, free: 11.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000513/12.62, allocations: 421.6 kB / 3.546 GB, free: 11.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/12.62, allocations: 31.75 kB / 3.546 GB, free: 11.11 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/12.62, allocations: 363.4 kB / 3.546 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001589/12.62, allocations: 0.6043 MB / 3.547 GB, free: 10.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/12.62, allocations: 1.006 MB / 3.548 GB, free: 9.629 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001764/12.62, allocations: 0.7123 MB / 3.549 GB, free: 9.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/12.62, allocations: 4 kB / 3.549 GB, free: 9.254 MB / 426.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005966/12.63, allocations: 2.12 MB / 3.551 GB, free: 7.984 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001873/12.63, allocations: 4.356 MB / 3.555 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/12.63, allocations: 10.91 kB / 3.555 GB, free: 3.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/12.64, allocations: 1.031 MB / 3.556 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002367/12.64, allocations: 282.8 kB / 3.556 GB, free: 2.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3196/12.96, allocations: 5.442 MB / 3.562 GB, free: 58.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/12.97, allocations: 126.4 kB / 3.562 GB, free: 58.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002722/12.97, allocations: 72.39 kB / 3.562 GB, free: 58.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/12.97, allocations: 3.75 kB / 3.562 GB, free: 58.8 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005557/12.97, allocations: 1.813 MB / 3.564 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/12.97, allocations: 10 kB / 3.564 GB, free: 58.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/12.98, allocations: 0.7829 MB / 3.564 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002527/12.99, allocations: 314.3 kB / 3.565 GB, free: 58.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009383/12.99, allocations: 8.097 MB / 3.573 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002424/13, allocations: 124.8 kB / 3.573 GB, free: 52.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002266/13, allocations: 67.98 kB / 3.573 GB, free: 52.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.0006247/13, allocations: 204.7 kB / 3.573 GB, free: 52.26 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000403/13, allocations: 140.6 kB / 3.573 GB, free: 52.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009915/13.01, allocations: 4.882 MB / 3.578 GB, free: 51.91 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-05/13.01, allocations: 47.48 kB / 3.578 GB, free: 51.91 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/13.01, allocations: 3.5 kB / 3.578 GB, free: 51.91 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-05/13.01, allocations: 8.578 kB / 3.578 GB, free: 51.91 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/13.02, allocations: 6.681 MB / 3.584 GB, free: 51.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/13.02, allocations: 0 / 3.584 GB, free: 51.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/13.02, allocations: 182 kB / 3.585 GB, free: 51.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007327/13.03, allocations: 1.476 MB / 3.586 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004211/13.03, allocations: 40.8 kB / 3.586 GB, free: 51.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004675/13.04, allocations: 4.447 MB / 3.59 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/13.04, allocations: 3 kB / 3.59 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009766/13.05, allocations: 4.852 MB / 3.595 GB, free: 47.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/13.05, allocations: 0.5408 MB / 3.596 GB, free: 47.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004406/13.05, allocations: 32.77 kB / 3.596 GB, free: 47.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/13.05, allocations: 114.6 kB / 3.596 GB, free: 47.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004823/13.05, allocations: 114.9 kB / 3.596 GB, free: 47.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/13.05, allocations: 53.16 kB / 3.596 GB, free: 47.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002003/13.05, allocations: 0.9653 MB / 3.597 GB, free: 47.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.51e-07/13.05, allocations: 3.219 kB / 3.597 GB, free: 47.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009988/13.06, allocations: 2.085 MB / 3.599 GB, free: 47.31 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.02289/13.09, allocations: 7.641 MB / 3.606 GB, free: 45.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01013/13.1, allocations: 3.568 MB / 3.61 GB, free: 45.23 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/13.1, allocations: 3.906 kB / 3.61 GB, free: 45.23 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004185/13.1, allocations: 1.484 MB / 3.611 GB, free: 45.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00607/13.11, allocations: 0.6383 MB / 3.612 GB, free: 45.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/13.12, allocations: 4.445 MB / 3.616 GB, free: 44.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/13.13, allocations: 1.539 MB / 3.618 GB, free: 43.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004857/13.13, allocations: 1.481 MB / 3.619 GB, free: 43.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/13.13, allocations: 0.7472 MB / 3.62 GB, free: 43.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/13.13, allocations: 1.344 kB / 3.62 GB, free: 43.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5469/13.68, allocations: 93.16 MB / 3.711 GB, free: 56.73 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002827/13.68, allocations: 212.1 kB / 3.711 GB, free: 56.51 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.206/20.89, allocations: 0 / 3.711 GB, free: 56.51 MB / 426.7 MB