Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.562e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2983, allocations: 44.5 MB / 294.2 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.288/7.586, allocations: 2.624 GB / 2.911 GB, free: 30.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/7.586, allocations: 82.2 kB / 2.911 GB, free: 30.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.816/11.4, allocations: 0.6944 GB / 3.606 GB, free: 25.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.934e-06/11.4, allocations: 0 / 3.606 GB, free: 25.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001306/11.4, allocations: 36.56 kB / 3.606 GB, free: 25.15 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.0125/11.42, allocations: 2.719 MB / 3.608 GB, free: 24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/11.42, allocations: 11.06 kB / 3.608 GB, free: 24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006186/11.42, allocations: 0.5672 MB / 3.609 GB, free: 23.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/11.43, allocations: 0.9733 MB / 3.61 GB, free: 23.61 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/11.43, allocations: 149.9 kB / 3.61 GB, free: 23.52 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000468/11.43, allocations: 69.38 kB / 3.61 GB, free: 23.51 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003989/11.43, allocations: 1.4 MB / 3.612 GB, free: 23.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00422/11.43, allocations: 1.622 MB / 3.613 GB, free: 23.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-05/11.43, allocations: 12.53 kB / 3.613 GB, free: 23.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/11.43, allocations: 2.594 kB / 3.613 GB, free: 23.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/11.43, allocations: 76.53 kB / 3.613 GB, free: 23.14 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.4446/11.88, allocations: 133.8 MB / 3.744 GB, free: 19.78 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/11.88, allocations: 1.077 MB / 3.745 GB, free: 19.74 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00137/11.88, allocations: 0.5797 MB / 3.745 GB, free: 19.73 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5289/12.41, allocations: 63.61 MB / 3.808 GB, free: 77.65 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001857/12.41, allocations: 0.7299 MB / 3.808 GB, free: 77.57 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=96): time 4.538e-06/12.41, allocations: 1.312 kB / 3.808 GB, free: 77.57 MB / 0.4949 GB Notification: Performance of matching and sorting (n=107): time 0.03074/12.45, allocations: 5.762 MB / 3.814 GB, free: 77.07 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/12.45, allocations: 200.2 kB / 3.814 GB, free: 76.85 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001453/12.45, allocations: 0.7115 MB / 3.815 GB, free: 76.71 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003793/12.45, allocations: 25.7 kB / 3.815 GB, free: 76.68 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005686/12.45, allocations: 0.641 MB / 3.815 GB, free: 76.36 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006275/12.45, allocations: 355.1 kB / 3.816 GB, free: 76.18 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/12.45, allocations: 0 / 3.816 GB, free: 76.18 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001236/12.45, allocations: 365.2 kB / 3.816 GB, free: 75.86 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/12.45, allocations: 0.5882 MB / 3.817 GB, free: 75.86 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/12.45, allocations: 0.9842 MB / 3.818 GB, free: 75.41 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/12.46, allocations: 1.7 MB / 3.819 GB, free: 75.36 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-05/12.46, allocations: 6.828 kB / 3.819 GB, free: 75.36 MB / 0.4949 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.0162/12.48, allocations: 2.957 MB / 3.822 GB, free: 75.18 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009516/12.48, allocations: 4.364 MB / 3.827 GB, free: 70.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-05/12.48, allocations: 15.69 kB / 3.827 GB, free: 70.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002727/12.48, allocations: 0.701 MB / 3.827 GB, free: 70.53 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002347/12.49, allocations: 285.8 kB / 3.827 GB, free: 70.53 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009886/12.5, allocations: 5.922 MB / 3.833 GB, free: 66.12 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/12.5, allocations: 102 kB / 3.833 GB, free: 66.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004671/12.5, allocations: 75.14 kB / 3.833 GB, free: 66.1 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/12.5, allocations: 3.719 kB / 3.833 GB, free: 66.1 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01339/12.51, allocations: 2.425 MB / 3.836 GB, free: 65.99 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.135e-05/12.51, allocations: 15.03 kB / 3.836 GB, free: 65.99 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/12.52, allocations: 495.8 kB / 3.836 GB, free: 65.93 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/12.52, allocations: 310.7 kB / 3.837 GB, free: 65.93 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00996/12.53, allocations: 7.955 MB / 3.844 GB, free: 59.78 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/12.53, allocations: 95.47 kB / 3.844 GB, free: 59.76 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002092/12.53, allocations: 71.81 kB / 3.845 GB, free: 59.76 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.0006112/12.53, allocations: 162.2 kB / 3.845 GB, free: 59.64 MB / 0.4949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00954/12.54, allocations: 2.082 MB / 3.847 GB, free: 59.47 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004941/12.54, allocations: 119.3 kB / 3.847 GB, free: 59.41 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/12.55, allocations: 4.11 MB / 3.851 GB, free: 59.03 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.211e-05/12.55, allocations: 41.41 kB / 3.851 GB, free: 59.03 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/12.55, allocations: 3.906 kB / 3.851 GB, free: 59.03 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.013e-05/12.55, allocations: 8.203 kB / 3.851 GB, free: 59.03 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/12.57, allocations: 5.721 MB / 3.856 GB, free: 58.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.345e-05/12.57, allocations: 3.75 kB / 3.856 GB, free: 58.51 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/12.57, allocations: 148.5 kB / 3.857 GB, free: 58.51 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003286/12.57, allocations: 1.165 MB / 3.858 GB, free: 58.43 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003768/12.57, allocations: 18.84 kB / 3.858 GB, free: 58.43 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007166/12.58, allocations: 4.878 MB / 3.863 GB, free: 55.28 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.963e-06/12.58, allocations: 1.312 kB / 3.863 GB, free: 55.28 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01188/12.59, allocations: 4.624 MB / 3.867 GB, free: 54.86 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/12.59, allocations: 389.1 kB / 3.867 GB, free: 54.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004183/12.59, allocations: 3.938 kB / 3.867 GB, free: 54.66 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001823/12.59, allocations: 84.25 kB / 3.868 GB, free: 54.65 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/12.59, allocations: 109.1 kB / 3.868 GB, free: 54.64 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000159/12.59, allocations: 47.64 kB / 3.868 GB, free: 54.64 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0009415/12.6, allocations: 0.504 MB / 3.868 GB, free: 54.55 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.61e-07/12.6, allocations: 0 / 3.868 GB, free: 54.55 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01009/12.61, allocations: 1.95 MB / 3.87 GB, free: 54.46 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.0233/12.63, allocations: 7.305 MB / 3.877 GB, free: 53.26 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008745/12.64, allocations: 3.294 MB / 3.88 GB, free: 52.68 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/12.64, allocations: 0 / 3.88 GB, free: 52.68 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/12.64, allocations: 1.277 MB / 3.882 GB, free: 52.66 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/12.65, allocations: 467.5 kB / 3.882 GB, free: 52.64 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01397/12.66, allocations: 3.864 MB / 3.886 GB, free: 51.73 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/12.66, allocations: 1.41 MB / 3.887 GB, free: 51 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/12.66, allocations: 0.647 MB / 3.888 GB, free: 50.99 MB / 0.4949 GB Notification: Performance of SimCode: time 9.22e-07/12.66, allocations: 3.562 kB / 3.888 GB, free: 50.99 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.03/17.69, allocations: 94.06 MB / 3.98 GB, free: 98.38 MB / 0.4949 GB