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_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.899e-05/3.914e-05, allocations: 4.625 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1173, allocations: 61.9 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.617/8.734, allocations: 3.555 GB / 3.956 GB, free: 6.152 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/8.734, allocations: 92.62 kB / 3.956 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.047/10.78, allocations: 413.3 MB / 4.359 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.081e-06/10.78, allocations: 0 / 4.359 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.391e-05/10.78, allocations: 20 kB / 4.359 GB, free: 14.48 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.007072/10.79, allocations: 2.214 MB / 4.361 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/10.79, allocations: 15.97 kB / 4.362 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007282/10.79, allocations: 106.9 kB / 4.362 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001664/10.79, allocations: 0.6289 MB / 4.362 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/10.79, allocations: 113.4 kB / 4.362 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001722/10.79, allocations: 79.94 kB / 4.362 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/10.79, allocations: 1.121 MB / 4.363 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/10.79, allocations: 0 / 4.363 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/10.79, allocations: 36 kB / 4.364 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.312e-05/10.79, allocations: 53.95 kB / 4.364 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/10.8, allocations: 1.105 MB / 4.365 GB, free: 8.852 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007982/10.8, allocations: 4.663 MB / 4.369 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00211/10.81, allocations: 0.7915 MB / 4.37 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008522/10.81, allocations: 402.4 kB / 4.37 GB, free: 2.715 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/10.81, allocations: 1.638 MB / 4.372 GB, free: 0.7266 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.992e-05/10.81, allocations: 51 kB / 4.372 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=70): time 3.996e-06/10.81, allocations: 0 / 4.372 GB, free: 0.668 MB / 0.5261 GB Notification: Performance of matching and sorting (n=82): time 0.3517/11.16, allocations: 3.624 MB / 4.376 GB, free: 67.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/11.16, allocations: 113.2 kB / 4.376 GB, free: 67.44 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/11.16, allocations: 0.5768 MB / 4.376 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002002/11.16, allocations: 41.23 kB / 4.376 GB, free: 67.29 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003141/11.16, allocations: 388.2 kB / 4.377 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/11.16, allocations: 291.1 kB / 4.377 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.092e-05/11.16, allocations: 22.41 kB / 4.377 GB, free: 66.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001651/11.16, allocations: 390.9 kB / 4.377 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001056/11.16, allocations: 443.3 kB / 4.378 GB, free: 66.66 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001223/11.16, allocations: 0.6953 MB / 4.378 GB, free: 66.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/11.17, allocations: 0.5415 MB / 4.379 GB, free: 66.35 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.86e-06/11.17, allocations: 2.562 kB / 4.379 GB, free: 66.35 MB / 0.5261 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003911/11.17, allocations: 1.501 MB / 4.38 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.227e-05/11.17, allocations: 9.812 kB / 4.38 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.262e-05/11.17, allocations: 7.812 kB / 4.38 GB, free: 66.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008592/11.18, allocations: 1.342 MB / 4.382 GB, free: 66.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009582/11.18, allocations: 154.1 kB / 4.382 GB, free: 66.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002541/11.18, allocations: 1.424 MB / 4.383 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/11.18, allocations: 83.41 kB / 4.383 GB, free: 65.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/11.18, allocations: 57.47 kB / 4.383 GB, free: 65.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.0003598/11.18, allocations: 166.8 kB / 4.384 GB, free: 65.59 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002869/11.18, allocations: 88.31 kB / 4.384 GB, free: 65.55 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/11.19, allocations: 1.544 MB / 4.385 GB, free: 65.44 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.356e-05/11.19, allocations: 10.72 kB / 4.385 GB, free: 65.44 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.893e-06/11.19, allocations: 0 / 4.385 GB, free: 65.44 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.056e-05/11.19, allocations: 8.969 kB / 4.385 GB, free: 65.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/11.19, allocations: 2.501 MB / 4.388 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.176e-05/11.19, allocations: 6.281 kB / 4.388 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00209/11.2, allocations: 257.6 kB / 4.388 GB, free: 64.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001972/11.2, allocations: 311.1 kB / 4.388 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002099/11.2, allocations: 31.42 kB / 4.388 GB, free: 64.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/11.2, allocations: 2.16 MB / 4.39 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-06/11.2, allocations: 5.828 kB / 4.39 GB, free: 63.11 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/11.21, allocations: 1.935 MB / 4.392 GB, free: 62.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008671/11.21, allocations: 298.8 kB / 4.392 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/11.21, allocations: 21.72 kB / 4.393 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/11.21, allocations: 76.72 kB / 4.393 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001822/11.21, allocations: 62.97 kB / 4.393 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/11.21, allocations: 49.69 kB / 4.393 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008489/11.21, allocations: 474.2 kB / 4.393 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.26e-07/11.21, allocations: 0 / 4.393 GB, free: 62.51 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003373/11.21, allocations: 0.7821 MB / 4.394 GB, free: 62.51 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.00412/11.22, allocations: 1.517 MB / 4.395 GB, free: 62.31 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002928/11.22, allocations: 1.122 MB / 4.396 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/11.22, allocations: 0 / 4.396 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001969/11.22, allocations: 0.6499 MB / 4.397 GB, free: 62.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/11.23, allocations: 454.8 kB / 4.398 GB, free: 62.28 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004952/11.23, allocations: 1.678 MB / 4.399 GB, free: 62.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/11.23, allocations: 1.064 MB / 4.4 GB, free: 61.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001718/11.23, allocations: 347.3 kB / 4.401 GB, free: 61.28 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/11.23, allocations: 91.44 kB / 4.401 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of SimCode: time 1.745e-06/11.23, allocations: 0 / 4.401 GB, free: 61.27 MB / 0.5261 GB Notification: Performance of Templates: time 0.08294/11.32, allocations: 43.45 MB / 4.443 GB, free: 59.91 MB / 0.5261 GB