Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 1.766/1.766, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.367e-05/4.395e-05, allocations: 0 / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2158, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.79/16.01, allocations: 6.523 GB / 6.781 GB, free: 17.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002238/16.01, allocations: 70.78 kB / 6.781 GB, free: 17.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.469/19.48, allocations: 0.6637 GB / 7.445 GB, free: 29.47 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.168e-06/19.48, allocations: 0 / 7.445 GB, free: 29.47 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.783e-05/19.48, allocations: 17.66 kB / 7.445 GB, free: 29.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00907/19.49, allocations: 2.395 MB / 7.447 GB, free: 28.05 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/19.49, allocations: 9.281 kB / 7.447 GB, free: 28.05 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007064/19.49, allocations: 84.06 kB / 7.447 GB, free: 28.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008415/19.49, allocations: 435.8 kB / 7.448 GB, free: 27.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.925e-05/19.49, allocations: 51.48 kB / 7.448 GB, free: 27.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/19.49, allocations: 62.81 kB / 7.448 GB, free: 27.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002504/19.49, allocations: 0.6873 MB / 7.449 GB, free: 27.72 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.767e-05/19.49, allocations: 3.031 kB / 7.449 GB, free: 27.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/19.49, allocations: 29.34 kB / 7.449 GB, free: 27.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/19.49, allocations: 15.06 kB / 7.449 GB, free: 27.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002638/19.49, allocations: 0.8549 MB / 7.449 GB, free: 27.71 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0168/19.51, allocations: 12.43 MB / 7.462 GB, free: 16.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/19.51, allocations: 0.8737 MB / 7.462 GB, free: 16.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008628/19.51, allocations: 408.8 kB / 7.463 GB, free: 16.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04322/19.56, allocations: 30.2 MB / 7.492 GB, free: 18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.988e-05/19.56, allocations: 50.36 kB / 7.492 GB, free: 17.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=78): time 5.515e-06/19.56, allocations: 7.688 kB / 7.492 GB, free: 17.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.01378/19.57, allocations: 2.909 MB / 7.495 GB, free: 17.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/19.57, allocations: 64.72 kB / 7.495 GB, free: 17.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/19.57, allocations: 318.8 kB / 7.496 GB, free: 17.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001855/19.57, allocations: 41.02 kB / 7.496 GB, free: 17.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/19.57, allocations: 243.9 kB / 7.496 GB, free: 17.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002558/19.57, allocations: 306.2 kB / 7.496 GB, free: 16.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/19.57, allocations: 21.09 kB / 7.496 GB, free: 16.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002034/19.57, allocations: 367.8 kB / 7.496 GB, free: 16.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007217/19.57, allocations: 320.3 kB / 7.497 GB, free: 16.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/19.57, allocations: 434 kB / 7.497 GB, free: 16.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/19.58, allocations: 384.4 kB / 7.498 GB, free: 16.49 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.379e-06/19.58, allocations: 3.938 kB / 7.498 GB, free: 16.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003848/19.58, allocations: 0.9932 MB / 7.499 GB, free: 16.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/19.58, allocations: 7.234 kB / 7.499 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/19.58, allocations: 3.75 kB / 7.499 GB, free: 16.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001861/19.58, allocations: 173.3 kB / 7.499 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/19.58, allocations: 188.9 kB / 7.499 GB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005808/19.59, allocations: 3.906 MB / 7.503 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/19.59, allocations: 57.83 kB / 7.503 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/19.59, allocations: 49.09 kB / 7.503 GB, free: 12.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000483/19.59, allocations: 161.8 kB / 7.503 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/19.59, allocations: 59.72 kB / 7.503 GB, free: 12.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005402/19.6, allocations: 1.099 MB / 7.504 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.135e-05/19.6, allocations: 11.62 kB / 7.504 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.963e-06/19.6, allocations: 4 kB / 7.504 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004901/19.6, allocations: 1.318 MB / 7.505 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008824/19.61, allocations: 2.058 MB / 7.507 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/19.61, allocations: 0 / 7.507 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001913/19.61, allocations: 192.8 kB / 7.508 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004638/19.62, allocations: 301.5 kB / 7.508 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002672/19.62, allocations: 33.95 kB / 7.508 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/19.62, allocations: 1.296 MB / 7.509 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.79e-06/19.62, allocations: 3.594 kB / 7.509 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006677/19.63, allocations: 1.481 MB / 7.511 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/19.63, allocations: 137.9 kB / 7.511 GB, free: 9.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/19.63, allocations: 31.95 kB / 7.511 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001539/19.63, allocations: 58.55 kB / 7.511 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/19.63, allocations: 58.38 kB / 7.511 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002465/19.63, allocations: 54.31 kB / 7.511 GB, free: 9.609 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006604/19.63, allocations: 263.7 kB / 7.511 GB, free: 9.523 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.275e-06/19.63, allocations: 0 / 7.511 GB, free: 9.523 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0122/19.64, allocations: 2.29 MB / 7.513 GB, free: 9.059 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01761/19.66, allocations: 3.41 MB / 7.517 GB, free: 8.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002942/19.66, allocations: 1.092 MB / 7.518 GB, free: 7.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.761e-06/19.66, allocations: 0 / 7.518 GB, free: 7.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001369/19.67, allocations: 0.4908 MB / 7.518 GB, free: 7.734 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/19.67, allocations: 385.6 kB / 7.519 GB, free: 7.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/19.67, allocations: 1.437 MB / 7.52 GB, free: 7.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/19.67, allocations: 0.9407 MB / 7.521 GB, free: 6.367 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001276/19.67, allocations: 186.5 kB / 7.521 GB, free: 6.332 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003154/19.67, allocations: 79.09 kB / 7.521 GB, free: 6.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.834e-06/19.67, allocations: 0 / 7.521 GB, free: 6.32 MB / 426.7 MB Notification: Performance of Templates: time 0.4124/20.09, allocations: 80.16 MB / 7.6 GB, free: 57.39 MB / 426.7 MB