Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.282e-05, allocations: 7.984 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2138, allocations: 38.76 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.42/16.63, allocations: 6.523 GB / 6.781 GB, free: 19.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/16.63, allocations: 74.2 kB / 6.781 GB, free: 19.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.49/21.12, allocations: 0.8372 GB / 7.618 GB, free: 19.79 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.594e-06/21.12, allocations: 0 / 7.618 GB, free: 19.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.826e-05/21.12, allocations: 7.719 kB / 7.618 GB, free: 19.79 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01073/21.13, allocations: 2.891 MB / 7.621 GB, free: 18.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/21.13, allocations: 7.656 kB / 7.621 GB, free: 18.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000446/21.13, allocations: 64.19 kB / 7.621 GB, free: 18.04 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/21.13, allocations: 353.8 kB / 7.622 GB, free: 17.81 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/21.13, allocations: 30.09 kB / 7.622 GB, free: 17.81 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.688e-05/21.13, allocations: 49.08 kB / 7.622 GB, free: 17.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/21.13, allocations: 0.4964 MB / 7.622 GB, free: 17.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/21.13, allocations: 0 / 7.622 GB, free: 17.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/21.13, allocations: 25.22 kB / 7.622 GB, free: 17.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.333e-05/21.13, allocations: 10.59 kB / 7.622 GB, free: 17.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/21.14, allocations: 0.6121 MB / 7.623 GB, free: 17.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/21.15, allocations: 11.71 MB / 7.634 GB, free: 6.898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/21.15, allocations: 0.6296 MB / 7.635 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005133/21.15, allocations: 255.1 kB / 7.635 GB, free: 6.668 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0307/21.18, allocations: 20.14 MB / 7.655 GB, free: 18.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/21.18, allocations: 41.47 kB / 7.655 GB, free: 18.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 4.273e-06/21.18, allocations: 0 / 7.655 GB, free: 18.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.007694/21.19, allocations: 1.722 MB / 7.656 GB, free: 17.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.377e-05/21.19, allocations: 63.08 kB / 7.656 GB, free: 17.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004366/21.19, allocations: 290.6 kB / 7.657 GB, free: 17.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/21.19, allocations: 36.27 kB / 7.657 GB, free: 17.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/21.19, allocations: 199.6 kB / 7.657 GB, free: 17.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/21.19, allocations: 187.6 kB / 7.657 GB, free: 17.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/21.19, allocations: 10.94 kB / 7.657 GB, free: 17.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/21.19, allocations: 347.7 kB / 7.657 GB, free: 17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/21.19, allocations: 208.3 kB / 7.658 GB, free: 17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008831/21.2, allocations: 304.1 kB / 7.658 GB, free: 16.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000784/21.2, allocations: 261.8 kB / 7.658 GB, free: 16.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.061e-06/21.2, allocations: 0 / 7.658 GB, free: 16.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002348/21.2, allocations: 0.6718 MB / 7.659 GB, free: 16.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/21.2, allocations: 8.594 kB / 7.659 GB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/21.2, allocations: 7.281 kB / 7.659 GB, free: 16.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/21.2, allocations: 107 kB / 7.659 GB, free: 16.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007071/21.2, allocations: 126.3 kB / 7.659 GB, free: 16.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003248/21.2, allocations: 3.263 MB / 7.662 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/21.2, allocations: 44.66 kB / 7.662 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.844e-05/21.2, allocations: 32.02 kB / 7.662 GB, free: 13.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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0002452/21.2, allocations: 139.4 kB / 7.662 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004158/21.2, allocations: 44.12 kB / 7.663 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001984/21.21, allocations: 0.6988 MB / 7.663 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.702e-06/21.21, allocations: 6.969 kB / 7.663 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/21.21, allocations: 0 / 7.663 GB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001627/21.21, allocations: 0.7791 MB / 7.664 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003381/21.21, allocations: 1.398 MB / 7.665 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.19e-06/21.21, allocations: 4.031 kB / 7.665 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006907/21.21, allocations: 123.4 kB / 7.665 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001249/21.21, allocations: 155.4 kB / 7.666 GB, free: 12.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.449e-05/21.21, allocations: 25.2 kB / 7.666 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006134/21.21, allocations: 0.6403 MB / 7.666 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.255e-06/21.21, allocations: 3.875 kB / 7.666 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002393/21.22, allocations: 0.9936 MB / 7.667 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002293/21.22, allocations: 124.4 kB / 7.667 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/21.22, allocations: 21.11 kB / 7.667 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005978/21.22, allocations: 36.64 kB / 7.667 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/21.22, allocations: 39.72 kB / 7.667 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.204e-05/21.22, allocations: 34.94 kB / 7.667 GB, free: 11.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003575/21.22, allocations: 235.2 kB / 7.668 GB, free: 11.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.824e-06/21.22, allocations: 0 / 7.668 GB, free: 11.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007656/21.23, allocations: 1.976 MB / 7.67 GB, free: 11.07 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (61): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01429/21.24, allocations: 3.109 MB / 7.673 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/21.24, allocations: 0.771 MB / 7.673 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.271e-06/21.24, allocations: 0 / 7.673 GB, free: 9.828 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008024/21.24, allocations: 310.9 kB / 7.674 GB, free: 9.715 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/21.25, allocations: 285.1 kB / 7.674 GB, free: 9.637 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002028/21.25, allocations: 0.8828 MB / 7.675 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005769/21.25, allocations: 0.8563 MB / 7.676 GB, free: 8.453 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008246/21.25, allocations: 132.4 kB / 7.676 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002125/21.25, allocations: 59.84 kB / 7.676 GB, free: 8.414 MB / 426.7 MB Notification: Performance of SimCode: time 1.689e-06/21.25, allocations: 0 / 7.676 GB, free: 8.414 MB / 426.7 MB Notification: Performance of Templates: time 0.3957/21.64, allocations: 68.54 MB / 7.743 GB, free: 49.41 MB / 426.7 MB