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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 1.832/1.832, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.638e-05/2.659e-05, allocations: 0 / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09853/0.09858, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.945/9.043, allocations: 3.661 GB / 3.975 GB, free: 33.17 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/9.044, allocations: 88.67 kB / 3.975 GB, free: 33.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.338/11.38, allocations: 428.7 MB / 4.394 GB, free: 52.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.872e-06/11.38, allocations: 2.438 kB / 4.394 GB, free: 52.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.968e-05/11.38, allocations: 18.03 kB / 4.394 GB, free: 52.2 MB / 442.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.007879/11.39, allocations: 2.346 MB / 4.396 GB, free: 51.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/11.39, allocations: 6.844 kB / 4.396 GB, free: 51.11 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007054/11.39, allocations: 106.3 kB / 4.396 GB, free: 51.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001661/11.39, allocations: 0.6337 MB / 4.397 GB, free: 50.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/11.39, allocations: 128.9 kB / 4.397 GB, free: 50.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/11.39, allocations: 70.61 kB / 4.397 GB, free: 50.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/11.39, allocations: 1.114 MB / 4.398 GB, free: 50.57 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/11.39, allocations: 9.031 kB / 4.398 GB, free: 50.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001914/11.39, allocations: 36.91 kB / 4.398 GB, free: 50.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.527e-05/11.4, allocations: 53.16 kB / 4.398 GB, free: 50.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002403/11.4, allocations: 1.107 MB / 4.399 GB, free: 50.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008271/11.41, allocations: 4.401 MB / 4.403 GB, free: 48.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0019/11.41, allocations: 0.7383 MB / 4.404 GB, free: 48.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007142/11.41, allocations: 386.9 kB / 4.405 GB, free: 48.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/11.41, allocations: 1.574 MB / 4.406 GB, free: 46.83 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.647e-05/11.41, allocations: 43.09 kB / 4.406 GB, free: 46.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 4.602e-06/11.41, allocations: 0 / 4.406 GB, free: 46.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.0149/11.42, allocations: 3.56 MB / 4.41 GB, free: 46.33 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/11.42, allocations: 114.1 kB / 4.41 GB, free: 46.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008681/11.43, allocations: 0.5422 MB / 4.41 GB, free: 46.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001717/11.43, allocations: 42.67 kB / 4.41 GB, free: 46.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/11.43, allocations: 437.7 kB / 4.411 GB, free: 45.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002698/11.43, allocations: 284.3 kB / 4.411 GB, free: 45.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.663e-05/11.43, allocations: 21.66 kB / 4.411 GB, free: 45.57 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.082e-05/11.43, allocations: 351.4 kB / 4.411 GB, free: 45.26 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000873/11.43, allocations: 432.1 kB / 4.412 GB, free: 45.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/11.43, allocations: 0.7245 MB / 4.412 GB, free: 44.89 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/11.43, allocations: 0.5311 MB / 4.413 GB, free: 44.88 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.929e-06/11.43, allocations: 9.062 kB / 4.413 GB, free: 44.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.003275/11.43, allocations: 1.462 MB / 4.414 GB, free: 44.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/11.43, allocations: 8.156 kB / 4.414 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.912e-05/11.43, allocations: 11.41 kB / 4.414 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008081/11.44, allocations: 1.333 MB / 4.416 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009777/11.44, allocations: 172 kB / 4.416 GB, free: 44.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/11.44, allocations: 1.368 MB / 4.417 GB, free: 44.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/11.45, allocations: 97.69 kB / 4.417 GB, free: 44.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002268/11.45, allocations: 67.23 kB / 4.417 GB, free: 44.25 MB / 442.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.0003359/11.45, allocations: 179.8 kB / 4.418 GB, free: 44.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/11.45, allocations: 78.75 kB / 4.418 GB, free: 44.1 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003418/11.45, allocations: 1.457 MB / 4.419 GB, free: 43.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/11.45, allocations: 15.56 kB / 4.419 GB, free: 43.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.476e-06/11.45, allocations: 0 / 4.419 GB, free: 43.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/11.45, allocations: 3.844 kB / 4.419 GB, free: 43.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/11.46, allocations: 2.328 MB / 4.421 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/11.46, allocations: 0 / 4.421 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001699/11.46, allocations: 264.3 kB / 4.422 GB, free: 43.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/11.46, allocations: 311.3 kB / 4.422 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002026/11.46, allocations: 29.86 kB / 4.422 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/11.46, allocations: 2.164 MB / 4.424 GB, free: 41.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.384e-06/11.46, allocations: 4.875 kB / 4.424 GB, free: 41.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/11.46, allocations: 1.822 MB / 4.426 GB, free: 41.38 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007088/11.46, allocations: 277.5 kB / 4.426 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002392/11.47, allocations: 27.59 kB / 4.426 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/11.47, allocations: 69.75 kB / 4.426 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/11.47, allocations: 67.31 kB / 4.426 GB, free: 41.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/11.47, allocations: 54.42 kB / 4.426 GB, free: 41.24 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007032/11.47, allocations: 442.2 kB / 4.427 GB, free: 41.14 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.85e-07/11.47, allocations: 0 / 4.427 GB, free: 41.14 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00326/11.47, allocations: 0.8319 MB / 4.427 GB, free: 40.99 MB / 442.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.004397/11.48, allocations: 1.652 MB / 4.429 GB, free: 40.62 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002739/11.48, allocations: 1.088 MB / 4.43 GB, free: 40.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.643e-06/11.48, allocations: 0 / 4.43 GB, free: 40.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001779/11.48, allocations: 0.6199 MB / 4.431 GB, free: 40.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002594/11.48, allocations: 427.7 kB / 4.431 GB, free: 40.59 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004824/11.49, allocations: 1.726 MB / 4.433 GB, free: 40.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/11.49, allocations: 1.055 MB / 4.434 GB, free: 39.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006087/11.49, allocations: 112.1 kB / 4.434 GB, free: 39.49 MB / 442.7 MB Notification: Performance of SimCode: time 2.279e-06/11.49, allocations: 0 / 4.434 GB, free: 39.49 MB / 442.7 MB Notification: Performance of Templates: time 0.04622/11.53, allocations: 31.02 MB / 4.464 GB, free: 32.43 MB / 442.7 MB