Running command: translateModel(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol1.medium.T|vol1.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization") Notification: Performance of loadModel(ModelicaTest): time 2.176/2.176, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.868e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3236, allocations: 54.85 MB / 359.8 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.962/1.286, allocations: 401.7 MB / 0.7436 GB, free: 170.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/1.286, allocations: 82.14 kB / 0.7437 GB, free: 170.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8475/2.133, allocations: 190.8 MB / 0.9301 GB, free: 97.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.175e-06/2.133, allocations: 0 / 0.9301 GB, free: 97.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.272e-05/2.134, allocations: 36.81 kB / 0.9301 GB, free: 97.36 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.003312/2.137, allocations: 1.338 MB / 0.9314 GB, free: 96.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/2.137, allocations: 10.03 kB / 0.9314 GB, free: 96.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005499/2.137, allocations: 115.7 kB / 0.9315 GB, free: 96.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/2.139, allocations: 0.7987 MB / 0.9323 GB, free: 96.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/2.14, allocations: 119.9 kB / 0.9324 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/2.14, allocations: 64.83 kB / 0.9325 GB, free: 96.41 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/2.142, allocations: 1.183 MB / 0.9336 GB, free: 96.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.899e-05/2.142, allocations: 4.375 kB / 0.9336 GB, free: 96.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/2.142, allocations: 30.8 kB / 0.9337 GB, free: 96.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/2.143, allocations: 76.86 kB / 0.9337 GB, free: 96.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002531/2.145, allocations: 1.149 MB / 0.9349 GB, free: 96.26 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009596/2.155, allocations: 4.764 MB / 0.9395 GB, free: 94.49 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001444/2.156, allocations: 0.6396 MB / 0.9401 GB, free: 94.47 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007343/2.157, allocations: 397.9 kB / 0.9405 GB, free: 94.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003695/2.161, allocations: 2.529 MB / 0.943 GB, free: 93.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/2.161, allocations: 42.17 kB / 0.943 GB, free: 93.07 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 3.144e-06/2.161, allocations: 3.719 kB / 0.943 GB, free: 93.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=56): time 0.005683/2.166, allocations: 2.269 MB / 0.9453 GB, free: 92.54 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/2.167, allocations: 162.5 kB / 0.9454 GB, free: 92.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/2.168, allocations: 0.764 MB / 0.9462 GB, free: 92.22 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.769e-05/2.168, allocations: 36.98 kB / 0.9462 GB, free: 92.19 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/2.168, allocations: 0.4901 MB / 0.9467 GB, free: 91.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001838/2.168, allocations: 200.2 kB / 0.9469 GB, free: 91.76 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.204e-05/2.168, allocations: 24.09 kB / 0.9469 GB, free: 91.76 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.61e-05/2.169, allocations: 348.5 kB / 0.9472 GB, free: 91.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009049/2.17, allocations: 414.4 kB / 0.9476 GB, free: 91.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/2.171, allocations: 0.7182 MB / 0.9483 GB, free: 91.08 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009575/2.172, allocations: 0.4931 MB / 0.9488 GB, free: 91.08 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.081e-06/2.172, allocations: 7.922 kB / 0.9488 GB, free: 91.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002908/2.175, allocations: 1.418 MB / 0.9502 GB, free: 90.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006626/2.175, allocations: 3.57 MB / 0.9537 GB, free: 87.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/2.175, allocations: 7 kB / 0.9537 GB, free: 87.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002221/2.177, allocations: 0.5004 MB / 0.9542 GB, free: 87.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/2.179, allocations: 193.4 kB / 0.9544 GB, free: 87.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002651/2.181, allocations: 2.919 MB / 0.9572 GB, free: 84.85 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001299/2.183, allocations: 52.06 kB / 0.9573 GB, free: 84.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001469/2.183, allocations: 53.44 kB / 0.9573 GB, free: 84.85 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/2.183, allocations: 3.875 kB / 0.9573 GB, free: 84.85 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002903/2.186, allocations: 1.258 MB / 0.9585 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.44e-05/2.186, allocations: 7.469 kB / 0.9585 GB, free: 84.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/2.187, allocations: 301.5 kB / 0.9588 GB, free: 84.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009993/2.188, allocations: 211.2 kB / 0.959 GB, free: 84.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001797/2.19, allocations: 2.668 MB / 0.9616 GB, free: 82.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007846/2.19, allocations: 66.45 kB / 0.9617 GB, free: 82.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/2.191, allocations: 54.2 kB / 0.9618 GB, free: 82.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003016/2.191, allocations: 163.8 kB / 0.9619 GB, free: 82.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/2.191, allocations: 97.03 kB / 0.962 GB, free: 82.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/2.194, allocations: 1.336 MB / 0.9633 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/2.194, allocations: 5.688 kB / 0.9633 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.06e-06/2.194, allocations: 3.953 kB / 0.9633 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/2.194, allocations: 9.297 kB / 0.9633 GB, free: 82.04 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/2.198, allocations: 2.289 MB / 0.9656 GB, free: 81.57 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/2.198, allocations: 0 / 0.9656 GB, free: 81.57 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006229/2.199, allocations: 91.44 kB / 0.9656 GB, free: 81.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/2.201, allocations: 0.498 MB / 0.9661 GB, free: 81.55 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.647e-05/2.201, allocations: 17.98 kB / 0.9661 GB, free: 81.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002379/2.203, allocations: 2.912 MB / 0.969 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.178e-06/2.203, allocations: 0 / 0.969 GB, free: 79.25 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003084/2.206, allocations: 1.744 MB / 0.9707 GB, free: 78.89 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005624/2.207, allocations: 291.9 kB / 0.971 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/2.207, allocations: 11.34 kB / 0.971 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007818/2.208, allocations: 48.08 kB / 0.971 GB, free: 78.74 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/2.208, allocations: 62.56 kB / 0.9711 GB, free: 78.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.724e-05/2.208, allocations: 25.83 kB / 0.9711 GB, free: 78.73 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009269/2.209, allocations: 0.5815 MB / 0.9717 GB, free: 78.63 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.24e-07/2.209, allocations: 0 / 0.9717 GB, free: 78.63 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002758/2.212, allocations: 0.8606 MB / 0.9725 GB, free: 78.49 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/2.214, allocations: 0.824 MB / 0.9733 GB, free: 78.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003684/2.218, allocations: 1.756 MB / 0.975 GB, free: 78 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/2.218, allocations: 0 / 0.975 GB, free: 78 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001223/2.219, allocations: 0.5484 MB / 0.9756 GB, free: 77.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001811/2.221, allocations: 339.9 kB / 0.9759 GB, free: 77.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003956/2.225, allocations: 1.619 MB / 0.9775 GB, free: 77.51 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005915/2.225, allocations: 1.074 MB / 0.9785 GB, free: 76.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/2.226, allocations: 96.59 kB / 0.9786 GB, free: 76.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.595e-06/2.226, allocations: 0 / 0.9786 GB, free: 76.8 MB / 490.7 MB Notification: Performance of Templates: time 0.03981/2.266, allocations: 30.62 MB / 1.009 GB, free: 75.32 MB / 490.7 MB