Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.808e-05, allocations: 4 kB / 255.4 MB, free: 2.707 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1141, allocations: 44.5 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.578/8.692, allocations: 3.699 GB / 3.992 GB, free: 142.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000185/8.692, allocations: 70.97 kB / 3.992 GB, free: 142.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1539/8.846, allocations: 48.61 MB / 4.039 GB, free: 93.81 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.41e-06/8.846, allocations: 0 / 4.039 GB, free: 93.81 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/8.846, allocations: 4 kB / 4.039 GB, free: 93.81 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001682/8.848, allocations: 0.619 MB / 4.04 GB, free: 93.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/8.848, allocations: 8.031 kB / 4.04 GB, free: 93.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001646/8.848, allocations: 19.89 kB / 4.04 GB, free: 93.11 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/8.848, allocations: 214.8 kB / 4.04 GB, free: 92.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/8.848, allocations: 12.33 kB / 4.04 GB, free: 92.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.388e-05/8.848, allocations: 12 kB / 4.04 GB, free: 92.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004834/8.849, allocations: 249.2 kB / 4.041 GB, free: 92.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/8.849, allocations: 0 / 4.041 GB, free: 92.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.176e-05/8.849, allocations: 12 kB / 4.041 GB, free: 92.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.642e-05/8.849, allocations: 7.984 kB / 4.041 GB, free: 92.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005005/8.85, allocations: 223.9 kB / 4.041 GB, free: 92.35 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/8.851, allocations: 0.6909 MB / 4.041 GB, free: 91.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00059/8.852, allocations: 193.3 kB / 4.042 GB, free: 91.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/8.852, allocations: 129.6 kB / 4.042 GB, free: 91.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/8.852, allocations: 356.4 kB / 4.042 GB, free: 90.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/8.852, allocations: 38.56 kB / 4.042 GB, free: 90.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.942e-06/8.852, allocations: 0 / 4.042 GB, free: 90.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001808/8.854, allocations: 0.4957 MB / 4.043 GB, free: 90.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.048e-05/8.854, allocations: 81.3 kB / 4.043 GB, free: 90.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.762e-05/8.854, allocations: 117 kB / 4.043 GB, free: 90.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/8.854, allocations: 33.7 kB / 4.043 GB, free: 90.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.275e-05/8.854, allocations: 108.6 kB / 4.043 GB, free: 89.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.561e-05/8.855, allocations: 122.1 kB / 4.043 GB, free: 89.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/8.855, allocations: 12 kB / 4.043 GB, free: 89.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.869e-05/8.855, allocations: 326.8 kB / 4.043 GB, free: 89.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/8.855, allocations: 115.9 kB / 4.043 GB, free: 89.33 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/8.855, allocations: 179.9 kB / 4.044 GB, free: 89.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00029/8.856, allocations: 129.9 kB / 4.044 GB, free: 89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.823e-06/8.856, allocations: 0 / 4.044 GB, free: 89 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007625/8.856, allocations: 351.5 kB / 4.044 GB, free: 88.65 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/8.856, allocations: 14.02 kB / 4.044 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.879e-06/8.856, allocations: 0 / 4.044 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/8.856, allocations: 4 kB / 4.044 GB, free: 88.64 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006438/8.857, allocations: 88.09 kB / 4.044 GB, free: 88.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.305e-05/8.857, allocations: 7.984 kB / 4.044 GB, free: 88.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003985/8.858, allocations: 35.77 kB / 4.044 GB, free: 88.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/8.858, allocations: 19.98 kB / 4.044 GB, free: 88.49 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001229/8.858, allocations: 124.9 kB / 4.044 GB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/8.858, allocations: 19.81 kB / 4.044 GB, free: 88.34 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/8.858, allocations: 178.2 kB / 4.045 GB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.345e-06/8.858, allocations: 4 kB / 4.045 GB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.914e-06/8.858, allocations: 0 / 4.045 GB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.703e-06/8.858, allocations: 0 / 4.045 GB, free: 88.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/8.86, allocations: 0.7018 MB / 4.045 GB, free: 87.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/8.86, allocations: 0 / 4.045 GB, free: 87.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/8.86, allocations: 87.86 kB / 4.045 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/8.86, allocations: 11.89 kB / 4.045 GB, free: 87.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.952e-05/8.861, allocations: 11.98 kB / 4.045 GB, free: 87.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.846e-06/8.861, allocations: 4 kB / 4.045 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.911e-06/8.861, allocations: 0 / 4.045 GB, free: 87.27 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/8.862, allocations: 0.7064 MB / 4.046 GB, free: 86.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/8.862, allocations: 124.8 kB / 4.046 GB, free: 86.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/8.862, allocations: 8.375 kB / 4.046 GB, free: 86.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/8.862, allocations: 19.98 kB / 4.046 GB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/8.862, allocations: 32.02 kB / 4.046 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/8.862, allocations: 12 kB / 4.046 GB, free: 86.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.908e-05/8.862, allocations: 99.2 kB / 4.046 GB, free: 86.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.52e-07/8.862, allocations: 0 / 4.046 GB, free: 86.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009042/8.863, allocations: 183.9 kB / 4.047 GB, free: 86.01 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001009/8.864, allocations: 0.6441 MB / 4.047 GB, free: 85.36 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006538/8.865, allocations: 279.9 kB / 4.047 GB, free: 85.08 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.033e-06/8.865, allocations: 3.938 kB / 4.047 GB, free: 85.08 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002905/8.865, allocations: 151.8 kB / 4.048 GB, free: 84.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/8.866, allocations: 100.5 kB / 4.048 GB, free: 84.83 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/8.867, allocations: 483.4 kB / 4.048 GB, free: 84.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/8.868, allocations: 0.7374 MB / 4.049 GB, free: 83.56 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005418/8.868, allocations: 78 kB / 4.049 GB, free: 83.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/8.868, allocations: 35.42 kB / 4.049 GB, free: 83.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.588e-06/8.868, allocations: 0 / 4.049 GB, free: 83.45 MB / 410.7 MB Notification: Performance of Templates: time 0.02365/8.892, allocations: 13.82 MB / 4.062 GB, free: 69.64 MB / 410.7 MB