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.782/1.782, allocations: 194.9 MB / 210.6 MB, free: 8.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.05e-05/3.048e-05, allocations: 8 kB / 258.8 MB, free: 7.867 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2854, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1921/0.4776, allocations: 121.7 MB / 425 MB, free: 3.539 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.4821, allocations: 2.389 MB / 427.4 MB, free: 1.145 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.599e-05/0.4822, allocations: 3.938 kB / 427.4 MB, free: 1.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002572/0.4824, allocations: 51.77 kB / 427.5 MB, free: 1.09 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001984/0.4844, allocations: 0.6035 MB / 428.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006053/0.4851, allocations: 163.5 kB / 428.2 MB, free: 332 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.4854, allocations: 155.7 kB / 428.4 MB, free: 176 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.4855, allocations: 7.984 kB / 428.4 MB, free: 168 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003586/0.4858, allocations: 143.6 kB / 428.5 MB, free: 24 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2862/0.7721, allocations: 77.47 kB / 428.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004062/0.7762, allocations: 1.047 MB / 429.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003423/0.7766, allocations: 34.61 kB / 429.7 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.7767, allocations: 69.47 kB / 429.8 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.7769, allocations: 26.56 kB / 429.8 MB, free: 1.812 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001532/0.7784, allocations: 0.5814 MB / 430.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.7784, allocations: 0.875 kB / 430.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7785, allocations: 0 / 430.4 MB, free: 1.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.7785, allocations: 0.5938 kB / 430.4 MB, free: 1.785 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00107/0.7796, allocations: 0.5053 MB / 430.9 MB, free: 17.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.7796, allocations: 8.406 kB / 430.9 MB, free: 17.35 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.7817, allocations: 205.2 kB / 431.1 MB, free: 17.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.7821, allocations: 236.3 kB / 431.3 MB, free: 17.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.7821, allocations: 12.31 kB / 431.3 MB, free: 17.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.7822, allocations: 21.09 kB / 431.3 MB, free: 17.13 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008111/0.7831, allocations: 376.1 kB / 431.7 MB, free: 17.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.7831, allocations: 0 / 431.7 MB, free: 17.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/0.7832, allocations: 6.75 kB / 431.7 MB, free: 17.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.7832, allocations: 4.344 kB / 431.7 MB, free: 17.08 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007734/0.784, allocations: 414.6 kB / 432.1 MB, free: 17.07 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002306/0.7863, allocations: 0.807 MB / 432.9 MB, free: 16.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004844/0.7868, allocations: 218.5 kB / 433.1 MB, free: 16.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002043/0.7888, allocations: 0.6836 MB / 433.8 MB, free: 16.08 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.7889, allocations: 40.48 kB / 433.9 MB, free: 16.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 3.387e-06/0.7889, allocations: 1.078 kB / 433.9 MB, free: 16.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.00178/0.7907, allocations: 367.1 kB / 434.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.101e-05/0.7908, allocations: 80.3 kB / 434.3 MB, free: 15.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.51e-05/0.7909, allocations: 106.3 kB / 434.4 MB, free: 15.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.956e-05/0.791, allocations: 33.58 kB / 434.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.406e-05/0.791, allocations: 113.8 kB / 434.5 MB, free: 15.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/0.7911, allocations: 109.5 kB / 434.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.7912, allocations: 3.938 kB / 434.7 MB, free: 15.61 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.7913, allocations: 328.5 kB / 435 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.7916, allocations: 93.08 kB / 435.1 MB, free: 15.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003092/0.7919, allocations: 183.8 kB / 435.3 MB, free: 15.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.7922, allocations: 122.8 kB / 435.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7922, allocations: 0 / 435.4 MB, free: 15.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008706/0.7931, allocations: 342.9 kB / 435.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.7932, allocations: 11 kB / 435.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.7932, allocations: 0 / 435.7 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.7932, allocations: 10.45 kB / 435.7 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.7938, allocations: 71.62 kB / 435.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.7938, allocations: 6.281 kB / 435.8 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.7943, allocations: 26.41 kB / 435.8 MB, free: 15.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.7943, allocations: 20.25 kB / 435.8 MB, free: 15.12 MB / 378.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.0001908/0.7945, allocations: 142.3 kB / 436 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/0.7947, allocations: 24.38 kB / 436 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009597/0.7956, allocations: 324.6 kB / 436.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.7957, allocations: 5.031 kB / 436.3 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.7957, allocations: 3.953 kB / 436.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.7957, allocations: 3.094 kB / 436.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008246/0.7965, allocations: 332.5 kB / 436.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.7966, allocations: 3.125 kB / 436.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005994/0.7972, allocations: 51.56 kB / 436.7 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.7972, allocations: 5.812 kB / 436.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.857e-05/0.7972, allocations: 12.47 kB / 436.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7972, allocations: 3.094 kB / 436.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7973, allocations: 7.266 kB / 436.7 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.7983, allocations: 0.5023 MB / 437.2 MB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.2e-05/0.7984, allocations: 100.1 kB / 437.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.7984, allocations: 6.25 kB / 437.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.799, allocations: 18.61 kB / 437.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.799, allocations: 19.19 kB / 437.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.674e-05/0.7991, allocations: 17.06 kB / 437.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.088e-05/0.7992, allocations: 89.72 kB / 437.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.7992, allocations: 0 / 437.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001123/0.8003, allocations: 225.6 kB / 437.7 MB, free: 14.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (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.001307/0.8017, allocations: 367.8 kB / 438.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000714/0.8024, allocations: 263.5 kB / 438.3 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.8024, allocations: 4.125 kB / 438.3 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.8027, allocations: 124.5 kB / 438.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008142/0.8035, allocations: 75.61 kB / 438.5 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001521/0.8051, allocations: 0.8733 MB / 439.4 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.8054, allocations: 0.7418 MB / 440.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006496/0.8061, allocations: 76.39 kB / 440.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001497/0.8063, allocations: 29.75 kB / 440.2 MB, free: 12.81 MB / 378.7 MB Notification: Performance of SimCode: time 8.92e-07/0.8063, allocations: 0 / 440.2 MB, free: 12.81 MB / 378.7 MB Notification: Performance of Templates: time 0.01922/0.8255, allocations: 7.714 MB / 448 MB, free: 12.23 MB / 378.7 MB