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_cpp_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.575/1.575, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.828e-05, allocations: 7.938 kB / 225 MB, free: 2.715 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2103, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.847/6.058, allocations: 2.515 GB / 2.773 GB, free: 14.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/6.058, allocations: 75.95 kB / 2.773 GB, free: 13.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.14/9.198, allocations: 0.683 GB / 3.456 GB, free: 18.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.519e-06/9.198, allocations: 0 / 3.456 GB, free: 18.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001325/9.198, allocations: 41.17 kB / 3.456 GB, free: 18.6 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.01109/9.209, allocations: 2.634 MB / 3.458 GB, free: 17.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/9.209, allocations: 14.88 kB / 3.458 GB, free: 17.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005893/9.215, allocations: 0.5222 MB / 3.459 GB, free: 16.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003111/9.218, allocations: 0.9783 MB / 3.46 GB, free: 16.43 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002341/9.219, allocations: 182.2 kB / 3.46 GB, free: 16.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005035/9.219, allocations: 116.8 kB / 3.46 GB, free: 16.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006073/9.225, allocations: 2.032 MB / 3.462 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.092e-05/9.225, allocations: 3.875 kB / 3.462 GB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002572/9.226, allocations: 49.92 kB / 3.462 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001209/9.226, allocations: 79.23 kB / 3.462 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005401/9.231, allocations: 1.739 MB / 3.464 GB, free: 14.71 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.01736/9.249, allocations: 9.342 MB / 3.473 GB, free: 7.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004476/9.253, allocations: 1.497 MB / 3.474 GB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001478/9.255, allocations: 0.6753 MB / 3.475 GB, free: 7.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.405/9.66, allocations: 63.53 MB / 3.537 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003619/9.663, allocations: 1.102 MB / 3.538 GB, free: 12.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=110): time 5.789e-06/9.663, allocations: 5.594 kB / 3.538 GB, free: 12.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.02096/9.684, allocations: 5.502 MB / 3.544 GB, free: 11.43 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.204e-05/9.685, allocations: 300 kB / 3.544 GB, free: 11.08 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/9.686, allocations: 0.9068 MB / 3.545 GB, free: 10.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003111/9.687, allocations: 50.73 kB / 3.545 GB, free: 10.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/9.687, allocations: 0.5626 MB / 3.545 GB, free: 10.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004804/9.688, allocations: 415.5 kB / 3.546 GB, free: 10.42 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/9.688, allocations: 28.09 kB / 3.546 GB, free: 10.42 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005508/9.688, allocations: 365 kB / 3.546 GB, free: 26.11 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/9.69, allocations: 0.6075 MB / 3.547 GB, free: 26.11 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001759/9.691, allocations: 0.9963 MB / 3.548 GB, free: 25.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001742/9.693, allocations: 0.7106 MB / 3.548 GB, free: 25.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.121e-05/9.693, allocations: 3.844 kB / 3.548 GB, free: 25.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005237/9.699, allocations: 2.027 MB / 3.55 GB, free: 25.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002069/9.701, allocations: 4.354 MB / 3.555 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.132e-05/9.701, allocations: 10.75 kB / 3.555 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008542/9.709, allocations: 1.026 MB / 3.556 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00175/9.711, allocations: 283.7 kB / 3.556 GB, free: 20.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006491/9.718, allocations: 5.443 MB / 3.561 GB, free: 16.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/9.72, allocations: 132.2 kB / 3.561 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003359/9.72, allocations: 76.34 kB / 3.561 GB, free: 16.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/9.72, allocations: 5.125 kB / 3.561 GB, free: 16.34 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004851/9.725, allocations: 1.777 MB / 3.563 GB, free: 16.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.463e-05/9.725, allocations: 9.969 kB / 3.563 GB, free: 16.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007464/9.733, allocations: 0.7683 MB / 3.564 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/9.735, allocations: 312 kB / 3.564 GB, free: 16.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/9.745, allocations: 8.085 MB / 3.572 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/9.746, allocations: 120.6 kB / 3.572 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002701/9.747, allocations: 72.58 kB / 3.572 GB, free: 9.77 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.0006245/9.747, allocations: 210.5 kB / 3.572 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000416/9.748, allocations: 129.3 kB / 3.573 GB, free: 9.594 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008701/9.756, allocations: 4.879 MB / 3.577 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.896e-05/9.757, allocations: 55.44 kB / 3.577 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/9.757, allocations: 2.594 kB / 3.577 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-05/9.757, allocations: 12.39 kB / 3.577 GB, free: 9.102 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/9.769, allocations: 6.69 MB / 3.584 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.08e-05/9.769, allocations: 3.406 kB / 3.584 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/9.77, allocations: 171.6 kB / 3.584 GB, free: 8.535 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006139/9.777, allocations: 1.469 MB / 3.586 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003369/9.777, allocations: 44.5 kB / 3.586 GB, free: 8.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005208/9.782, allocations: 4.459 MB / 3.59 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.12e-06/9.782, allocations: 0 / 3.59 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009057/9.791, allocations: 4.838 MB / 3.595 GB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00154/9.793, allocations: 0.5517 MB / 3.595 GB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005359/9.793, allocations: 29.09 kB / 3.595 GB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/9.795, allocations: 102.8 kB / 3.595 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004387/9.796, allocations: 125.1 kB / 3.595 GB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/9.796, allocations: 46.66 kB / 3.595 GB, free: 20.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002003/9.798, allocations: 0.9681 MB / 3.596 GB, free: 20.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.051e-06/9.798, allocations: 0 / 3.596 GB, free: 20.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009055/9.807, allocations: 2.086 MB / 3.598 GB, free: 20.29 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.01111/9.818, allocations: 2.34 MB / 3.601 GB, free: 19.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008446/9.827, allocations: 3.453 MB / 3.604 GB, free: 19.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/9.827, allocations: 2.969 kB / 3.604 GB, free: 19.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00369/9.831, allocations: 1.457 MB / 3.606 GB, free: 19.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00485/9.835, allocations: 0.6488 MB / 3.606 GB, free: 19.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009041/9.844, allocations: 3.543 MB / 3.61 GB, free: 18.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001391/9.846, allocations: 1.533 MB / 3.611 GB, free: 17.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006594/9.847, allocations: 132 kB / 3.611 GB, free: 17.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.756e-06/9.847, allocations: 0 / 3.611 GB, free: 17.63 MB / 426.7 MB Notification: Performance of Templates: time 0.3942/10.24, allocations: 95.67 MB / 3.705 GB, free: 66.63 MB / 426.7 MB