Running command: translateModel(Modelica.Fluid.Examples.PumpingSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|PT1.y|pumps.medium.T|pumps.medium.p|reservoir.level|reservoir.medium.T|PumpRPMGenerator.y|controller.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.898/1.898, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.102e-05, allocations: 7.312 kB / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07788/0.07793, allocations: 44.5 MB / 299.8 MB, free: 6.637 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.51/6.588, allocations: 2.625 GB / 2.917 GB, free: 84.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/6.589, allocations: 78.52 kB / 2.918 GB, free: 84.67 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.08/9.669, allocations: 0.7008 GB / 3.618 GB, free: 26.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.18e-06/9.669, allocations: 0 / 3.618 GB, free: 26.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001238/9.669, allocations: 38.23 kB / 3.618 GB, free: 26.74 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.01048/9.679, allocations: 2.71 MB / 3.621 GB, free: 25.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/9.679, allocations: 7.688 kB / 3.621 GB, free: 25.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/9.686, allocations: 0.5617 MB / 3.622 GB, free: 25.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002997/9.689, allocations: 0.9808 MB / 3.622 GB, free: 24.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/9.689, allocations: 184 kB / 3.623 GB, free: 24.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000447/9.69, allocations: 119.2 kB / 3.623 GB, free: 24.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005806/9.696, allocations: 2.034 MB / 3.625 GB, free: 24.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.063e-05/9.696, allocations: 7.094 kB / 3.625 GB, free: 24.42 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002502/9.696, allocations: 55.72 kB / 3.625 GB, free: 24.42 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/9.696, allocations: 80.25 kB / 3.625 GB, free: 24.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005334/9.701, allocations: 1.742 MB / 3.627 GB, free: 24.38 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.01632/9.718, allocations: 9.331 MB / 3.636 GB, free: 19.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004237/9.722, allocations: 1.489 MB / 3.637 GB, free: 18.61 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/9.724, allocations: 0.6724 MB / 3.638 GB, free: 18.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4304/10.15, allocations: 63.61 MB / 3.7 GB, free: 57.13 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003598/10.16, allocations: 1.107 MB / 3.701 GB, free: 57.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=110): time 5.421e-06/10.16, allocations: 0 / 3.701 GB, free: 57.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=121): time 0.02096/10.18, allocations: 5.511 MB / 3.706 GB, free: 56.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/10.18, allocations: 304.2 kB / 3.707 GB, free: 55.72 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001844/10.18, allocations: 0.9004 MB / 3.708 GB, free: 55.56 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000349/10.18, allocations: 49.89 kB / 3.708 GB, free: 55.53 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004358/10.18, allocations: 0.5556 MB / 3.708 GB, free: 55.26 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000522/10.18, allocations: 422.4 kB / 3.709 GB, free: 55.05 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/10.18, allocations: 28.52 kB / 3.709 GB, free: 55.05 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001287/10.18, allocations: 368.5 kB / 3.709 GB, free: 54.74 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/10.18, allocations: 0.6034 MB / 3.71 GB, free: 54.74 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001834/10.19, allocations: 1.002 MB / 3.711 GB, free: 54.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/10.19, allocations: 0.7114 MB / 3.711 GB, free: 54.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-05/10.19, allocations: 2.625 kB / 3.711 GB, free: 54.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.00531/10.19, allocations: 2.024 MB / 3.713 GB, free: 54.14 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008978/10.19, allocations: 4.356 MB / 3.717 GB, free: 49.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-05/10.19, allocations: 11.19 kB / 3.717 GB, free: 49.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009006/10.2, allocations: 1.023 MB / 3.718 GB, free: 49.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001844/10.2, allocations: 292.1 kB / 3.719 GB, free: 49.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00532/10.21, allocations: 5.441 MB / 3.724 GB, free: 45.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002434/10.21, allocations: 123.2 kB / 3.724 GB, free: 45.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003738/10.21, allocations: 77.77 kB / 3.724 GB, free: 45.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/10.21, allocations: 5.531 kB / 3.724 GB, free: 45.1 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004789/10.22, allocations: 1.775 MB / 3.726 GB, free: 45.02 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.478e-05/10.22, allocations: 12.94 kB / 3.726 GB, free: 45.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006947/10.22, allocations: 0.7751 MB / 3.727 GB, free: 44.97 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001745/10.23, allocations: 307.8 kB / 3.727 GB, free: 44.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008261/10.23, allocations: 8.079 MB / 3.735 GB, free: 38.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/10.24, allocations: 124.3 kB / 3.735 GB, free: 38.59 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002449/10.24, allocations: 66.98 kB / 3.735 GB, free: 38.59 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.0006055/10.24, allocations: 210.7 kB / 3.735 GB, free: 38.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/10.24, allocations: 135.9 kB / 3.735 GB, free: 38.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00844/10.25, allocations: 4.89 MB / 3.74 GB, free: 37.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-05/10.25, allocations: 48.95 kB / 3.74 GB, free: 37.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/10.25, allocations: 3.938 kB / 3.74 GB, free: 37.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/10.25, allocations: 7.312 kB / 3.74 GB, free: 37.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/10.26, allocations: 6.679 MB / 3.747 GB, free: 37.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-05/10.26, allocations: 3.953 kB / 3.747 GB, free: 37.38 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/10.26, allocations: 181.9 kB / 3.747 GB, free: 37.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005971/10.27, allocations: 1.467 MB / 3.748 GB, free: 37.31 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003252/10.27, allocations: 39.78 kB / 3.748 GB, free: 37.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004178/10.27, allocations: 4.446 MB / 3.753 GB, free: 34.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-06/10.27, allocations: 3.281 kB / 3.753 GB, free: 34.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008644/10.28, allocations: 4.85 MB / 3.758 GB, free: 33.63 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/10.28, allocations: 0.5475 MB / 3.758 GB, free: 33.38 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005065/10.28, allocations: 27.34 kB / 3.758 GB, free: 33.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/10.28, allocations: 110.3 kB / 3.758 GB, free: 33.38 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000373/10.28, allocations: 121.7 kB / 3.758 GB, free: 33.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001749/10.28, allocations: 48.08 kB / 3.758 GB, free: 33.38 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00184/10.29, allocations: 0.9668 MB / 3.759 GB, free: 33.26 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.733e-06/10.29, allocations: 0 / 3.759 GB, free: 33.26 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.009093/10.29, allocations: 2.097 MB / 3.761 GB, free: 33.17 MB / 458.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.01097/10.31, allocations: 2.353 MB / 3.764 GB, free: 32.91 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007894/10.31, allocations: 3.457 MB / 3.767 GB, free: 32.36 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/10.31, allocations: 2.812 kB / 3.767 GB, free: 32.36 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/10.32, allocations: 1.449 MB / 3.768 GB, free: 32.34 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/10.32, allocations: 0.6431 MB / 3.769 GB, free: 32.32 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0084/10.33, allocations: 3.541 MB / 3.773 GB, free: 31.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001175/10.33, allocations: 1.534 MB / 3.774 GB, free: 30.84 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006581/10.33, allocations: 133.8 kB / 3.774 GB, free: 30.83 MB / 458.7 MB Notification: Performance of SimCode: time 2.566e-06/10.33, allocations: 0 / 3.774 GB, free: 30.83 MB / 458.7 MB Notification: Performance of Templates: time 0.4104/10.74, allocations: 95.48 MB / 3.867 GB, free: 56.7 MB / 458.7 MB