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.1_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.732e-05, allocations: 0 / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.806/6.076, allocations: 2.515 GB / 2.773 GB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002183/6.076, allocations: 79.97 kB / 2.773 GB, free: 12.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.114/9.191, allocations: 0.683 GB / 3.456 GB, free: 18.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.823e-06/9.191, allocations: 0 / 3.456 GB, free: 18.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001417/9.191, allocations: 32.91 kB / 3.456 GB, free: 18.12 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.01528/9.206, allocations: 2.63 MB / 3.458 GB, free: 16.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/9.206, allocations: 16.5 kB / 3.458 GB, free: 16.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006417/9.213, allocations: 0.5202 MB / 3.459 GB, free: 16.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003121/9.216, allocations: 0.9772 MB / 3.46 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001885/9.216, allocations: 187.5 kB / 3.46 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00034/9.216, allocations: 116.3 kB / 3.46 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005132/9.222, allocations: 2.028 MB / 3.462 GB, free: 14.85 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.885e-05/9.222, allocations: 3.938 kB / 3.462 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002398/9.222, allocations: 57.27 kB / 3.462 GB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001183/9.222, allocations: 82.44 kB / 3.462 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005237/9.227, allocations: 1.733 MB / 3.464 GB, free: 14.23 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.01632/9.244, allocations: 9.343 MB / 3.473 GB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004197/9.248, allocations: 1.497 MB / 3.474 GB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/9.249, allocations: 0.6702 MB / 3.475 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3952/9.645, allocations: 63.53 MB / 3.537 GB, free: 27.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003381/9.648, allocations: 1.103 MB / 3.538 GB, free: 27.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=110): time 6.45e-06/9.648, allocations: 1.531 kB / 3.538 GB, free: 27.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.01908/9.667, allocations: 5.501 MB / 3.544 GB, free: 26.45 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002027/9.667, allocations: 303.7 kB / 3.544 GB, free: 26.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00159/9.669, allocations: 0.9053 MB / 3.545 GB, free: 25.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002479/9.669, allocations: 48.48 kB / 3.545 GB, free: 25.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004826/9.67, allocations: 0.5617 MB / 3.545 GB, free: 25.71 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004451/9.67, allocations: 414.4 kB / 3.546 GB, free: 25.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/9.67, allocations: 29.19 kB / 3.546 GB, free: 25.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002164/9.671, allocations: 359.9 kB / 3.546 GB, free: 25.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00135/9.672, allocations: 0.611 MB / 3.547 GB, free: 25.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/9.674, allocations: 0.9985 MB / 3.548 GB, free: 24.74 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001555/9.675, allocations: 0.7099 MB / 3.548 GB, free: 24.72 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.878e-05/9.675, allocations: 3.688 kB / 3.548 GB, free: 24.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.00505/9.68, allocations: 2.091 MB / 3.55 GB, free: 24.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002086/9.682, allocations: 4.356 MB / 3.555 GB, free: 19.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/9.682, allocations: 16.53 kB / 3.555 GB, free: 19.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007929/9.69, allocations: 1.026 MB / 3.556 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00177/9.692, allocations: 280.6 kB / 3.556 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006454/9.699, allocations: 5.445 MB / 3.561 GB, free: 15.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/9.701, allocations: 133.2 kB / 3.561 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002445/9.701, allocations: 74.89 kB / 3.561 GB, free: 15.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/9.701, allocations: 3.75 kB / 3.561 GB, free: 15.4 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004341/9.705, allocations: 1.778 MB / 3.563 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/9.705, allocations: 11.47 kB / 3.563 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007079/9.713, allocations: 0.7872 MB / 3.564 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001853/9.714, allocations: 310.6 kB / 3.564 GB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009941/9.724, allocations: 8.079 MB / 3.572 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/9.726, allocations: 127.4 kB / 3.572 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002013/9.727, allocations: 67.48 kB / 3.572 GB, free: 8.816 MB / 410.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.0005548/9.727, allocations: 213.7 kB / 3.573 GB, free: 8.699 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003637/9.728, allocations: 138 kB / 3.573 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008003/9.736, allocations: 4.878 MB / 3.577 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.012e-05/9.736, allocations: 48.25 kB / 3.577 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.179e-06/9.736, allocations: 3.656 kB / 3.578 GB, free: 8.156 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.597e-05/9.736, allocations: 10.8 kB / 3.578 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01109/9.747, allocations: 6.696 MB / 3.584 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/9.747, allocations: 0 / 3.584 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001131/9.748, allocations: 181.5 kB / 3.584 GB, free: 7.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00598/9.754, allocations: 1.466 MB / 3.586 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002975/9.754, allocations: 38.66 kB / 3.586 GB, free: 7.496 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005132/9.759, allocations: 4.453 MB / 3.59 GB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.453e-06/9.76, allocations: 3.469 kB / 3.59 GB, free: 20.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008218/9.768, allocations: 4.847 MB / 3.595 GB, free: 19.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/9.769, allocations: 0.5432 MB / 3.595 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000414/9.77, allocations: 31.16 kB / 3.595 GB, free: 19.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00179/9.772, allocations: 106.8 kB / 3.595 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004184/9.772, allocations: 120.1 kB / 3.596 GB, free: 19.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000194/9.772, allocations: 48.53 kB / 3.596 GB, free: 19.55 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002003/9.774, allocations: 0.9649 MB / 3.597 GB, free: 19.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.709e-06/9.774, allocations: 0 / 3.597 GB, free: 19.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0089/9.783, allocations: 2.083 MB / 3.599 GB, free: 19.35 MB / 426.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.01307/9.796, allocations: 2.341 MB / 3.601 GB, free: 18.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01301/9.809, allocations: 3.491 MB / 3.604 GB, free: 18.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/9.809, allocations: 0 / 3.604 GB, free: 18.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005697/9.815, allocations: 1.482 MB / 3.606 GB, free: 18.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007524/9.823, allocations: 0.6474 MB / 3.606 GB, free: 18.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/9.836, allocations: 3.514 MB / 3.61 GB, free: 17.45 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002277/9.839, allocations: 1.542 MB / 3.611 GB, free: 16.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006674/9.845, allocations: 1.481 MB / 3.613 GB, free: 16.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000689/9.846, allocations: 100.2 kB / 3.613 GB, free: 16.61 MB / 426.7 MB Notification: Performance of SimCode: time 2.678e-06/9.846, allocations: 2.188 kB / 3.613 GB, free: 16.61 MB / 426.7 MB Notification: Performance of Templates: time 0.4322/10.28, allocations: 72.3 MB / 3.683 GB, free: 65.48 MB / 426.7 MB