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_trunk_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.752e-05, allocations: 6.031 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09173/0.09178, allocations: 50.42 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.08/7.172, allocations: 2.798 GB / 3.133 GB, free: 5.176 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/7.173, allocations: 79.78 kB / 3.133 GB, free: 5.141 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.701/10.87, allocations: 0.7129 GB / 3.846 GB, free: 33.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.525e-06/10.87, allocations: 0 / 3.846 GB, free: 33.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001933/10.87, allocations: 33.95 kB / 3.846 GB, free: 33.7 MB / 474.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.01799/10.89, allocations: 2.727 MB / 3.849 GB, free: 32.63 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.744e-05/10.89, allocations: 12.78 kB / 3.849 GB, free: 32.63 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01195/10.9, allocations: 0.563 MB / 3.849 GB, free: 32.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00547/10.91, allocations: 0.983 MB / 3.85 GB, free: 32.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002991/10.91, allocations: 189.4 kB / 3.851 GB, free: 32.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005449/10.91, allocations: 124.3 kB / 3.851 GB, free: 32.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009721/10.92, allocations: 2.021 MB / 3.853 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.388e-05/10.92, allocations: 5.156 kB / 3.853 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004155/10.92, allocations: 55.66 kB / 3.853 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002123/10.92, allocations: 77.75 kB / 3.853 GB, free: 31.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009216/10.93, allocations: 1.734 MB / 3.855 GB, free: 31.76 MB / 474.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.02583/10.96, allocations: 9.299 MB / 3.864 GB, free: 26.57 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006597/10.96, allocations: 1.49 MB / 3.865 GB, free: 26.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/10.96, allocations: 0.6774 MB / 3.866 GB, free: 26.4 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1596/11.12, allocations: 63.62 MB / 3.928 GB, free: 18.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003493/11.13, allocations: 1.1 MB / 3.929 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=110): time 5.979e-06/11.13, allocations: 0 / 3.929 GB, free: 18.8 MB / 0.4948 GB Notification: Performance of matching and sorting (n=121): time 0.02032/11.15, allocations: 5.494 MB / 3.934 GB, free: 17.68 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002078/11.15, allocations: 308.5 kB / 3.935 GB, free: 17.34 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/11.15, allocations: 0.9043 MB / 3.935 GB, free: 17.18 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/11.15, allocations: 50.98 kB / 3.935 GB, free: 17.14 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000484/11.15, allocations: 0.5606 MB / 3.936 GB, free: 16.9 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004654/11.15, allocations: 417.9 kB / 3.936 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/11.15, allocations: 27.97 kB / 3.936 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002166/11.15, allocations: 361.3 kB / 3.937 GB, free: 16.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001388/11.15, allocations: 0.6064 MB / 3.937 GB, free: 16.33 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/11.15, allocations: 0.9964 MB / 3.938 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/11.16, allocations: 0.7202 MB / 3.939 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.487e-06/11.16, allocations: 3.594 kB / 3.939 GB, free: 15.84 MB / 0.4948 GB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005219/11.16, allocations: 2.079 MB / 3.941 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.002115/11.16, allocations: 4.367 MB / 3.945 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.283e-05/11.16, allocations: 11 kB / 3.945 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009083/11.17, allocations: 1.018 MB / 3.946 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/11.17, allocations: 292.4 kB / 3.947 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006591/11.18, allocations: 5.436 MB / 3.952 GB, free: 22.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/11.18, allocations: 118.7 kB / 3.952 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/11.18, allocations: 75.44 kB / 3.952 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/11.18, allocations: 6.438 kB / 3.952 GB, free: 22.53 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004802/11.19, allocations: 1.889 MB / 3.954 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/11.19, allocations: 15.75 kB / 3.954 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008221/11.2, allocations: 0.9055 MB / 3.955 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/11.2, allocations: 292.2 kB / 3.955 GB, free: 22.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00549/11.2, allocations: 4.783 MB / 3.96 GB, free: 18.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/11.21, allocations: 124.9 kB / 3.96 GB, free: 18.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002763/11.21, allocations: 73.67 kB / 3.96 GB, free: 18.4 MB / 0.5105 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.0005824/11.21, allocations: 204.1 kB / 3.96 GB, free: 18.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003717/11.21, allocations: 133.5 kB / 3.96 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008386/11.22, allocations: 4.893 MB / 3.965 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.613e-05/11.22, allocations: 51.58 kB / 3.965 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.167e-06/11.22, allocations: 0 / 3.965 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-05/11.22, allocations: 13.72 kB / 3.965 GB, free: 17.69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/11.23, allocations: 6.685 MB / 3.972 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/11.23, allocations: 0 / 3.972 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/11.23, allocations: 170.7 kB / 3.972 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005914/11.23, allocations: 1.479 MB / 3.973 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003567/11.23, allocations: 41.7 kB / 3.973 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004994/11.24, allocations: 4.446 MB / 3.978 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.569e-06/11.24, allocations: 4.781 kB / 3.978 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008408/11.25, allocations: 4.833 MB / 3.982 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001396/11.25, allocations: 0.5498 MB / 3.983 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003851/11.25, allocations: 27.12 kB / 3.983 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001556/11.25, allocations: 113 kB / 3.983 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000332/11.25, allocations: 125.8 kB / 3.983 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/11.25, allocations: 42.97 kB / 3.983 GB, free: 13.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001838/11.25, allocations: 0.9716 MB / 3.984 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.108e-06/11.25, allocations: 0 / 3.984 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009089/11.26, allocations: 2.079 MB / 3.986 GB, free: 12.68 MB / 0.5105 GB 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.01089/11.27, allocations: 2.359 MB / 3.989 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008525/11.28, allocations: 3.22 MB / 3.992 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.462e-06/11.28, allocations: 0 / 3.992 GB, free: 11.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003504/11.29, allocations: 1.468 MB / 3.993 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004381/11.29, allocations: 0.6458 MB / 3.994 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008201/11.3, allocations: 3.509 MB / 3.997 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001364/11.3, allocations: 1.535 MB / 3.999 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00399/11.3, allocations: 1.471 MB / 4 GB, free: 10.06 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004155/11.3, allocations: 106.5 kB / 4 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of SimCode: time 1.837e-06/11.3, allocations: 0 / 4 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of Templates: time 0.451/11.76, allocations: 72.21 MB / 4.071 GB, free: 76.26 MB / 0.5105 GB