Running command: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.477e-05/3.497e-05, allocations: 4 kB / 255.4 MB, free: 2.711 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08012/0.08018, allocations: 44.49 MB / 299.9 MB, free: 6.156 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.861/1.942, allocations: 0.725 GB / 1.018 GB, free: 108 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/1.942, allocations: 73.86 kB / 1.018 GB, free: 108 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1347/2.077, allocations: 39.9 MB / 1.057 GB, free: 94.79 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/2.077, allocations: 0 / 1.057 GB, free: 94.79 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/2.077, allocations: 4 kB / 1.057 GB, free: 94.79 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008782/2.078, allocations: 0.4981 MB / 1.057 GB, free: 94.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/2.078, allocations: 8.031 kB / 1.057 GB, free: 94.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003679/2.081, allocations: 368.6 kB / 1.058 GB, free: 93.92 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004552/2.082, allocations: 258 kB / 1.058 GB, free: 93.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.308e-05/2.082, allocations: 11.94 kB / 1.058 GB, free: 93.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/2.082, allocations: 19.12 kB / 1.058 GB, free: 93.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/2.083, allocations: 465.1 kB / 1.058 GB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/2.083, allocations: 4 kB / 1.058 GB, free: 93.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/2.083, allocations: 11.31 kB / 1.058 GB, free: 93.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.095e-06/2.083, allocations: 7.938 kB / 1.058 GB, free: 93.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001036/2.084, allocations: 490.1 kB / 1.059 GB, free: 92.99 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.002572/2.087, allocations: 0.9966 MB / 1.06 GB, free: 92.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/2.087, allocations: 257.7 kB / 1.06 GB, free: 91.93 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002612/2.088, allocations: 144.3 kB / 1.06 GB, free: 91.83 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/2.089, allocations: 0.6567 MB / 1.061 GB, free: 91.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/2.089, allocations: 38.44 kB / 1.061 GB, free: 91.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 4.627e-06/2.089, allocations: 4 kB / 1.061 GB, free: 91.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.000832/2.09, allocations: 269.4 kB / 1.061 GB, free: 90.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/2.09, allocations: 81.11 kB / 1.061 GB, free: 90.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/2.09, allocations: 116 kB / 1.061 GB, free: 90.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/2.09, allocations: 29.08 kB / 1.061 GB, free: 90.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/2.09, allocations: 116.4 kB / 1.062 GB, free: 90.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.43e-05/2.09, allocations: 104.4 kB / 1.062 GB, free: 90.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/2.09, allocations: 3.562 kB / 1.062 GB, free: 90.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.301e-05/2.09, allocations: 329.8 kB / 1.062 GB, free: 90.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000227/2.091, allocations: 104.8 kB / 1.062 GB, free: 90 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002576/2.091, allocations: 185.6 kB / 1.062 GB, free: 89.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/2.091, allocations: 139.6 kB / 1.062 GB, free: 89.74 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.456e-06/2.091, allocations: 0 / 1.062 GB, free: 89.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007884/2.092, allocations: 341.7 kB / 1.063 GB, free: 89.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/2.092, allocations: 9.969 kB / 1.063 GB, free: 89.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/2.092, allocations: 4 kB / 1.063 GB, free: 89.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/2.092, allocations: 7.984 kB / 1.063 GB, free: 89.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/2.093, allocations: 71.47 kB / 1.063 GB, free: 89.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.457e-05/2.093, allocations: 15.92 kB / 1.063 GB, free: 89.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003433/2.093, allocations: 31.88 kB / 1.063 GB, free: 89.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/2.093, allocations: 27.25 kB / 1.063 GB, free: 89.33 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001363/2.093, allocations: 122.7 kB / 1.063 GB, free: 89.22 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001522/2.093, allocations: 11.91 kB / 1.063 GB, free: 89.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008999/2.094, allocations: 368 kB / 1.063 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.5e-06/2.094, allocations: 4 kB / 1.063 GB, free: 88.93 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.094, allocations: 4 kB / 1.063 GB, free: 88.92 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.621e-06/2.094, allocations: 7.984 kB / 1.063 GB, free: 88.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007655/2.095, allocations: 354.6 kB / 1.064 GB, free: 88.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.231e-06/2.095, allocations: 0 / 1.064 GB, free: 88.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004744/2.096, allocations: 63.7 kB / 1.064 GB, free: 88.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.591e-06/2.096, allocations: 4 kB / 1.064 GB, free: 88.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/2.096, allocations: 11.48 kB / 1.064 GB, free: 88.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.622e-06/2.096, allocations: 0 / 1.064 GB, free: 88.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.379e-06/2.096, allocations: 4 kB / 1.064 GB, free: 88.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/2.097, allocations: 0.5351 MB / 1.064 GB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.949e-05/2.097, allocations: 96.86 kB / 1.064 GB, free: 87.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.323e-05/2.097, allocations: 3.812 kB / 1.064 GB, free: 87.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/2.097, allocations: 23.67 kB / 1.064 GB, free: 87.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/2.097, allocations: 27.91 kB / 1.064 GB, free: 87.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.409e-05/2.098, allocations: 23.19 kB / 1.065 GB, free: 87.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.305e-05/2.098, allocations: 82.97 kB / 1.065 GB, free: 87.79 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.25e-07/2.098, allocations: 0 / 1.065 GB, free: 87.79 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001236/2.099, allocations: 263.1 kB / 1.065 GB, free: 87.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.001776/2.101, allocations: 0.7689 MB / 1.066 GB, free: 86.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000665/2.101, allocations: 266.5 kB / 1.066 GB, free: 86.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.85e-06/2.101, allocations: 4 kB / 1.066 GB, free: 86.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/2.102, allocations: 134.7 kB / 1.066 GB, free: 86.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/2.102, allocations: 83.47 kB / 1.066 GB, free: 86.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/2.104, allocations: 0.6138 MB / 1.067 GB, free: 85.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002021/2.104, allocations: 0.7404 MB / 1.067 GB, free: 85.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000773/2.105, allocations: 86.17 kB / 1.067 GB, free: 85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/2.105, allocations: 34.67 kB / 1.067 GB, free: 84.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.749e-06/2.105, allocations: 0 / 1.067 GB, free: 84.97 MB / 410.7 MB Notification: Performance of Templates: time 0.02743/2.132, allocations: 15.76 MB / 1.083 GB, free: 69.24 MB / 410.7 MB