Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pump.medium.h|pump.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.445e-05/3.463e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1161, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.979/7.095, allocations: 2.787 GB / 3.188 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/7.095, allocations: 84.39 kB / 3.188 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.06/9.155, allocations: 443.7 MB / 3.621 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.149e-06/9.155, allocations: 0 / 3.621 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.378e-05/9.155, allocations: 16.97 kB / 3.621 GB, free: 57.62 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 0.005984/9.161, allocations: 1.744 MB / 3.623 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/9.161, allocations: 9.406 kB / 3.623 GB, free: 56.66 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003401/9.164, allocations: 333.1 kB / 3.623 GB, free: 56.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/9.166, allocations: 0.5717 MB / 3.624 GB, free: 56.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/9.166, allocations: 51.91 kB / 3.624 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001152/9.166, allocations: 55.41 kB / 3.624 GB, free: 56.18 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/9.169, allocations: 0.9597 MB / 3.625 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/9.169, allocations: 3.906 kB / 3.625 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-05/9.169, allocations: 27.81 kB / 3.625 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.801e-05/9.169, allocations: 22.88 kB / 3.625 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002472/9.172, allocations: 0.8024 MB / 3.626 GB, free: 55.48 MB / 0.5261 GB 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.005625/9.177, allocations: 4.527 MB / 3.63 GB, free: 51.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002442/9.18, allocations: 0.7141 MB / 3.631 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004603/9.18, allocations: 233.4 kB / 3.631 GB, free: 51.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1237/9.304, allocations: 55.76 MB / 3.685 GB, free: 31.29 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.616e-05/9.304, allocations: 45.78 kB / 3.685 GB, free: 31.25 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=48): time 4.094e-06/9.304, allocations: 0 / 3.685 GB, free: 31.25 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52): time 0.006459/9.31, allocations: 1.839 MB / 3.687 GB, free: 30.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.064e-05/9.311, allocations: 111 kB / 3.687 GB, free: 30.31 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007031/9.311, allocations: 441.6 kB / 3.688 GB, free: 30.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/9.311, allocations: 38.58 kB / 3.688 GB, free: 30.05 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000225/9.312, allocations: 327.6 kB / 3.688 GB, free: 29.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/9.312, allocations: 181.9 kB / 3.688 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/9.312, allocations: 19.91 kB / 3.688 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002043/9.312, allocations: 363.7 kB / 3.689 GB, free: 29.31 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004501/9.313, allocations: 194.8 kB / 3.689 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/9.313, allocations: 353.4 kB / 3.689 GB, free: 28.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005335/9.314, allocations: 236.2 kB / 3.689 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.544e-06/9.314, allocations: 0 / 3.689 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002184/9.316, allocations: 0.7913 MB / 3.69 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008456/9.317, allocations: 1.75 MB / 3.692 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/9.317, allocations: 3.219 kB / 3.692 GB, free: 26.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002615/9.319, allocations: 390.3 kB / 3.692 GB, free: 26.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007864/9.32, allocations: 140.4 kB / 3.692 GB, free: 26.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/9.322, allocations: 0.8666 MB / 3.693 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/9.323, allocations: 94.66 kB / 3.693 GB, free: 25.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.213e-05/9.323, allocations: 37.72 kB / 3.693 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/9.323, allocations: 7.438 kB / 3.693 GB, free: 25.89 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002659/9.326, allocations: 0.7459 MB / 3.694 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.51e-06/9.326, allocations: 7.781 kB / 3.694 GB, free: 25.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001774/9.328, allocations: 301.8 kB / 3.694 GB, free: 25.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007559/9.328, allocations: 134 kB / 3.695 GB, free: 25.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/9.33, allocations: 0.837 MB / 3.695 GB, free: 24.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/9.331, allocations: 92.16 kB / 3.695 GB, free: 24.86 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/9.331, allocations: 34.73 kB / 3.695 GB, free: 24.85 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 20} Notification: Performance of prepare postOptimizeDAE: time 0.0002808/9.331, allocations: 144.6 kB / 3.696 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/9.332, allocations: 62.97 kB / 3.696 GB, free: 24.68 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/9.335, allocations: 2.84 MB / 3.698 GB, free: 22.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.16e-05/9.335, allocations: 46.66 kB / 3.698 GB, free: 22.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.416e-06/9.335, allocations: 4 kB / 3.698 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/9.335, allocations: 3.938 kB / 3.698 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005162/9.341, allocations: 4.004 MB / 3.702 GB, free: 18.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.127e-06/9.341, allocations: 0 / 3.702 GB, free: 18.75 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009725/9.342, allocations: 172.6 kB / 3.703 GB, free: 18.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003852/9.342, allocations: 74.58 kB / 3.703 GB, free: 18.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.307e-05/9.342, allocations: 15.61 kB / 3.703 GB, free: 18.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/9.343, allocations: 1.172 MB / 3.704 GB, free: 17.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-06/9.343, allocations: 0 / 3.704 GB, free: 17.33 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003229/9.346, allocations: 2.374 MB / 3.706 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/9.347, allocations: 329.5 kB / 3.706 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/9.347, allocations: 16 kB / 3.706 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008208/9.348, allocations: 75 kB / 3.707 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/9.348, allocations: 51.81 kB / 3.707 GB, free: 14.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.912e-05/9.348, allocations: 39.67 kB / 3.707 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000693/9.349, allocations: 448.8 kB / 3.707 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-07/9.349, allocations: 0 / 3.707 GB, free: 14.28 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005068/9.354, allocations: 1.406 MB / 3.708 GB, free: 12.91 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pump.medium.p,pump.medium.h) * Number of discrete variables: 25 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse15.region3boundary,$cse17.phase,$cse17.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007928/9.362, allocations: 1.738 MB / 3.71 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003183/9.365, allocations: 1.274 MB / 3.711 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.677e-06/9.365, allocations: 0 / 3.711 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001576/9.367, allocations: 0.8025 MB / 3.712 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/9.369, allocations: 321.2 kB / 3.712 GB, free: 9.371 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/9.373, allocations: 1.947 MB / 3.714 GB, free: 7.582 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009755/9.374, allocations: 1.17 MB / 3.715 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001793/9.376, allocations: 0.6831 MB / 3.716 GB, free: 6.133 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/9.376, allocations: 55.23 kB / 3.716 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of SimCode: time 1.911e-06/9.376, allocations: 0 / 3.716 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of Templates: time 0.4129/9.789, allocations: 46.41 MB / 3.762 GB, free: 72.35 MB / 0.5417 GB