Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.PumpingSystem,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Fluid_Examples_PumpingSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.804/1.804, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.882e-05, allocations: 8 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2668, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.439/7.706, allocations: 2.514 GB / 2.767 GB, free: 66.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000257/7.706, allocations: 71.36 kB / 2.767 GB, free: 66.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426/11.13, allocations: 0.6769 GB / 3.444 GB, free: 4.125 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.984e-06/11.13, allocations: 0 / 3.444 GB, free: 4.125 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001232/11.13, allocations: 32 kB / 3.444 GB, free: 4.094 MB / 378.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.0122/11.14, allocations: 2.643 MB / 3.446 GB, free: 1.406 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/11.14, allocations: 8.031 kB / 3.446 GB, free: 1.398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005913/11.15, allocations: 0.5211 MB / 3.447 GB, free: 0.875 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3042/11.45, allocations: 0.9761 MB / 3.448 GB, free: 22.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003263/11.46, allocations: 144.6 kB / 3.448 GB, free: 22.49 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006437/11.46, allocations: 71.56 kB / 3.448 GB, free: 22.49 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004341/11.46, allocations: 1.401 MB / 3.449 GB, free: 22.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/11.46, allocations: 1.621 MB / 3.451 GB, free: 22.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.541e-05/11.46, allocations: 7.406 kB / 3.451 GB, free: 22.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002582/11.47, allocations: 4.875 kB / 3.451 GB, free: 22.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001673/11.47, allocations: 79.23 kB / 3.451 GB, free: 22.12 MB / 378.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.4107/11.88, allocations: 133.5 MB / 3.581 GB, free: 19.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/11.88, allocations: 1.081 MB / 3.582 GB, free: 19.27 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/11.88, allocations: 0.5778 MB / 3.583 GB, free: 19.26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4967/12.38, allocations: 63.52 MB / 3.645 GB, free: 74.22 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001906/12.38, allocations: 0.734 MB / 3.646 GB, free: 74.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 3.627e-06/12.38, allocations: 0 / 3.646 GB, free: 74.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=107): time 0.0301/12.41, allocations: 5.767 MB / 3.651 GB, free: 73.64 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.854e-05/12.41, allocations: 200.2 kB / 3.651 GB, free: 73.41 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001285/12.41, allocations: 0.7095 MB / 3.652 GB, free: 73.28 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001769/12.41, allocations: 29.27 kB / 3.652 GB, free: 73.25 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/12.41, allocations: 0.6362 MB / 3.653 GB, free: 72.92 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004096/12.41, allocations: 353.8 kB / 3.653 GB, free: 72.75 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/12.41, allocations: 0 / 3.653 GB, free: 72.75 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/12.41, allocations: 370.5 kB / 3.654 GB, free: 72.43 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/12.41, allocations: 0.5863 MB / 3.654 GB, free: 72.43 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/12.41, allocations: 0.9847 MB / 3.655 GB, free: 71.97 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/12.43, allocations: 1.7 MB / 3.657 GB, free: 71.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.596e-05/12.43, allocations: 5.281 kB / 3.657 GB, free: 71.92 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.01481/12.44, allocations: 2.956 MB / 3.66 GB, free: 71.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009184/12.44, allocations: 4.365 MB / 3.664 GB, free: 67.17 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/12.44, allocations: 11.44 kB / 3.664 GB, free: 67.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002545/12.44, allocations: 0.7117 MB / 3.665 GB, free: 67.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002247/12.45, allocations: 284.7 kB / 3.665 GB, free: 67.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009353/12.46, allocations: 5.918 MB / 3.671 GB, free: 62.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002511/12.46, allocations: 95.88 kB / 3.671 GB, free: 62.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002082/12.46, allocations: 78.41 kB / 3.671 GB, free: 62.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/12.46, allocations: 6.266 kB / 3.671 GB, free: 62.68 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01228/12.47, allocations: 2.423 MB / 3.673 GB, free: 62.57 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/12.47, allocations: 12.12 kB / 3.673 GB, free: 62.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/12.47, allocations: 0.4897 MB / 3.674 GB, free: 62.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/12.47, allocations: 309.4 kB / 3.674 GB, free: 62.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009522/12.48, allocations: 7.948 MB / 3.682 GB, free: 56.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/12.49, allocations: 92.48 kB / 3.682 GB, free: 56.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/12.49, allocations: 71.34 kB / 3.682 GB, free: 56.34 MB / 458.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.0005495/12.49, allocations: 156.1 kB / 3.682 GB, free: 56.24 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008816/12.5, allocations: 2.086 MB / 3.684 GB, free: 56.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/12.5, allocations: 116.5 kB / 3.684 GB, free: 56 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009991/12.51, allocations: 4.115 MB / 3.688 GB, free: 55.64 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.037e-05/12.51, allocations: 43.67 kB / 3.688 GB, free: 55.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/12.51, allocations: 5.203 kB / 3.688 GB, free: 55.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.143e-05/12.51, allocations: 5.719 kB / 3.688 GB, free: 55.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01316/12.52, allocations: 5.712 MB / 3.694 GB, free: 55.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/12.52, allocations: 3.844 kB / 3.694 GB, free: 55.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001337/12.52, allocations: 154.1 kB / 3.694 GB, free: 55.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00303/12.52, allocations: 1.162 MB / 3.695 GB, free: 55.05 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001573/12.52, allocations: 25.14 kB / 3.695 GB, free: 55.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006779/12.53, allocations: 4.873 MB / 3.7 GB, free: 51.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/12.53, allocations: 5.594 kB / 3.7 GB, free: 51.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/12.54, allocations: 4.626 MB / 3.704 GB, free: 51.49 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/12.54, allocations: 385.8 kB / 3.705 GB, free: 51.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003508/12.54, allocations: 9.766 kB / 3.705 GB, free: 51.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/12.54, allocations: 85.67 kB / 3.705 GB, free: 51.27 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00036/12.55, allocations: 108.6 kB / 3.705 GB, free: 51.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/12.55, allocations: 43.39 kB / 3.705 GB, free: 51.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008895/12.55, allocations: 0.5082 MB / 3.706 GB, free: 51.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.8e-07/12.55, allocations: 0 / 3.706 GB, free: 51.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009057/12.56, allocations: 1.933 MB / 3.707 GB, free: 51.09 MB / 458.7 MB 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.02379/12.58, allocations: 7.282 MB / 3.714 GB, free: 49.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008461/12.59, allocations: 3.291 MB / 3.718 GB, free: 49.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/12.59, allocations: 0 / 3.718 GB, free: 49.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003423/12.59, allocations: 1.286 MB / 3.719 GB, free: 49.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004068/12.6, allocations: 472.7 kB / 3.719 GB, free: 49.26 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01394/12.61, allocations: 3.861 MB / 3.723 GB, free: 48.37 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001025/12.61, allocations: 1.412 MB / 3.725 GB, free: 47.63 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001374/12.61, allocations: 0.6442 MB / 3.725 GB, free: 47.62 MB / 458.7 MB Notification: Performance of SimCode: time 1.203e-06/12.61, allocations: 0 / 3.725 GB, free: 47.62 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.972/17.58, allocations: 93.91 MB / 3.817 GB, free: 91.82 MB / 458.7 MB