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_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 2.126/2.126, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.172e-05, allocations: 4 kB / 292.1 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 50.41 MB / 342.6 MB, free: 5.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.48/15.59, allocations: 6.123 GB / 6.458 GB, free: 133.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003794/15.59, allocations: 75.17 kB / 6.458 GB, free: 133.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.856/19.44, allocations: 0.8123 GB / 7.27 GB, free: 34.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.667e-06/19.44, allocations: 0 / 7.27 GB, free: 34.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.927e-05/19.44, allocations: 8 kB / 7.27 GB, free: 34.88 MB / 474.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.01092/19.45, allocations: 2.715 MB / 7.273 GB, free: 32.11 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/19.45, allocations: 12.03 kB / 7.273 GB, free: 32.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004709/19.46, allocations: 67.39 kB / 7.273 GB, free: 32.03 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005873/19.46, allocations: 362.2 kB / 7.273 GB, free: 31.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.37e-05/19.46, allocations: 29 kB / 7.273 GB, free: 31.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-05/19.46, allocations: 48 kB / 7.273 GB, free: 31.56 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/19.46, allocations: 0.5473 MB / 7.274 GB, free: 31.01 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/19.46, allocations: 3.938 kB / 7.274 GB, free: 31.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/19.46, allocations: 23.98 kB / 7.274 GB, free: 30.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/19.46, allocations: 12 kB / 7.274 GB, free: 30.97 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/19.46, allocations: 0.7118 MB / 7.274 GB, free: 30.26 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01525/19.48, allocations: 11.65 MB / 7.286 GB, free: 16.54 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/19.48, allocations: 0.528 MB / 7.286 GB, free: 16.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004848/19.48, allocations: 249.3 kB / 7.287 GB, free: 15.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02758/19.51, allocations: 20.96 MB / 7.307 GB, free: 6.656 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.564e-05/19.51, allocations: 39 kB / 7.307 GB, free: 6.609 MB / 490.7 MB Notification: Performance of pre-optimization done (n=50): time 4.33e-06/19.51, allocations: 0 / 7.307 GB, free: 6.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=55): time 0.008669/19.51, allocations: 1.809 MB / 7.309 GB, free: 4.746 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/19.51, allocations: 59.97 kB / 7.309 GB, free: 4.676 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/19.51, allocations: 279.5 kB / 7.309 GB, free: 4.398 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/19.51, allocations: 37.7 kB / 7.309 GB, free: 4.355 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/19.51, allocations: 208.2 kB / 7.309 GB, free: 4.148 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/19.52, allocations: 193.2 kB / 7.31 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.5e-05/19.52, allocations: 12 kB / 7.31 GB, free: 3.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002093/19.52, allocations: 350.8 kB / 7.31 GB, free: 3.594 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/19.52, allocations: 233 kB / 7.31 GB, free: 3.367 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009675/19.52, allocations: 314.3 kB / 7.31 GB, free: 3.027 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009512/19.52, allocations: 273.5 kB / 7.311 GB, free: 2.766 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.647e-06/19.52, allocations: 0 / 7.311 GB, free: 2.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002725/19.52, allocations: 0.7167 MB / 7.311 GB, free: 2.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/19.52, allocations: 8 kB / 7.311 GB, free: 2.023 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/19.52, allocations: 4 kB / 7.311 GB, free: 2.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/19.52, allocations: 106.8 kB / 7.312 GB, free: 1.906 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000751/19.52, allocations: 123.8 kB / 7.312 GB, free: 1.785 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3218/19.84, allocations: 3.263 MB / 7.315 GB, free: 58.93 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/19.84, allocations: 39.02 kB / 7.315 GB, free: 58.93 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/19.85, allocations: 34.5 kB / 7.315 GB, free: 58.93 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 (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.0002311/19.85, allocations: 142.1 kB / 7.315 GB, free: 58.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004642/19.85, allocations: 44.11 kB / 7.315 GB, free: 58.82 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002499/19.85, allocations: 0.8308 MB / 7.316 GB, free: 58.73 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/19.85, allocations: 9.266 kB / 7.316 GB, free: 58.73 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.855e-06/19.85, allocations: 4.312 kB / 7.316 GB, free: 58.73 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001755/19.85, allocations: 0.76 MB / 7.317 GB, free: 58.37 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003523/19.85, allocations: 1.311 MB / 7.318 GB, free: 58.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.196e-06/19.85, allocations: 1.125 kB / 7.318 GB, free: 58.03 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006671/19.85, allocations: 107.3 kB / 7.318 GB, free: 58.03 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001304/19.86, allocations: 153 kB / 7.318 GB, free: 58.02 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-05/19.86, allocations: 19.91 kB / 7.318 GB, free: 58.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004278/19.86, allocations: 0.6529 MB / 7.319 GB, free: 57.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.668e-06/19.86, allocations: 1.531 kB / 7.319 GB, free: 57.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/19.86, allocations: 0.9268 MB / 7.32 GB, free: 57.22 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/19.86, allocations: 130.5 kB / 7.32 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/19.86, allocations: 11.72 kB / 7.32 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006135/19.86, allocations: 39.34 kB / 7.32 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/19.86, allocations: 40.19 kB / 7.32 GB, free: 57.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001048/19.86, allocations: 35.69 kB / 7.32 GB, free: 57.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003917/19.86, allocations: 247.6 kB / 7.32 GB, free: 57.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.585e-06/19.86, allocations: 0.75 kB / 7.32 GB, free: 57.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008178/19.87, allocations: 1.961 MB / 7.322 GB, free: 57.03 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (53): * Single equations (assignments): 52 * 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.0144/19.88, allocations: 2.929 MB / 7.325 GB, free: 56.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002054/19.89, allocations: 0.7799 MB / 7.326 GB, free: 56.67 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.533e-06/19.89, allocations: 1.375 kB / 7.326 GB, free: 56.67 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008503/19.89, allocations: 298.4 kB / 7.326 GB, free: 56.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/19.89, allocations: 258 kB / 7.326 GB, free: 56.65 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002193/19.89, allocations: 0.8475 MB / 7.327 GB, free: 56.49 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/19.89, allocations: 0.8455 MB / 7.328 GB, free: 55.79 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009303/19.89, allocations: 147.4 kB / 7.328 GB, free: 55.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002239/19.89, allocations: 58 kB / 7.328 GB, free: 55.77 MB / 490.7 MB Notification: Performance of SimCode: time 2.29e-06/19.89, allocations: 0 / 7.328 GB, free: 55.77 MB / 490.7 MB Notification: Performance of Templates: time 0.1083/20, allocations: 62.06 MB / 7.389 GB, free: 53.74 MB / 490.7 MB