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.589/2.589, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.622e-05, allocations: 2.281 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1114, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.67/9.781, allocations: 2.624 GB / 2.911 GB, free: 96.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003736/9.781, allocations: 84.53 kB / 2.911 GB, free: 96.49 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.911/14.69, allocations: 0.6944 GB / 3.606 GB, free: 33.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/14.69, allocations: 3.875 kB / 3.606 GB, free: 33.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002083/14.69, allocations: 32.84 kB / 3.606 GB, free: 33.21 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.01657/14.71, allocations: 2.715 MB / 3.609 GB, free: 31.79 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/14.71, allocations: 7.844 kB / 3.609 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008241/14.72, allocations: 0.567 MB / 3.609 GB, free: 31.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/14.72, allocations: 0.9715 MB / 3.61 GB, free: 31.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003118/14.72, allocations: 143 kB / 3.61 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007033/14.72, allocations: 67.19 kB / 3.61 GB, free: 31.26 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005589/14.73, allocations: 1.41 MB / 3.612 GB, free: 31.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/14.74, allocations: 1.616 MB / 3.613 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.551e-05/14.74, allocations: 11.53 kB / 3.613 GB, free: 30.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004096/14.74, allocations: 6.75 kB / 3.613 GB, free: 30.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002078/14.74, allocations: 80.92 kB / 3.613 GB, free: 30.87 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.9681/15.71, allocations: 133.8 MB / 3.744 GB, free: 19.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/15.71, allocations: 1.082 MB / 3.745 GB, free: 19.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002332/15.71, allocations: 0.5826 MB / 3.746 GB, free: 19.13 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3028/16.02, allocations: 63.6 MB / 3.808 GB, free: 26.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002199/16.02, allocations: 0.7292 MB / 3.808 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=96): time 4.639e-06/16.02, allocations: 3.656 kB / 3.808 GB, free: 26.58 MB / 0.4948 GB Notification: Performance of matching and sorting (n=107): time 0.03766/16.06, allocations: 5.772 MB / 3.814 GB, free: 26.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001577/16.06, allocations: 197.3 kB / 3.814 GB, free: 25.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001679/16.06, allocations: 0.7062 MB / 3.815 GB, free: 25.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004157/16.06, allocations: 28.39 kB / 3.815 GB, free: 25.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007239/16.06, allocations: 0.6246 MB / 3.816 GB, free: 25.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007928/16.06, allocations: 360.2 kB / 3.816 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/16.06, allocations: 0 / 3.816 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002368/16.06, allocations: 364 kB / 3.816 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/16.06, allocations: 0.5877 MB / 3.817 GB, free: 24.91 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002324/16.06, allocations: 0.9758 MB / 3.818 GB, free: 24.46 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/16.08, allocations: 1.7 MB / 3.819 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.399e-05/16.08, allocations: 6 kB / 3.819 GB, free: 24.41 MB / 0.4948 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01972/16.1, allocations: 3.009 MB / 3.822 GB, free: 24.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001968/16.1, allocations: 4.357 MB / 3.827 GB, free: 19.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.923e-05/16.1, allocations: 19.17 kB / 3.827 GB, free: 19.62 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003277/16.1, allocations: 0.6989 MB / 3.827 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002811/16.11, allocations: 288.2 kB / 3.828 GB, free: 19.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/16.12, allocations: 5.919 MB / 3.833 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003092/16.12, allocations: 99.34 kB / 3.833 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002658/16.12, allocations: 76.22 kB / 3.834 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/16.12, allocations: 7.812 kB / 3.834 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01599/16.14, allocations: 2.426 MB / 3.836 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.578e-05/16.14, allocations: 12 kB / 3.836 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/16.14, allocations: 0.5009 MB / 3.836 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002793/16.14, allocations: 316.8 kB / 3.837 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01358/16.16, allocations: 7.965 MB / 3.845 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/16.16, allocations: 90.45 kB / 3.845 GB, free: 6.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002304/16.16, allocations: 70.69 kB / 3.845 GB, free: 6.469 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.0007074/16.16, allocations: 161 kB / 3.845 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01514/16.18, allocations: 2.092 MB / 3.847 GB, free: 5.074 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/16.18, allocations: 114.7 kB / 3.847 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01253/16.19, allocations: 4.112 MB / 3.851 GB, free: 2.715 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.854e-05/16.19, allocations: 44.48 kB / 3.851 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/16.19, allocations: 0 / 3.851 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.269e-05/16.19, allocations: 9.219 kB / 3.851 GB, free: 2.695 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4119/16.6, allocations: 5.715 MB / 3.857 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/16.6, allocations: 0.7969 kB / 3.857 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/16.6, allocations: 150.7 kB / 3.857 GB, free: 110.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004527/16.61, allocations: 1.169 MB / 3.858 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003675/16.61, allocations: 18.05 kB / 3.858 GB, free: 110.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009562/16.62, allocations: 4.878 MB / 3.863 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.718e-06/16.62, allocations: 1.969 kB / 3.863 GB, free: 107.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01513/16.63, allocations: 4.617 MB / 3.867 GB, free: 107.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001656/16.64, allocations: 393.2 kB / 3.868 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006888/16.64, allocations: 3.219 kB / 3.868 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002655/16.64, allocations: 81.95 kB / 3.868 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005108/16.64, allocations: 116.5 kB / 3.868 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001999/16.64, allocations: 45.58 kB / 3.868 GB, free: 107.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001194/16.64, allocations: 0.5101 MB / 3.868 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.41e-07/16.64, allocations: 0.5469 kB / 3.868 GB, free: 107.1 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01142/16.65, allocations: 1.953 MB / 3.87 GB, free: 107.1 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.02801/16.68, allocations: 7.301 MB / 3.877 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01062/16.69, allocations: 3.321 MB / 3.881 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/16.69, allocations: 2.531 kB / 3.881 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004255/16.7, allocations: 1.28 MB / 3.882 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005013/16.7, allocations: 464 kB / 3.882 GB, free: 105.6 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/16.72, allocations: 3.837 MB / 3.886 GB, free: 104.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/16.72, allocations: 1.426 MB / 3.887 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005248/16.72, allocations: 1.577 MB / 3.889 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/16.72, allocations: 0.6165 MB / 3.89 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.392e-06/16.72, allocations: 0 / 3.89 GB, free: 104.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2482/16.97, allocations: 73.32 MB / 3.961 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002368/16.97, allocations: 171.2 kB / 3.961 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.885/24.86, allocations: 0 / 3.961 GB, free: 100.1 MB / 0.4948 GB