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_Modelica.Fluid.Examples.PumpingSystem") Notification: Performance of loadModel(Modelica): time 1.865/1.865, allocations: 194.9 MB / 210.6 MB, free: 8.359 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.772e-05/2.772e-05, allocations: 4 kB / 258.8 MB, free: 8.066 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 44.5 MB / 303.3 MB, free: 12.97 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.PumpingSystem): time 0.08814/0.4104, allocations: 53.07 MB / 356.4 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0428/0.4533, allocations: 22.48 MB / 378.9 MB, free: 1.902 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.4551, allocations: 47.62 kB / 378.9 MB, free: 1.855 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.4574, allocations: 0.5752 MB / 379.5 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01686/0.4743, allocations: 4.572 MB / 384.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01086/0.4852, allocations: 2.874 MB / 386.9 MB, free: 9.809 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004223/0.4894, allocations: 1.727 MB / 388.7 MB, free: 8.078 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001559/0.491, allocations: 0.7414 MB / 389.4 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02307/0.5141, allocations: 9.345 MB / 398.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03588/0.5501, allocations: 15.3 MB / 414 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0225/0.5726, allocations: 8.108 MB / 422.1 MB, free: 6.562 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00324/0.5759, allocations: 0.5 MB / 422.6 MB, free: 6.062 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008511/0.5768, allocations: 382.9 kB / 423 MB, free: 5.688 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006921/0.5775, allocations: 164 kB / 423.2 MB, free: 5.527 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.5893, allocations: 4.58 MB / 427.8 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.5893, allocations: 4 kB / 427.8 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5894, allocations: 0 / 427.8 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.502e-05/0.5894, allocations: 0 / 427.8 MB, free: 0.9336 MB / 362.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.2751/0.8645, allocations: 2.234 MB / 430 MB, free: 113.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.8645, allocations: 9.375 kB / 430 MB, free: 113.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005273/0.8698, allocations: 481.5 kB / 430.5 MB, free: 113.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002647/0.8725, allocations: 0.8659 MB / 431.3 MB, free: 112.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.8728, allocations: 188.2 kB / 431.5 MB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.8731, allocations: 117.8 kB / 431.6 MB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005878/0.879, allocations: 2.004 MB / 433.6 MB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.491e-05/0.8791, allocations: 3.844 kB / 433.6 MB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.8793, allocations: 50.69 kB / 433.7 MB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001545/0.8795, allocations: 81.55 kB / 433.8 MB, free: 111.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005562/0.8851, allocations: 1.773 MB / 435.6 MB, free: 110.8 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.0176/0.9027, allocations: 9.357 MB / 444.9 MB, free: 102.9 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004655/0.9074, allocations: 1.493 MB / 446.4 MB, free: 102.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2072/1.115, allocations: 64.31 MB / 0.4987 GB, free: 30.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003575/1.118, allocations: 1.075 MB / 0.4998 GB, free: 29.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=110): time 4.409e-06/1.118, allocations: 0 / 0.4998 GB, free: 29.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=121): time 0.02635/1.145, allocations: 6.588 MB / 0.5062 GB, free: 22.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.01e-05/1.145, allocations: 303.9 kB / 0.5065 GB, free: 22.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001553/1.146, allocations: 0.9181 MB / 0.5074 GB, free: 21.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002101/1.147, allocations: 53.7 kB / 0.5075 GB, free: 21.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000463/1.147, allocations: 0.571 MB / 0.508 GB, free: 20.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000441/1.148, allocations: 419.2 kB / 0.5084 GB, free: 20.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/1.148, allocations: 24 kB / 0.5084 GB, free: 20.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000103/1.148, allocations: 365.9 kB / 0.5088 GB, free: 20.1 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001789/1.15, allocations: 0.648 MB / 0.5094 GB, free: 19.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001998/1.152, allocations: 1.046 MB / 0.5104 GB, free: 18.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001945/1.154, allocations: 0.7441 MB / 0.5112 GB, free: 17.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.067e-06/1.154, allocations: 8 kB / 0.5112 GB, free: 17.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.006054/1.16, allocations: 2.168 MB / 0.5133 GB, free: 15.28 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008277/1.161, allocations: 4.447 MB / 0.5176 GB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/1.161, allocations: 15.95 kB / 0.5177 GB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/1.171, allocations: 1.013 MB / 0.5186 GB, free: 9.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002244/1.173, allocations: 295.5 kB / 0.5189 GB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004391/1.178, allocations: 4.044 MB / 0.5229 GB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/1.18, allocations: 127.7 kB / 0.523 GB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/1.181, allocations: 71.98 kB / 0.5231 GB, free: 4.773 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/1.181, allocations: 0 / 0.5231 GB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005627/1.186, allocations: 1.869 MB / 0.5249 GB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/1.186, allocations: 12.78 kB / 0.5249 GB, free: 2.875 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009274/1.196, allocations: 0.7644 MB / 0.5257 GB, free: 2.102 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002281/1.198, allocations: 315.5 kB / 0.526 GB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009006/1.207, allocations: 6.734 MB / 0.5325 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/1.209, allocations: 127.7 kB / 0.5327 GB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/1.209, allocations: 75.92 kB / 0.5327 GB, free: 10.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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,reservoir.medium.phase,pumps.medium.phase,sink.state.phase,sink.medium.phase,userValve.state_b.phase,userValve.state_a.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 (160): * Single equations (assignments): 154 * 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: 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 6,2 7,1 1,2 3,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.001053/1.21, allocations: 379.6 kB / 0.5331 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/1.211, allocations: 138.4 kB / 0.5332 GB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0108/1.222, allocations: 4.955 MB / 0.5381 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.891e-05/1.222, allocations: 51.92 kB / 0.5381 GB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/1.222, allocations: 8.125 kB / 0.5381 GB, free: 4.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/1.222, allocations: 3.984 kB / 0.5381 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01402/1.236, allocations: 6.758 MB / 0.5447 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.651e-05/1.236, allocations: 0 / 0.5447 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.237, allocations: 183.7 kB / 0.5449 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007842/1.245, allocations: 1.374 MB / 0.5462 GB, free: 12.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002991/1.246, allocations: 35.98 kB / 0.5463 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005889/1.252, allocations: 4.47 MB / 0.5506 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.252, allocations: 0 / 0.5506 GB, free: 7.766 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01101/1.263, allocations: 4.94 MB / 0.5555 GB, free: 2.715 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/1.264, allocations: 0.5405 MB / 0.556 GB, free: 2.152 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/1.264, allocations: 28 kB / 0.556 GB, free: 2.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.266, allocations: 115.8 kB / 0.5561 GB, free: 2.012 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003699/1.267, allocations: 117.1 kB / 0.5562 GB, free: 1.895 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.267, allocations: 47.98 kB / 0.5563 GB, free: 1.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002062/1.269, allocations: 0.9846 MB / 0.5572 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.269, allocations: 0 / 0.5572 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006725/1.276, allocations: 1.912 MB / 0.5591 GB, free: 15.09 MB / 410.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.level,reservoir.medium.T,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,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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.007728/1.284, allocations: 1.679 MB / 0.5608 GB, free: 13.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01074/1.294, allocations: 3.475 MB / 0.5641 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.76e-06/1.294, allocations: 0 / 0.5641 GB, free: 10.03 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004844/1.299, allocations: 1.526 MB / 0.5656 GB, free: 8.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/1.305, allocations: 0.6443 MB / 0.5663 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.316, allocations: 5.21 MB / 0.5714 GB, free: 2.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/1.318, allocations: 1.543 MB / 0.5729 GB, free: 1.023 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.2486/1.566, allocations: 1.494 MB / 0.5743 GB, free: 149.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005765/1.567, allocations: 101.7 kB / 0.5744 GB, free: 149.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.172e-06/1.567, allocations: 0 / 0.5744 GB, free: 149.7 MB / 410.7 MB Notification: Performance of Templates: time 0.1241/1.691, allocations: 61.41 MB / 0.6344 GB, free: 100 MB / 410.7 MB