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.3_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.927e-05/4.952e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.08892, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.32/16.41, allocations: 6.597 GB / 6.907 GB, free: 81.44 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/16.41, allocations: 71.97 kB / 6.907 GB, free: 81.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.378/19.79, allocations: 0.6631 GB / 7.57 GB, free: 22.18 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.28e-06/19.79, allocations: 0 / 7.57 GB, free: 22.18 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.728e-05/19.79, allocations: 18.66 kB / 7.57 GB, free: 22.18 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00942/19.8, allocations: 2.375 MB / 7.572 GB, free: 20.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/19.8, allocations: 10.72 kB / 7.572 GB, free: 20.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006848/19.8, allocations: 83 kB / 7.572 GB, free: 20.75 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008783/19.8, allocations: 449.1 kB / 7.573 GB, free: 20.5 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/19.8, allocations: 42.06 kB / 7.573 GB, free: 20.5 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/19.8, allocations: 66.88 kB / 7.573 GB, free: 20.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/19.8, allocations: 0.7595 MB / 7.574 GB, free: 20.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/19.8, allocations: 7.781 kB / 7.574 GB, free: 20.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001207/19.8, allocations: 26.66 kB / 7.574 GB, free: 20.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/19.8, allocations: 14.72 kB / 7.574 GB, free: 20.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002631/19.81, allocations: 0.9729 MB / 7.575 GB, free: 20.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01752/19.83, allocations: 12.48 MB / 7.587 GB, free: 9.445 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002406/19.83, allocations: 0.763 MB / 7.588 GB, free: 9.402 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/19.83, allocations: 387.1 kB / 7.588 GB, free: 9.391 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05356/19.88, allocations: 30.73 MB / 7.618 GB, free: 10.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.324e-05/19.88, allocations: 44.44 kB / 7.618 GB, free: 10.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=78): time 7.058e-06/19.88, allocations: 0 / 7.618 GB, free: 10.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=88): time 0.02626/19.91, allocations: 3.038 MB / 7.621 GB, free: 9.941 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.427e-05/19.91, allocations: 63.22 kB / 7.621 GB, free: 9.879 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009211/19.91, allocations: 317.6 kB / 7.621 GB, free: 9.773 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/19.91, allocations: 48.58 kB / 7.621 GB, free: 9.742 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000278/19.91, allocations: 233.1 kB / 7.622 GB, free: 9.598 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004436/19.91, allocations: 308.1 kB / 7.622 GB, free: 9.402 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/19.91, allocations: 17.59 kB / 7.622 GB, free: 9.402 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003169/19.91, allocations: 366.2 kB / 7.622 GB, free: 9.086 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/19.91, allocations: 347.4 kB / 7.623 GB, free: 9.082 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002521/19.92, allocations: 461.4 kB / 7.623 GB, free: 8.98 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/19.92, allocations: 422.5 kB / 7.623 GB, free: 8.969 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.785e-06/19.92, allocations: 3.75 kB / 7.623 GB, free: 8.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.007162/19.92, allocations: 1.056 MB / 7.624 GB, free: 8.621 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/19.92, allocations: 10.41 kB / 7.624 GB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/19.93, allocations: 2.938 kB / 7.624 GB, free: 8.617 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002092/19.93, allocations: 168.7 kB / 7.625 GB, free: 8.562 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002041/19.93, allocations: 189.2 kB / 7.625 GB, free: 8.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006543/19.94, allocations: 3.904 MB / 7.629 GB, free: 20.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/19.94, allocations: 63.38 kB / 7.629 GB, free: 20.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/19.94, allocations: 55.11 kB / 7.629 GB, free: 20.65 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.000541/19.94, allocations: 151.3 kB / 7.629 GB, free: 20.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0011/19.94, allocations: 59.55 kB / 7.629 GB, free: 20.48 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00667/19.95, allocations: 1.307 MB / 7.63 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/19.95, allocations: 9.469 kB / 7.63 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.731e-06/19.95, allocations: 0 / 7.63 GB, free: 19.91 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005581/19.95, allocations: 1.31 MB / 7.632 GB, free: 19 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/19.96, allocations: 1.97 MB / 7.633 GB, free: 18.05 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.359e-06/19.96, allocations: 6.188 kB / 7.633 GB, free: 18.05 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/19.96, allocations: 167.2 kB / 7.634 GB, free: 18.04 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002785/19.96, allocations: 316.8 kB / 7.634 GB, free: 17.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001738/19.96, allocations: 32.62 kB / 7.634 GB, free: 17.97 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/19.96, allocations: 1.288 MB / 7.635 GB, free: 16.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.724e-06/19.96, allocations: 2.5 kB / 7.635 GB, free: 16.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003917/19.97, allocations: 1.427 MB / 7.637 GB, free: 16.07 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000333/19.97, allocations: 141.1 kB / 7.637 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/19.97, allocations: 23.16 kB / 7.637 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000782/19.97, allocations: 49.12 kB / 7.637 GB, free: 15.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/19.97, allocations: 63.78 kB / 7.637 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/19.97, allocations: 54.19 kB / 7.637 GB, free: 15.89 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004646/19.97, allocations: 270.1 kB / 7.637 GB, free: 15.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.125e-06/19.97, allocations: 0 / 7.637 GB, free: 15.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009597/19.98, allocations: 2.323 MB / 7.639 GB, free: 15.09 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (87): * Single equations (assignments): 85 * 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.01601/20, allocations: 3.408 MB / 7.643 GB, free: 14.32 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002876/20, allocations: 1.123 MB / 7.644 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.999e-06/20, allocations: 3.969 kB / 7.644 GB, free: 13.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/20, allocations: 492.5 kB / 7.644 GB, free: 13.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/20, allocations: 355.5 kB / 7.645 GB, free: 13.55 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/20.01, allocations: 1.386 MB / 7.646 GB, free: 13.04 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006664/20.01, allocations: 0.9301 MB / 7.647 GB, free: 12.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001232/20.01, allocations: 201.4 kB / 7.647 GB, free: 12.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/20.01, allocations: 81.36 kB / 7.647 GB, free: 12.28 MB / 490.7 MB Notification: Performance of SimCode: time 2.117e-06/20.01, allocations: 3.938 kB / 7.647 GB, free: 12.28 MB / 490.7 MB Notification: Performance of Templates: time 0.4442/20.45, allocations: 78.64 MB / 7.724 GB, free: 67.34 MB / 490.7 MB