Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.192/2.192, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.062e-05/3.058e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3431/0.3432, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.71/8.054, allocations: 2.624 GB / 2.911 GB, free: 30.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/8.054, allocations: 82.77 kB / 2.911 GB, free: 30.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217/12.27, allocations: 0.6944 GB / 3.606 GB, free: 25.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.624e-06/12.27, allocations: 1.781 kB / 3.606 GB, free: 25.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001823/12.27, allocations: 36.7 kB / 3.606 GB, free: 25.09 MB / 426.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.0171/12.29, allocations: 2.718 MB / 3.608 GB, free: 23.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/12.29, allocations: 11.88 kB / 3.608 GB, free: 23.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009392/12.3, allocations: 0.5638 MB / 3.609 GB, free: 23.87 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/12.3, allocations: 0.9768 MB / 3.61 GB, free: 23.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003226/12.3, allocations: 143.2 kB / 3.61 GB, free: 23.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007788/12.3, allocations: 72.81 kB / 3.61 GB, free: 23.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005549/12.31, allocations: 1.404 MB / 3.612 GB, free: 23.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004337/12.31, allocations: 1.62 MB / 3.613 GB, free: 23.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.823e-05/12.31, allocations: 7.797 kB / 3.613 GB, free: 23.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002355/12.31, allocations: 7.5 kB / 3.613 GB, free: 23.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001549/12.31, allocations: 82.44 kB / 3.613 GB, free: 23.08 MB / 426.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.4282/12.74, allocations: 133.8 MB / 3.744 GB, free: 19.71 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002758/12.75, allocations: 1.069 MB / 3.745 GB, free: 19.68 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001366/12.75, allocations: 0.5818 MB / 3.746 GB, free: 19.67 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6181/13.37, allocations: 63.61 MB / 3.808 GB, free: 78.53 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001912/13.37, allocations: 0.7282 MB / 3.808 GB, free: 78.45 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=96): time 4.098e-06/13.37, allocations: 0 / 3.808 GB, free: 78.45 MB / 0.4949 GB Notification: Performance of matching and sorting (n=107): time 0.03151/13.4, allocations: 5.765 MB / 3.814 GB, free: 77.95 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.897e-05/13.4, allocations: 196 kB / 3.814 GB, free: 77.73 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/13.4, allocations: 0.7118 MB / 3.815 GB, free: 77.59 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003911/13.4, allocations: 28.45 kB / 3.815 GB, free: 77.56 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/13.4, allocations: 0.6298 MB / 3.816 GB, free: 77.3 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006631/13.4, allocations: 356.3 kB / 3.816 GB, free: 77.12 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001678/13.4, allocations: 0 / 3.816 GB, free: 77.12 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001301/13.4, allocations: 364 kB / 3.816 GB, free: 76.82 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001537/13.4, allocations: 0.5827 MB / 3.817 GB, free: 76.81 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/13.41, allocations: 0.9875 MB / 3.818 GB, free: 76.36 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01166/13.42, allocations: 1.693 MB / 3.819 GB, free: 76.31 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-05/13.42, allocations: 7.578 kB / 3.819 GB, free: 76.31 MB / 0.4949 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01629/13.43, allocations: 3.013 MB / 3.822 GB, free: 76.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009779/13.43, allocations: 4.367 MB / 3.827 GB, free: 71.52 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.674e-05/13.44, allocations: 12.94 kB / 3.827 GB, free: 71.52 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002756/13.44, allocations: 0.7066 MB / 3.827 GB, free: 71.45 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002341/13.44, allocations: 281.2 kB / 3.828 GB, free: 71.45 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009899/13.45, allocations: 5.922 MB / 3.833 GB, free: 67.04 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/13.45, allocations: 99.19 kB / 3.833 GB, free: 67.03 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005384/13.45, allocations: 78.53 kB / 3.834 GB, free: 67.02 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/13.45, allocations: 3.969 kB / 3.834 GB, free: 67.02 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01319/13.47, allocations: 2.424 MB / 3.836 GB, free: 66.91 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/13.47, allocations: 7.844 kB / 3.836 GB, free: 66.91 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/13.47, allocations: 0.5013 MB / 3.836 GB, free: 66.86 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/13.47, allocations: 308.1 kB / 3.837 GB, free: 66.86 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/13.48, allocations: 7.97 MB / 3.844 GB, free: 60.69 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/13.48, allocations: 95.33 kB / 3.845 GB, free: 60.68 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002164/13.48, allocations: 69.61 kB / 3.845 GB, free: 60.68 MB / 0.4949 GB 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.0005927/13.48, allocations: 162.8 kB / 3.845 GB, free: 60.55 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009512/13.49, allocations: 2.087 MB / 3.847 GB, free: 60.38 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004854/13.49, allocations: 118.3 kB / 3.847 GB, free: 60.32 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/13.51, allocations: 4.122 MB / 3.851 GB, free: 59.93 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.115e-05/13.51, allocations: 38.31 kB / 3.851 GB, free: 59.93 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/13.51, allocations: 0 / 3.851 GB, free: 59.93 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.549e-05/13.51, allocations: 6.703 kB / 3.851 GB, free: 59.93 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/13.52, allocations: 5.716 MB / 3.857 GB, free: 59.42 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/13.52, allocations: 0 / 3.857 GB, free: 59.42 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001413/13.52, allocations: 155.7 kB / 3.857 GB, free: 59.42 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003249/13.52, allocations: 1.157 MB / 3.858 GB, free: 59.34 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003624/13.53, allocations: 17.86 kB / 3.858 GB, free: 59.34 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007203/13.53, allocations: 4.887 MB / 3.863 GB, free: 56.19 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/13.53, allocations: 0 / 3.863 GB, free: 56.19 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/13.54, allocations: 4.629 MB / 3.867 GB, free: 55.77 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/13.55, allocations: 391.5 kB / 3.868 GB, free: 55.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004608/13.55, allocations: 0 / 3.868 GB, free: 55.57 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/13.55, allocations: 76.53 kB / 3.868 GB, free: 55.56 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004431/13.55, allocations: 115.2 kB / 3.868 GB, free: 55.56 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/13.55, allocations: 42.58 kB / 3.868 GB, free: 55.55 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0009712/13.55, allocations: 0.507 MB / 3.868 GB, free: 55.46 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.91e-07/13.55, allocations: 0 / 3.868 GB, free: 55.46 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01014/13.56, allocations: 1.951 MB / 3.87 GB, free: 55.38 MB / 0.4949 GB 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.02559/13.59, allocations: 7.315 MB / 3.877 GB, free: 54.16 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01063/13.6, allocations: 3.31 MB / 3.881 GB, free: 53.59 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 8.797e-06/13.6, allocations: 3.969 kB / 3.881 GB, free: 53.59 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003719/13.6, allocations: 1.289 MB / 3.882 GB, free: 53.56 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004513/13.6, allocations: 465.4 kB / 3.882 GB, free: 53.54 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/13.62, allocations: 3.828 MB / 3.886 GB, free: 52.67 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/13.62, allocations: 1.424 MB / 3.887 GB, free: 51.93 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.004655/13.63, allocations: 1.567 MB / 3.889 GB, free: 51.86 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001353/13.63, allocations: 0.6145 MB / 3.89 GB, free: 51.86 MB / 0.4949 GB Notification: Performance of SimCode: time 1.273e-06/13.63, allocations: 3.25 kB / 3.89 GB, free: 51.86 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5734/14.2, allocations: 73.31 MB / 3.961 GB, free: 99.85 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003053/14.2, allocations: 152.2 kB / 3.961 GB, free: 99.66 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.382/20.58, allocations: 1.219 kB / 3.961 GB, free: 99.66 MB / 0.4949 GB