Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_PumpingSystem",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.72/2.72, allocations: 195 MB / 202.9 MB, free: 6.641 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.124e-05, allocations: 3.5 kB / 249.7 MB, free: 5.266 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.34/10.45, allocations: 2.624 GB / 2.911 GB, free: 82.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/10.45, allocations: 80.95 kB / 2.911 GB, free: 82.68 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.941/15.4, allocations: 0.6954 GB / 3.607 GB, free: 27.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.206e-06/15.4, allocations: 0 / 3.607 GB, free: 27.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001799/15.4, allocations: 33.47 kB / 3.607 GB, free: 27.54 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.01567/15.41, allocations: 2.722 MB / 3.609 GB, free: 26.16 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.381e-05/15.41, allocations: 9.969 kB / 3.609 GB, free: 26.16 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008087/15.41, allocations: 134.5 kB / 3.61 GB, free: 26.11 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0081/15.42, allocations: 0.5633 MB / 3.61 GB, free: 26.04 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004524/15.43, allocations: 0.9776 MB / 3.611 GB, free: 25.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004155/15.43, allocations: 146.6 kB / 3.611 GB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006994/15.43, allocations: 78.33 kB / 3.611 GB, free: 25.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004565/15.43, allocations: 1.4 MB / 3.613 GB, free: 25.61 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004713/15.44, allocations: 1.623 MB / 3.614 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.613e-05/15.44, allocations: 10.25 kB / 3.614 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002833/15.44, allocations: 3.688 kB / 3.614 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/15.44, allocations: 81.44 kB / 3.614 GB, free: 25.24 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.9846/16.42, allocations: 133.8 MB / 3.745 GB, free: 24.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005852/16.43, allocations: 1.085 MB / 3.746 GB, free: 24.45 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002897/16.43, allocations: 0.5816 MB / 3.747 GB, free: 24.44 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3844/16.81, allocations: 63.61 MB / 3.809 GB, free: 15.98 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003409/16.82, allocations: 0.7377 MB / 3.809 GB, free: 15.89 MB / 490.7 MB Notification: Performance of pre-optimization done (n=96): time 8.877e-06/16.82, allocations: 0 / 3.809 GB, free: 15.89 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.04901/16.87, allocations: 5.776 MB / 3.815 GB, free: 15.36 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/16.87, allocations: 194.3 kB / 3.815 GB, free: 15.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/16.87, allocations: 0.7113 MB / 3.816 GB, free: 15.01 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004645/16.87, allocations: 29.55 kB / 3.816 GB, free: 14.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008797/16.87, allocations: 0.6241 MB / 3.817 GB, free: 14.72 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008276/16.87, allocations: 359.3 kB / 3.817 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/16.87, allocations: 0 / 3.817 GB, free: 14.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000282/16.87, allocations: 363.5 kB / 3.817 GB, free: 14.23 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002396/16.87, allocations: 0.5882 MB / 3.818 GB, free: 14.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/16.88, allocations: 0.978 MB / 3.819 GB, free: 13.78 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01686/16.89, allocations: 1.699 MB / 3.821 GB, free: 13.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.547e-05/16.89, allocations: 3.812 kB / 3.821 GB, free: 13.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.02349/16.92, allocations: 3.014 MB / 3.823 GB, free: 13.52 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002697/16.92, allocations: 4.359 MB / 3.828 GB, free: 24.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6e-05/16.92, allocations: 11 kB / 3.828 GB, free: 24.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003766/16.92, allocations: 0.7081 MB / 3.828 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003308/16.93, allocations: 285.5 kB / 3.829 GB, free: 24.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01514/16.94, allocations: 5.912 MB / 3.834 GB, free: 20.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003671/16.95, allocations: 110.7 kB / 3.835 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/16.95, allocations: 73.17 kB / 3.835 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/16.95, allocations: 3.969 kB / 3.835 GB, free: 20.45 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01887/16.97, allocations: 2.419 MB / 3.837 GB, free: 20.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.765e-05/16.97, allocations: 18.19 kB / 3.837 GB, free: 20.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00274/16.97, allocations: 0.4997 MB / 3.838 GB, free: 20.29 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003303/16.97, allocations: 313.5 kB / 3.838 GB, free: 20.28 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01597/16.99, allocations: 7.969 MB / 3.846 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/16.99, allocations: 93.58 kB / 3.846 GB, free: 14.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004219/16.99, allocations: 63.95 kB / 3.846 GB, free: 14.1 MB / 0.4948 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.0008137/16.99, allocations: 162.9 kB / 3.846 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005213/16.99, allocations: 117.3 kB / 3.846 GB, free: 13.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/17.01, allocations: 4.114 MB / 3.85 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.77e-05/17.01, allocations: 47.69 kB / 3.85 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/17.01, allocations: 3.891 kB / 3.85 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.879e-05/17.01, allocations: 3.844 kB / 3.85 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01906/17.03, allocations: 5.717 MB / 3.856 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.646e-05/17.03, allocations: 0 / 3.856 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/17.03, allocations: 149.2 kB / 3.856 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004339/17.03, allocations: 1.164 MB / 3.857 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003844/17.03, allocations: 22.44 kB / 3.857 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01048/17.04, allocations: 4.876 MB / 3.862 GB, free: 9.816 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/17.05, allocations: 3.953 kB / 3.862 GB, free: 9.812 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/17.06, allocations: 4.624 MB / 3.866 GB, free: 8.609 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001534/17.06, allocations: 387.6 kB / 3.867 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004103/17.06, allocations: 10.83 kB / 3.867 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002355/17.06, allocations: 73.56 kB / 3.867 GB, free: 8.262 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004563/17.07, allocations: 114.9 kB / 3.867 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/17.07, allocations: 45.95 kB / 3.867 GB, free: 8.176 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001236/17.07, allocations: 0.5067 MB / 3.867 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.603e-06/17.07, allocations: 0 / 3.867 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01179/17.08, allocations: 1.953 MB / 3.869 GB, free: 6.234 MB / 0.4948 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.03076/17.11, allocations: 7.304 MB / 3.876 GB, free: 1.645 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.4868/17.6, allocations: 3.312 MB / 3.88 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/17.6, allocations: 0.9375 kB / 3.88 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005926/17.6, allocations: 1.284 MB / 3.881 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006337/17.61, allocations: 459.6 kB / 3.881 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02502/17.63, allocations: 3.837 MB / 3.885 GB, free: 103.3 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002375/17.64, allocations: 1.426 MB / 3.886 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.007436/17.64, allocations: 1.576 MB / 3.888 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001949/17.65, allocations: 0.6182 MB / 3.889 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.924e-06/17.65, allocations: 0 / 3.889 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.276/17.92, allocations: 75.17 MB / 3.962 GB, free: 99.13 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003063/17.92, allocations: 164 kB / 3.962 GB, free: 98.94 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.621/26.54, allocations: 0 / 3.962 GB, free: 98.94 MB / 0.4948 GB