Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.242/2.242, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.221e-05, allocations: 4 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1292, allocations: 50.41 MB / 342.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.835/8.964, allocations: 2.798 GB / 3.133 GB, free: 44.92 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/8.964, allocations: 81.77 kB / 3.133 GB, free: 44.88 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.166/13.13, allocations: 0.713 GB / 3.846 GB, free: 34.38 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.775e-06/13.13, allocations: 7.906 kB / 3.846 GB, free: 34.38 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002093/13.13, allocations: 39.91 kB / 3.846 GB, free: 34.36 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.0158/13.15, allocations: 2.725 MB / 3.849 GB, free: 32.81 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.3e-05/13.15, allocations: 10.41 kB / 3.849 GB, free: 32.81 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001028/13.15, allocations: 182.7 kB / 3.849 GB, free: 32.7 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007037/13.15, allocations: 0.5674 MB / 3.849 GB, free: 32.58 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/13.16, allocations: 0.9801 MB / 3.85 GB, free: 32.03 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/13.16, allocations: 193.8 kB / 3.85 GB, free: 31.89 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007725/13.16, allocations: 116.7 kB / 3.851 GB, free: 31.85 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007493/13.17, allocations: 2.02 MB / 3.853 GB, free: 30.92 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.396e-05/13.17, allocations: 3.938 kB / 3.853 GB, free: 30.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003051/13.17, allocations: 59.39 kB / 3.853 GB, free: 30.88 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001611/13.17, allocations: 74.98 kB / 3.853 GB, free: 30.87 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006896/13.18, allocations: 1.739 MB / 3.854 GB, free: 30.3 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.02321/13.2, allocations: 9.301 MB / 3.863 GB, free: 23.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005121/13.2, allocations: 1.505 MB / 3.865 GB, free: 22.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/13.21, allocations: 0.6736 MB / 3.866 GB, free: 22.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.6609/13.87, allocations: 63.65 MB / 3.928 GB, free: 39.34 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004067/13.87, allocations: 1.103 MB / 3.929 GB, free: 39.22 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 5.17e-06/13.87, allocations: 0 / 3.929 GB, free: 39.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=121): time 0.02525/13.9, allocations: 5.496 MB / 3.934 GB, free: 38.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/13.9, allocations: 297.8 kB / 3.934 GB, free: 37.92 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/13.9, allocations: 0.9074 MB / 3.935 GB, free: 37.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004575/13.9, allocations: 55.08 kB / 3.935 GB, free: 37.73 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000676/13.9, allocations: 0.5608 MB / 3.936 GB, free: 37.52 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008393/13.9, allocations: 423.7 kB / 3.936 GB, free: 37.32 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/13.9, allocations: 29.19 kB / 3.936 GB, free: 37.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/13.9, allocations: 361.3 kB / 3.937 GB, free: 37.02 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/13.9, allocations: 0.6045 MB / 3.937 GB, free: 37.02 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002358/13.91, allocations: 0.9936 MB / 3.938 GB, free: 36.57 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002827/13.91, allocations: 0.7212 MB / 3.939 GB, free: 36.55 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.988e-05/13.91, allocations: 6 kB / 3.939 GB, free: 36.55 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.007865/13.92, allocations: 2.081 MB / 3.941 GB, free: 36.36 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001095/13.92, allocations: 4.355 MB / 3.945 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.254e-05/13.92, allocations: 13.44 kB / 3.945 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01254/13.93, allocations: 1.013 MB / 3.946 GB, free: 31.79 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/13.93, allocations: 295.5 kB / 3.947 GB, free: 31.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006213/13.94, allocations: 5.44 MB / 3.952 GB, free: 27.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/13.94, allocations: 125.1 kB / 3.952 GB, free: 27.33 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000495/13.94, allocations: 70.83 kB / 3.952 GB, free: 27.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/13.94, allocations: 3.938 kB / 3.952 GB, free: 27.33 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006234/13.95, allocations: 1.887 MB / 3.954 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.484e-05/13.95, allocations: 13.78 kB / 3.954 GB, free: 27.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/13.96, allocations: 0.9075 MB / 3.955 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002377/13.96, allocations: 293 kB / 3.955 GB, free: 27.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004993/13.97, allocations: 4.777 MB / 3.96 GB, free: 23.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002719/13.97, allocations: 124 kB / 3.96 GB, free: 23.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005035/13.97, allocations: 74.53 kB / 3.96 GB, free: 23.27 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.0006427/13.97, allocations: 207.6 kB / 3.96 GB, free: 23.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/13.97, allocations: 134.6 kB / 3.96 GB, free: 23.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/13.98, allocations: 4.88 MB / 3.965 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/13.98, allocations: 54.45 kB / 3.965 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/13.98, allocations: 2.5 kB / 3.965 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.301e-05/13.98, allocations: 10.5 kB / 3.965 GB, free: 22.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01452/14, allocations: 6.676 MB / 3.972 GB, free: 22.11 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/14, allocations: 3.219 kB / 3.972 GB, free: 22.11 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/14, allocations: 176.7 kB / 3.972 GB, free: 22.11 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007711/14.01, allocations: 1.475 MB / 3.973 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004393/14.01, allocations: 37.58 kB / 3.973 GB, free: 22.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004894/14.01, allocations: 4.456 MB / 3.978 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/14.01, allocations: 2.531 kB / 3.978 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/14.02, allocations: 4.836 MB / 3.982 GB, free: 18.38 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001837/14.02, allocations: 0.5452 MB / 3.983 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006608/14.03, allocations: 30.69 kB / 3.983 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002712/14.03, allocations: 110.2 kB / 3.983 GB, free: 18.12 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006515/14.03, allocations: 121.1 kB / 3.983 GB, free: 18.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002051/14.03, allocations: 51.78 kB / 3.983 GB, free: 18.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002243/14.03, allocations: 0.9683 MB / 3.984 GB, free: 18 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.112e-06/14.03, allocations: 0 / 3.984 GB, free: 18 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01172/14.04, allocations: 2.082 MB / 3.986 GB, free: 17.91 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.0246/14.07, allocations: 7.675 MB / 3.994 GB, free: 16.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01114/14.08, allocations: 3.224 MB / 3.997 GB, free: 16.18 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/14.08, allocations: 0 / 3.997 GB, free: 16.18 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004736/14.08, allocations: 1.469 MB / 3.998 GB, free: 16.16 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006279/14.09, allocations: 0.6572 MB / 3.999 GB, free: 16.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/14.11, allocations: 4.424 MB / 4.003 GB, free: 15.27 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/14.11, allocations: 1.541 MB / 4.005 GB, free: 14.53 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005177/14.11, allocations: 1.476 MB / 4.006 GB, free: 14.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001568/14.12, allocations: 0.744 MB / 4.007 GB, free: 14.49 MB / 490.7 MB Notification: Performance of SimCode: time 2.014e-06/14.12, allocations: 1.203 kB / 4.007 GB, free: 14.49 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6978/14.81, allocations: 93.03 MB / 4.098 GB, free: 63.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002682/14.81, allocations: 225 kB / 4.098 GB, free: 63.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/22.64, allocations: 1.5 kB / 4.098 GB, free: 63.34 MB / 0.4948 GB