Running command: translateModel(Modelica.Media.Examples.MoistAir,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.MoistAir") Notification: Performance of loadModel(Modelica): time 1.676/1.676, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.004e-05/3.012e-05, allocations: 4 kB / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2102, allocations: 38.77 MB / 263.8 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.511/8.721, allocations: 3.693 GB / 3.951 GB, free: 14.49 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001709/8.721, allocations: 63.97 kB / 3.951 GB, free: 14.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3487/9.07, allocations: 48.32 MB / 3.998 GB, free: 116.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.375e-06/9.07, allocations: 0 / 3.998 GB, free: 116.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.476e-05/9.07, allocations: 4 kB / 3.998 GB, free: 116.8 MB / 362.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.001722/9.072, allocations: 0.6329 MB / 3.999 GB, free: 116.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/9.072, allocations: 12.02 kB / 3.999 GB, free: 116.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/9.072, allocations: 19.81 kB / 3.999 GB, free: 116.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/9.072, allocations: 206.9 kB / 3.999 GB, free: 115.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/9.072, allocations: 12.33 kB / 3.999 GB, free: 115.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/9.072, allocations: 16 kB / 3.999 GB, free: 115.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004903/9.073, allocations: 241.2 kB / 3.999 GB, free: 115.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/9.073, allocations: 3.906 kB / 3.999 GB, free: 115.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.118e-05/9.073, allocations: 11.94 kB / 3.999 GB, free: 115.6 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/9.073, allocations: 8 kB / 3.999 GB, free: 115.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000474/9.073, allocations: 219.9 kB / 4 GB, free: 115.4 MB / 362.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.001548/9.075, allocations: 0.6935 MB / 4 GB, free: 114.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006314/9.076, allocations: 201.2 kB / 4 GB, free: 114.4 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/9.076, allocations: 113.7 kB / 4.001 GB, free: 114.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003714/9.076, allocations: 364.3 kB / 4.001 GB, free: 113.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/9.077, allocations: 34.56 kB / 4.001 GB, free: 113.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 3.36e-06/9.077, allocations: 4 kB / 4.001 GB, free: 113.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001834/9.078, allocations: 0.5025 MB / 4.001 GB, free: 113.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/9.078, allocations: 81.3 kB / 4.001 GB, free: 113.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.632e-05/9.079, allocations: 117 kB / 4.002 GB, free: 113.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.866e-05/9.079, allocations: 33.7 kB / 4.002 GB, free: 113.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/9.079, allocations: 112.5 kB / 4.002 GB, free: 112.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.776e-05/9.079, allocations: 126.2 kB / 4.002 GB, free: 112.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/9.079, allocations: 4 kB / 4.002 GB, free: 112.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/9.079, allocations: 334.8 kB / 4.002 GB, free: 112.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/9.079, allocations: 108 kB / 4.002 GB, free: 112.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/9.079, allocations: 175.8 kB / 4.002 GB, free: 112.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002882/9.08, allocations: 132.8 kB / 4.003 GB, free: 112 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.108e-06/9.08, allocations: 4 kB / 4.003 GB, free: 112 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007607/9.081, allocations: 349.4 kB / 4.003 GB, free: 111.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/9.081, allocations: 4 kB / 4.003 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.593e-06/9.081, allocations: 4 kB / 4.003 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/9.081, allocations: 4 kB / 4.003 GB, free: 111.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/9.081, allocations: 91.81 kB / 4.003 GB, free: 111.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/9.081, allocations: 7.938 kB / 4.003 GB, free: 111.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004074/9.082, allocations: 24.2 kB / 4.003 GB, free: 111.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/9.082, allocations: 19.98 kB / 4.003 GB, free: 111.5 MB / 362.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.0001197/9.082, allocations: 125.5 kB / 4.003 GB, free: 111.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/9.082, allocations: 15.81 kB / 4.003 GB, free: 111.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004621/9.082, allocations: 174.2 kB / 4.003 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.167e-06/9.082, allocations: 4 kB / 4.003 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/9.082, allocations: 4 kB / 4.003 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/9.083, allocations: 4 kB / 4.003 GB, free: 111.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001429/9.084, allocations: 0.6977 MB / 4.004 GB, free: 110.5 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.735e-06/9.084, allocations: 8.156 kB / 4.004 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005493/9.085, allocations: 87.81 kB / 4.004 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.101e-05/9.085, allocations: 7.953 kB / 4.004 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/9.085, allocations: 11.98 kB / 4.004 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.757e-06/9.085, allocations: 4 kB / 4.004 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.972e-06/9.085, allocations: 0 / 4.004 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/9.086, allocations: 0.7133 MB / 4.005 GB, free: 109.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/9.086, allocations: 125.2 kB / 4.005 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-05/9.086, allocations: 8 kB / 4.005 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004612/9.086, allocations: 27.97 kB / 4.005 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/9.086, allocations: 23.88 kB / 4.005 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/9.086, allocations: 24 kB / 4.005 GB, free: 109.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.098e-05/9.087, allocations: 91.27 kB / 4.005 GB, free: 109.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.28e-07/9.087, allocations: 0 / 4.005 GB, free: 109.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008973/9.087, allocations: 183.9 kB / 4.005 GB, free: 109.1 MB / 362.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.001071/9.089, allocations: 0.6445 MB / 4.006 GB, free: 108.5 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006628/9.089, allocations: 280.1 kB / 4.006 GB, free: 108.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.624e-06/9.089, allocations: 4 kB / 4.006 GB, free: 108.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/9.09, allocations: 151.8 kB / 4.006 GB, free: 108.1 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/9.09, allocations: 100.2 kB / 4.006 GB, free: 108 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/9.092, allocations: 499.8 kB / 4.007 GB, free: 107.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/9.092, allocations: 0.7374 MB / 4.008 GB, free: 106.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005803/9.093, allocations: 74.03 kB / 4.008 GB, free: 106.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001996/9.093, allocations: 31.42 kB / 4.008 GB, free: 106.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.017e-05/9.093, allocations: 0 / 4.008 GB, free: 106.6 MB / 362.7 MB Notification: Performance of Templates: time 0.02409/9.117, allocations: 13.82 MB / 4.021 GB, free: 92.79 MB / 362.7 MB