Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.85e-05/3.857e-05, allocations: 3.984 kB / 304.9 MB, free: 5.645 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3649/0.3649, allocations: 54.85 MB / 359.8 MB, free: 2.672 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.687/9.052, allocations: 3.667 GB / 4.019 GB, free: 87.58 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/9.052, allocations: 99.36 kB / 4.019 GB, free: 87.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064/11.12, allocations: 431.8 MB / 4.441 GB, free: 43.59 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.84e-06/11.12, allocations: 0 / 4.441 GB, free: 43.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.439e-05/11.12, allocations: 20 kB / 4.441 GB, free: 43.57 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007819/11.12, allocations: 2.341 MB / 4.443 GB, free: 41.18 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/11.12, allocations: 8.031 kB / 4.443 GB, free: 41.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006981/11.12, allocations: 106.9 kB / 4.443 GB, free: 41.06 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/11.13, allocations: 0.6386 MB / 4.444 GB, free: 40.38 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/11.13, allocations: 121.4 kB / 4.444 GB, free: 40.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/11.13, allocations: 71.89 kB / 4.444 GB, free: 40.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002275/11.13, allocations: 1.122 MB / 4.445 GB, free: 39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.58e-05/11.13, allocations: 4 kB / 4.445 GB, free: 39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/11.13, allocations: 32 kB / 4.445 GB, free: 38.97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.853e-05/11.13, allocations: 53.92 kB / 4.445 GB, free: 38.91 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002217/11.13, allocations: 1.105 MB / 4.446 GB, free: 37.81 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007674/11.14, allocations: 4.665 MB / 4.451 GB, free: 32.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/11.14, allocations: 0.7344 MB / 4.451 GB, free: 32.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006753/11.14, allocations: 388.8 kB / 4.452 GB, free: 31.75 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/11.14, allocations: 1.58 MB / 4.453 GB, free: 29.84 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/11.14, allocations: 43.12 kB / 4.453 GB, free: 29.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 4.209e-06/11.14, allocations: 0 / 4.453 GB, free: 29.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01386/11.16, allocations: 3.557 MB / 4.457 GB, free: 26.17 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/11.16, allocations: 119.5 kB / 4.457 GB, free: 26.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008394/11.16, allocations: 0.5422 MB / 4.457 GB, free: 25.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/11.16, allocations: 41.7 kB / 4.457 GB, free: 25.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/11.16, allocations: 433.7 kB / 4.458 GB, free: 25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/11.16, allocations: 283.9 kB / 4.458 GB, free: 24.71 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-05/11.16, allocations: 20 kB / 4.458 GB, free: 24.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 8.747e-05/11.16, allocations: 354.8 kB / 4.458 GB, free: 24.34 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000829/11.16, allocations: 426.5 kB / 4.459 GB, free: 23.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/11.16, allocations: 0.7254 MB / 4.46 GB, free: 23.05 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009906/11.16, allocations: 0.533 MB / 4.46 GB, free: 22.52 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.109e-06/11.16, allocations: 4 kB / 4.46 GB, free: 22.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.00306/11.16, allocations: 1.461 MB / 4.461 GB, free: 21.05 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/11.16, allocations: 12 kB / 4.461 GB, free: 21.04 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/11.16, allocations: 8 kB / 4.462 GB, free: 21.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008895/11.17, allocations: 1.338 MB / 4.463 GB, free: 19.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009265/11.17, allocations: 167.7 kB / 4.463 GB, free: 19.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/11.18, allocations: 1.368 MB / 4.464 GB, free: 18.13 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/11.18, allocations: 99.83 kB / 4.464 GB, free: 18.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000193/11.18, allocations: 71.91 kB / 4.464 GB, free: 17.96 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0002985/11.18, allocations: 168.7 kB / 4.465 GB, free: 17.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/11.18, allocations: 83.02 kB / 4.465 GB, free: 17.71 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003254/11.18, allocations: 1.457 MB / 4.466 GB, free: 16.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/11.18, allocations: 11.98 kB / 4.466 GB, free: 16.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.983e-06/11.18, allocations: 4 kB / 4.466 GB, free: 16.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/11.18, allocations: 3.984 kB / 4.466 GB, free: 16.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004514/11.19, allocations: 2.324 MB / 4.468 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/11.19, allocations: 4 kB / 4.468 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001632/11.19, allocations: 255.7 kB / 4.469 GB, free: 13.55 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001507/11.19, allocations: 312.6 kB / 4.469 GB, free: 13.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/11.19, allocations: 35.92 kB / 4.469 GB, free: 13.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001864/11.19, allocations: 2.155 MB / 4.471 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.281e-06/11.19, allocations: 192 / 4.471 GB, free: 10.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/11.2, allocations: 1.823 MB / 4.473 GB, free: 9.012 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006432/11.2, allocations: 283.9 kB / 4.473 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/11.2, allocations: 20 kB / 4.473 GB, free: 8.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/11.2, allocations: 75.84 kB / 4.473 GB, free: 8.621 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/11.2, allocations: 64.69 kB / 4.473 GB, free: 8.559 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/11.2, allocations: 55.92 kB / 4.473 GB, free: 8.504 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006724/11.2, allocations: 451.1 kB / 4.474 GB, free: 8.066 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.44e-07/11.2, allocations: 0 / 4.474 GB, free: 8.066 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002983/11.2, allocations: 0.8272 MB / 4.475 GB, free: 7.238 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003842/11.21, allocations: 1.648 MB / 4.476 GB, free: 5.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002476/11.21, allocations: 1.092 MB / 4.477 GB, free: 4.496 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.758e-06/11.21, allocations: 1 kB / 4.477 GB, free: 4.496 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001647/11.21, allocations: 0.6161 MB / 4.478 GB, free: 3.883 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/11.21, allocations: 421.8 kB / 4.478 GB, free: 3.477 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004392/11.22, allocations: 1.727 MB / 4.48 GB, free: 1.699 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005848/11.22, allocations: 1.058 MB / 4.481 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005082/11.22, allocations: 111.4 kB / 4.481 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of SimCode: time 1.801e-06/11.22, allocations: 0 / 4.481 GB, free: 0.5039 MB / 490.7 MB Notification: Performance of Templates: time 0.3509/11.57, allocations: 31.03 MB / 4.511 GB, free: 54.48 MB / 490.7 MB