Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir") Notification: Performance of loadModel(Modelica): time 1.671/1.671, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.699e-05/4.752e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3517, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.82/16.17, allocations: 6.605 GB / 6.863 GB, free: 2.004 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/16.17, allocations: 71.97 kB / 6.863 GB, free: 1.934 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.106/17.28, allocations: 190.2 MB / 7.048 GB, free: 68.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.235e-06/17.28, allocations: 0.75 kB / 7.048 GB, free: 68.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/17.28, allocations: 0 / 7.048 GB, free: 68.02 MB / 378.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.006512/17.29, allocations: 1.449 MB / 7.05 GB, free: 67.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/17.29, allocations: 10.59 kB / 7.05 GB, free: 67.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002042/17.29, allocations: 21.8 kB / 7.05 GB, free: 67.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000257/17.29, allocations: 215.4 kB / 7.05 GB, free: 67.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/17.29, allocations: 15.08 kB / 7.05 GB, free: 67.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.749e-05/17.29, allocations: 24.09 kB / 7.05 GB, free: 67.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000721/17.29, allocations: 248 kB / 7.05 GB, free: 67.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/17.29, allocations: 0 / 7.05 GB, free: 67.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/17.29, allocations: 6.062 kB / 7.05 GB, free: 67.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/17.29, allocations: 5.031 kB / 7.05 GB, free: 67.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006788/17.29, allocations: 245.3 kB / 7.051 GB, free: 67.02 MB / 378.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.001611/17.29, allocations: 0.6864 MB / 7.051 GB, free: 66.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008319/17.29, allocations: 300.2 kB / 7.052 GB, free: 66.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002643/17.29, allocations: 120.7 kB / 7.052 GB, free: 66.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01319/17.31, allocations: 10.07 MB / 7.062 GB, free: 56.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/17.31, allocations: 45.62 kB / 7.062 GB, free: 56.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.7e-06/17.31, allocations: 1.219 kB / 7.062 GB, free: 56.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.002468/17.31, allocations: 0.5052 MB / 7.062 GB, free: 56.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/17.31, allocations: 81.2 kB / 7.062 GB, free: 56.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/17.31, allocations: 122.7 kB / 7.062 GB, free: 56.06 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.998e-05/17.31, allocations: 29.58 kB / 7.062 GB, free: 56.03 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.861e-05/17.31, allocations: 106.2 kB / 7.062 GB, free: 55.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001077/17.31, allocations: 126.5 kB / 7.063 GB, free: 55.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/17.31, allocations: 10.06 kB / 7.063 GB, free: 55.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.199e-05/17.31, allocations: 321.9 kB / 7.063 GB, free: 55.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002592/17.31, allocations: 114.3 kB / 7.063 GB, free: 55.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/17.31, allocations: 178 kB / 7.063 GB, free: 55.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000377/17.31, allocations: 131 kB / 7.063 GB, free: 55.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/17.31, allocations: 0 / 7.063 GB, free: 55.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001118/17.31, allocations: 360.7 kB / 7.064 GB, free: 55.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/17.31, allocations: 12.78 kB / 7.064 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/17.31, allocations: 3.656 kB / 7.064 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/17.31, allocations: 6 kB / 7.064 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006498/17.31, allocations: 88.78 kB / 7.064 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/17.31, allocations: 11.05 kB / 7.064 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/17.31, allocations: 34.89 kB / 7.064 GB, free: 55.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/17.31, allocations: 17.7 kB / 7.064 GB, free: 55.43 MB / 378.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.0001293/17.31, allocations: 125.5 kB / 7.064 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/17.31, allocations: 19.12 kB / 7.064 GB, free: 55.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006602/17.31, allocations: 184.7 kB / 7.064 GB, free: 55.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.153e-06/17.31, allocations: 3.062 kB / 7.064 GB, free: 55.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.866e-06/17.31, allocations: 2.062 kB / 7.064 GB, free: 55.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/17.31, allocations: 7.891 kB / 7.064 GB, free: 55.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/17.32, allocations: 0.9107 MB / 7.065 GB, free: 54.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.057e-06/17.32, allocations: 2.406 kB / 7.065 GB, free: 54.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/17.32, allocations: 84.67 kB / 7.065 GB, free: 54.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/17.32, allocations: 3.469 kB / 7.065 GB, free: 54.83 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/17.32, allocations: 11 kB / 7.065 GB, free: 54.83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.152e-06/17.32, allocations: 11.19 kB / 7.065 GB, free: 54.83 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.149e-06/17.32, allocations: 9.844 kB / 7.065 GB, free: 54.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00145/17.32, allocations: 0.7239 MB / 7.066 GB, free: 54.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/17.32, allocations: 123.5 kB / 7.066 GB, free: 54.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/17.32, allocations: 7 kB / 7.066 GB, free: 54.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005465/17.32, allocations: 26.78 kB / 7.066 GB, free: 54.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/17.32, allocations: 28.81 kB / 7.066 GB, free: 54.35 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-05/17.32, allocations: 24.58 kB / 7.066 GB, free: 54.35 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.12e-05/17.32, allocations: 91.97 kB / 7.066 GB, free: 54.27 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.57e-07/17.32, allocations: 0 / 7.066 GB, free: 54.27 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004671/17.32, allocations: 1.086 MB / 7.067 GB, free: 54.12 MB / 378.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 (39): * Single equations (assignments): 39 * 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.00871/17.33, allocations: 1.607 MB / 7.069 GB, free: 53.81 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009062/17.33, allocations: 289.7 kB / 7.069 GB, free: 53.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.91e-06/17.33, allocations: 3.969 kB / 7.069 GB, free: 53.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/17.33, allocations: 156.4 kB / 7.069 GB, free: 53.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008542/17.33, allocations: 93.14 kB / 7.069 GB, free: 53.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/17.34, allocations: 474.8 kB / 7.07 GB, free: 53.62 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/17.34, allocations: 0.7469 MB / 7.07 GB, free: 52.92 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005913/17.34, allocations: 85.7 kB / 7.071 GB, free: 52.91 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001877/17.34, allocations: 36.36 kB / 7.071 GB, free: 52.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.821e-06/17.34, allocations: 2.594 kB / 7.071 GB, free: 52.91 MB / 378.7 MB Notification: Performance of Templates: time 0.05963/17.4, allocations: 34.03 MB / 7.104 GB, free: 51.14 MB / 378.7 MB