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_4.0.0_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.833e-05, allocations: 6.812 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.09304, allocations: 50.41 MB / 342.6 MB, free: 5.879 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.098/7.192, allocations: 2.798 GB / 3.133 GB, free: 72.91 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001921/7.192, allocations: 79.03 kB / 3.133 GB, free: 72.88 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.38/10.57, allocations: 0.7129 GB / 3.846 GB, free: 36.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.475e-06/10.57, allocations: 0 / 3.846 GB, free: 36.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001138/10.57, allocations: 35.84 kB / 3.846 GB, free: 36.91 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.01009/10.58, allocations: 2.72 MB / 3.848 GB, free: 35.37 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/10.58, allocations: 7.562 kB / 3.848 GB, free: 35.37 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005657/10.59, allocations: 0.5694 MB / 3.849 GB, free: 35.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/10.59, allocations: 0.9836 MB / 3.85 GB, free: 34.71 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001905/10.59, allocations: 193.9 kB / 3.85 GB, free: 34.57 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003094/10.59, allocations: 123.2 kB / 3.85 GB, free: 34.53 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005062/10.6, allocations: 2.014 MB / 3.852 GB, free: 33.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.736e-05/10.6, allocations: 7.688 kB / 3.852 GB, free: 33.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/10.6, allocations: 50 kB / 3.852 GB, free: 33.57 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/10.6, allocations: 83.36 kB / 3.852 GB, free: 33.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00504/10.6, allocations: 1.734 MB / 3.854 GB, free: 33 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.01592/10.62, allocations: 9.315 MB / 3.863 GB, free: 26.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003898/10.62, allocations: 1.482 MB / 3.865 GB, free: 25.68 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/10.62, allocations: 0.6706 MB / 3.865 GB, free: 25.39 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5443/11.17, allocations: 63.62 MB / 3.927 GB, free: 45.57 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003388/11.17, allocations: 1.099 MB / 3.928 GB, free: 45.45 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 5.966e-06/11.17, allocations: 2.531 kB / 3.928 GB, free: 45.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=121): time 0.0198/11.19, allocations: 5.494 MB / 3.934 GB, free: 44.51 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/11.19, allocations: 312 kB / 3.934 GB, free: 44.16 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/11.19, allocations: 0.9059 MB / 3.935 GB, free: 44 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002575/11.19, allocations: 49.08 kB / 3.935 GB, free: 43.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004963/11.19, allocations: 0.561 MB / 3.936 GB, free: 43.76 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004536/11.19, allocations: 412.6 kB / 3.936 GB, free: 43.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/11.19, allocations: 29.69 kB / 3.936 GB, free: 43.56 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001072/11.19, allocations: 363.2 kB / 3.936 GB, free: 43.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/11.2, allocations: 0.6057 MB / 3.937 GB, free: 43.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/11.2, allocations: 0.9977 MB / 3.938 GB, free: 42.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/11.2, allocations: 0.7161 MB / 3.939 GB, free: 42.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/11.2, allocations: 5.938 kB / 3.939 GB, free: 42.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=182) (initialization): time 0.005124/11.2, allocations: 2.09 MB / 3.941 GB, free: 42.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008641/11.21, allocations: 4.348 MB / 3.945 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/11.21, allocations: 11.72 kB / 3.945 GB, free: 38.08 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007868/11.21, allocations: 1.023 MB / 3.946 GB, free: 38.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/11.21, allocations: 289.8 kB / 3.946 GB, free: 38.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004968/11.22, allocations: 5.429 MB / 3.951 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/11.22, allocations: 129.6 kB / 3.952 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002109/11.22, allocations: 73.19 kB / 3.952 GB, free: 33.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/11.22, allocations: 3.812 kB / 3.952 GB, free: 33.57 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004528/11.23, allocations: 1.885 MB / 3.953 GB, free: 33.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.615e-05/11.23, allocations: 11.06 kB / 3.954 GB, free: 33.48 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006976/11.23, allocations: 0.9213 MB / 3.954 GB, free: 33.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/11.24, allocations: 289.5 kB / 3.955 GB, free: 33.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003982/11.24, allocations: 4.77 MB / 3.959 GB, free: 29.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/11.24, allocations: 129 kB / 3.959 GB, free: 29.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001916/11.24, allocations: 74.3 kB / 3.96 GB, free: 29.5 MB / 490.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.0005333/11.24, allocations: 208.6 kB / 3.96 GB, free: 29.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003084/11.24, allocations: 136.1 kB / 3.96 GB, free: 29.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008114/11.25, allocations: 4.886 MB / 3.965 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-05/11.25, allocations: 48.77 kB / 3.965 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/11.25, allocations: 3.656 kB / 3.965 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/11.25, allocations: 10.5 kB / 3.965 GB, free: 28.89 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0113/11.26, allocations: 6.684 MB / 3.971 GB, free: 28.33 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.418e-05/11.26, allocations: 2.344 kB / 3.971 GB, free: 28.33 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/11.26, allocations: 173.7 kB / 3.971 GB, free: 28.33 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005788/11.27, allocations: 1.473 MB / 3.973 GB, free: 28.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003038/11.27, allocations: 39.61 kB / 3.973 GB, free: 28.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004085/11.27, allocations: 4.449 MB / 3.977 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.22e-06/11.27, allocations: 2.344 kB / 3.977 GB, free: 25.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008376/11.28, allocations: 4.844 MB / 3.982 GB, free: 24.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/11.28, allocations: 0.5453 MB / 3.982 GB, free: 24.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003553/11.28, allocations: 25.59 kB / 3.983 GB, free: 24.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/11.29, allocations: 108.5 kB / 3.983 GB, free: 24.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003153/11.29, allocations: 133.5 kB / 3.983 GB, free: 24.34 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/11.29, allocations: 41.69 kB / 3.983 GB, free: 24.34 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001692/11.29, allocations: 0.9762 MB / 3.984 GB, free: 24.22 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.84e-07/11.29, allocations: 0 / 3.984 GB, free: 24.22 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007853/11.3, allocations: 2.076 MB / 3.986 GB, free: 24.14 MB / 490.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.01039/11.31, allocations: 2.352 MB / 3.988 GB, free: 23.88 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008057/11.31, allocations: 3.217 MB / 3.991 GB, free: 23.63 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.529e-06/11.31, allocations: 1.875 kB / 3.991 GB, free: 23.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003418/11.32, allocations: 1.476 MB / 3.993 GB, free: 23.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004427/11.32, allocations: 0.6598 MB / 3.993 GB, free: 23.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008091/11.33, allocations: 3.503 MB / 3.997 GB, free: 22.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/11.33, allocations: 1.534 MB / 3.998 GB, free: 22.12 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003891/11.34, allocations: 1.474 MB / 4 GB, free: 22.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003996/11.34, allocations: 103.9 kB / 4 GB, free: 22.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.715e-06/11.34, allocations: 0.7656 kB / 4 GB, free: 22.09 MB / 490.7 MB Notification: Performance of Templates: time 0.1357/11.47, allocations: 72.15 MB / 4.07 GB, free: 6.082 MB / 490.7 MB