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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.319/2.319, allocations: 270 MB / 283.6 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.178e-05, allocations: 4 kB / 348.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3279, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.884/9.212, allocations: 3.555 GB / 3.956 GB, free: 7.344 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002547/9.212, allocations: 92.06 kB / 3.956 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.932/11.14, allocations: 413.3 MB / 4.359 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.154e-06/11.14, allocations: 0 / 4.359 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.435e-05/11.14, allocations: 28.12 kB / 4.359 GB, free: 14.14 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.007611/11.15, allocations: 2.21 MB / 4.362 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/11.15, allocations: 8.031 kB / 4.362 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000766/11.15, allocations: 110.9 kB / 4.362 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/11.15, allocations: 0.6387 MB / 4.362 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001424/11.15, allocations: 113.4 kB / 4.362 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002669/11.16, allocations: 71.94 kB / 4.362 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002371/11.16, allocations: 1.121 MB / 4.364 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.915e-05/11.16, allocations: 7.875 kB / 4.364 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/11.16, allocations: 31.98 kB / 4.364 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.371e-05/11.16, allocations: 53.98 kB / 4.364 GB, free: 9.617 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002343/11.16, allocations: 1.105 MB / 4.365 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008725/11.17, allocations: 4.67 MB / 4.369 GB, free: 3.566 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/11.17, allocations: 0.7876 MB / 4.37 GB, free: 2.762 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009059/11.17, allocations: 406.4 kB / 4.37 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/11.17, allocations: 1.634 MB / 4.372 GB, free: 388 kB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/11.17, allocations: 47.12 kB / 4.372 GB, free: 332 kB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 4.421e-06/11.17, allocations: 0 / 4.372 GB, free: 332 kB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.3581/11.53, allocations: 3.615 MB / 4.376 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/11.53, allocations: 112.1 kB / 4.376 GB, free: 69.45 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009424/11.53, allocations: 0.5792 MB / 4.376 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/11.53, allocations: 47.14 kB / 4.376 GB, free: 69.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/11.53, allocations: 388.5 kB / 4.377 GB, free: 69.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/11.53, allocations: 287.5 kB / 4.377 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.355e-05/11.53, allocations: 23.12 kB / 4.377 GB, free: 68.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001344/11.53, allocations: 393.1 kB / 4.377 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009063/11.53, allocations: 444.5 kB / 4.378 GB, free: 68.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/11.54, allocations: 0.6996 MB / 4.378 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001139/11.54, allocations: 0.5312 MB / 4.379 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.239e-06/11.54, allocations: 6.25 kB / 4.379 GB, free: 68.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003586/11.54, allocations: 1.502 MB / 4.38 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/11.54, allocations: 11.25 kB / 4.38 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/11.54, allocations: 12.16 kB / 4.38 GB, free: 68.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00913/11.55, allocations: 1.332 MB / 4.382 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009662/11.55, allocations: 152.9 kB / 4.382 GB, free: 68.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002409/11.55, allocations: 1.421 MB / 4.383 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/11.55, allocations: 95.86 kB / 4.383 GB, free: 67.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/11.55, allocations: 56.75 kB / 4.383 GB, free: 67.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 33} Notification: Performance of prepare postOptimizeDAE: time 0.00033/11.56, allocations: 170.1 kB / 4.384 GB, free: 67.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/11.56, allocations: 80.34 kB / 4.384 GB, free: 67.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003634/11.56, allocations: 1.541 MB / 4.385 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.859e-05/11.56, allocations: 12.45 kB / 4.385 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.899e-06/11.56, allocations: 0 / 4.385 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.562e-05/11.56, allocations: 5.953 kB / 4.385 GB, free: 67.43 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/11.56, allocations: 2.503 MB / 4.388 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/11.56, allocations: 0 / 4.388 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/11.57, allocations: 259.7 kB / 4.388 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/11.57, allocations: 316.6 kB / 4.388 GB, free: 66.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/11.57, allocations: 33.48 kB / 4.388 GB, free: 66.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001862/11.57, allocations: 2.148 MB / 4.39 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/11.57, allocations: 8.344 kB / 4.39 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004027/11.57, allocations: 1.933 MB / 4.392 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007487/11.57, allocations: 302.8 kB / 4.393 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/11.57, allocations: 21.52 kB / 4.393 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/11.58, allocations: 81.62 kB / 4.393 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/11.58, allocations: 62.94 kB / 4.393 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001542/11.58, allocations: 50.3 kB / 4.393 GB, free: 64.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007566/11.58, allocations: 478.1 kB / 4.393 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.28e-07/11.58, allocations: 0 / 4.393 GB, free: 64.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003153/11.58, allocations: 0.7804 MB / 4.394 GB, free: 64.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (82): * Single equations (assignments): 78 * 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.003702/11.58, allocations: 1.519 MB / 4.395 GB, free: 64.32 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00276/11.59, allocations: 1.123 MB / 4.397 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.777e-06/11.59, allocations: 3.5 kB / 4.397 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/11.59, allocations: 0.6423 MB / 4.397 GB, free: 64.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/11.59, allocations: 474.7 kB / 4.398 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/11.6, allocations: 1.661 MB / 4.399 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006159/11.6, allocations: 1.07 MB / 4.4 GB, free: 63.31 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001574/11.6, allocations: 340.5 kB / 4.401 GB, free: 63.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/11.6, allocations: 88.78 kB / 4.401 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.795e-06/11.6, allocations: 0 / 4.401 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of Templates: time 0.08635/11.69, allocations: 43.45 MB / 4.443 GB, free: 61.85 MB / 0.5261 GB