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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpStorage") Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 270 MB / 283.6 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.255e-05, allocations: 0 / 348.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3384, allocations: 61.89 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.038/7.377, allocations: 2.787 GB / 3.188 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/7.377, allocations: 85.33 kB / 3.188 GB, free: 127.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.964/9.341, allocations: 443.7 MB / 3.621 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.369e-06/9.341, allocations: 0 / 3.621 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.648e-05/9.341, allocations: 20.5 kB / 3.621 GB, free: 63.68 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.005808/9.347, allocations: 1.752 MB / 3.623 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/9.347, allocations: 7.875 kB / 3.623 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003257/9.35, allocations: 334.3 kB / 3.623 GB, free: 62.67 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/9.351, allocations: 0.5692 MB / 3.624 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.475e-05/9.352, allocations: 48.22 kB / 3.624 GB, free: 62.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/9.352, allocations: 56.38 kB / 3.624 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/9.354, allocations: 0.965 MB / 3.625 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/9.354, allocations: 2.406 kB / 3.625 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/9.354, allocations: 23 kB / 3.625 GB, free: 61.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.03e-05/9.354, allocations: 27.47 kB / 3.625 GB, free: 61.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002421/9.357, allocations: 0.8004 MB / 3.626 GB, free: 61.55 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.005464/9.362, allocations: 4.518 MB / 3.63 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/9.365, allocations: 0.7219 MB / 3.631 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/9.365, allocations: 234.2 kB / 3.631 GB, free: 57.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1226/9.488, allocations: 55.75 MB / 3.685 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/9.488, allocations: 42.94 kB / 3.685 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 3.63e-06/9.488, allocations: 0 / 3.685 GB, free: 19.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52): time 0.006082/9.494, allocations: 1.847 MB / 3.687 GB, free: 17.48 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005634/9.495, allocations: 115.2 kB / 3.687 GB, free: 33.35 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006752/9.495, allocations: 442.1 kB / 3.688 GB, free: 32.94 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 8.186e-05/9.496, allocations: 37.7 kB / 3.688 GB, free: 32.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002184/9.496, allocations: 328.6 kB / 3.688 GB, free: 32.6 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/9.496, allocations: 173.1 kB / 3.688 GB, free: 32.45 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/9.496, allocations: 12 kB / 3.688 GB, free: 32.44 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002026/9.496, allocations: 369.4 kB / 3.689 GB, free: 32.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/9.497, allocations: 196.6 kB / 3.689 GB, free: 31.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/9.497, allocations: 353.4 kB / 3.689 GB, free: 31.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/9.498, allocations: 244 kB / 3.689 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.594e-06/9.498, allocations: 0 / 3.689 GB, free: 31.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002002/9.5, allocations: 0.7935 MB / 3.69 GB, free: 30.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008425/9.5, allocations: 1.744 MB / 3.692 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/9.501, allocations: 4 kB / 3.692 GB, free: 28.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002563/9.503, allocations: 391.8 kB / 3.692 GB, free: 28.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007525/9.504, allocations: 135.1 kB / 3.692 GB, free: 28.29 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001645/9.506, allocations: 0.8681 MB / 3.693 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/9.507, allocations: 93.44 kB / 3.693 GB, free: 27.35 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.186e-05/9.507, allocations: 35.75 kB / 3.693 GB, free: 27.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/9.507, allocations: 8 kB / 3.693 GB, free: 27.31 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002365/9.509, allocations: 0.7475 MB / 3.694 GB, free: 26.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.697e-06/9.509, allocations: 4 kB / 3.694 GB, free: 26.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001672/9.511, allocations: 302.2 kB / 3.694 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006682/9.511, allocations: 137.8 kB / 3.695 GB, free: 26.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/9.513, allocations: 0.8356 MB / 3.695 GB, free: 25.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009315/9.514, allocations: 88.7 kB / 3.695 GB, free: 25.42 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/9.514, allocations: 31.61 kB / 3.695 GB, free: 25.39 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.0002773/9.514, allocations: 148.8 kB / 3.696 GB, free: 25.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/9.514, allocations: 63.25 kB / 3.696 GB, free: 25.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00354/9.518, allocations: 2.842 MB / 3.698 GB, free: 22.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/9.518, allocations: 45.94 kB / 3.698 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.558e-06/9.518, allocations: 0 / 3.698 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.088e-05/9.518, allocations: 3.609 kB / 3.698 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004974/9.523, allocations: 4.014 MB / 3.702 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/9.523, allocations: 4 kB / 3.702 GB, free: 19.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009239/9.524, allocations: 164.5 kB / 3.703 GB, free: 18.89 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003798/9.524, allocations: 69.97 kB / 3.703 GB, free: 18.84 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.275e-05/9.525, allocations: 16 kB / 3.703 GB, free: 18.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009459/9.525, allocations: 1.183 MB / 3.704 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.641e-06/9.526, allocations: 0 / 3.704 GB, free: 17.61 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00318/9.529, allocations: 2.368 MB / 3.706 GB, free: 15.39 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000589/9.529, allocations: 332 kB / 3.706 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001367/9.529, allocations: 16.09 kB / 3.706 GB, free: 15.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/9.53, allocations: 77.02 kB / 3.707 GB, free: 15.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/9.53, allocations: 51.92 kB / 3.707 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-05/9.53, allocations: 23.19 kB / 3.707 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0006817/9.531, allocations: 453.3 kB / 3.707 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.79e-07/9.531, allocations: 0 / 3.707 GB, free: 14.56 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005212/9.536, allocations: 1.398 MB / 3.708 GB, free: 13.2 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.008061/9.544, allocations: 1.751 MB / 3.71 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003324/9.548, allocations: 1.268 MB / 3.711 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.745e-06/9.548, allocations: 0 / 3.711 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/9.55, allocations: 0.8037 MB / 3.712 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002059/9.552, allocations: 320.6 kB / 3.712 GB, free: 9.676 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/9.556, allocations: 1.94 MB / 3.714 GB, free: 7.895 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/9.557, allocations: 1.169 MB / 3.715 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001716/9.558, allocations: 0.6953 MB / 3.716 GB, free: 6.441 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/9.559, allocations: 59.19 kB / 3.716 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of SimCode: time 1.872e-06/9.559, allocations: 0 / 3.716 GB, free: 6.387 MB / 0.5417 GB Notification: Performance of Templates: time 0.4167/9.975, allocations: 46.26 MB / 3.761 GB, free: 77.64 MB / 0.5417 GB