Running command: translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 2.007/2.007, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.839e-05/2.859e-05, allocations: 0 / 255.4 MB, free: 2.695 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1104, allocations: 44.5 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.858/1.968, allocations: 0.7132 GB / 1.006 GB, free: 110.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002007/1.968, allocations: 68.45 kB / 1.006 GB, free: 110.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1072/2.076, allocations: 33.65 MB / 1.039 GB, free: 105.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.199e-06/2.076, allocations: 0 / 1.039 GB, free: 105.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/2.076, allocations: 7.75 kB / 1.039 GB, free: 105.1 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004935/2.076, allocations: 414.2 kB / 1.039 GB, free: 104.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/2.076, allocations: 9.594 kB / 1.039 GB, free: 104.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/2.078, allocations: 178.8 kB / 1.04 GB, free: 104.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002454/2.079, allocations: 209.2 kB / 1.04 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/2.079, allocations: 11 kB / 1.04 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/2.079, allocations: 3.219 kB / 1.04 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004428/2.079, allocations: 192.8 kB / 1.04 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/2.079, allocations: 7.938 kB / 1.04 GB, free: 104.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.051e-05/2.079, allocations: 7.625 kB / 1.04 GB, free: 104.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.254e-06/2.079, allocations: 3.953 kB / 1.04 GB, free: 104.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/2.08, allocations: 195.5 kB / 1.04 GB, free: 104.3 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.001537/2.081, allocations: 0.624 MB / 1.041 GB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/2.082, allocations: 145.3 kB / 1.041 GB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/2.082, allocations: 75.2 kB / 1.041 GB, free: 103.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/2.082, allocations: 104.1 kB / 1.041 GB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/2.082, allocations: 34.44 kB / 1.041 GB, free: 103.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.186e-06/2.082, allocations: 0 / 1.041 GB, free: 103.7 MB / 410.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005292/2.087, allocations: 1.204 MB / 1.042 GB, free: 103 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/2.088, allocations: 55.28 kB / 1.042 GB, free: 102.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.368e-05/2.088, allocations: 100.2 kB / 1.042 GB, free: 102.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/2.088, allocations: 33.27 kB / 1.042 GB, free: 102.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/2.088, allocations: 103.8 kB / 1.043 GB, free: 102.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/2.088, allocations: 69.45 kB / 1.043 GB, free: 102.7 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/2.088, allocations: 3.938 kB / 1.043 GB, free: 102.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.692e-05/2.088, allocations: 321.7 kB / 1.043 GB, free: 102.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/2.088, allocations: 73.2 kB / 1.043 GB, free: 102.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/2.088, allocations: 106 kB / 1.043 GB, free: 102.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001928/2.088, allocations: 86.97 kB / 1.043 GB, free: 102.3 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.232e-06/2.088, allocations: 0 / 1.043 GB, free: 102.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005699/2.089, allocations: 242.7 kB / 1.043 GB, free: 102.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/2.089, allocations: 9.656 kB / 1.043 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.611e-06/2.089, allocations: 8.031 kB / 1.043 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001554/2.089, allocations: 19.97 kB / 1.043 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/2.09, allocations: 55.52 kB / 1.044 GB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003007/2.09, allocations: 0.5412 MB / 1.044 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002427/2.09, allocations: 11.05 kB / 1.044 GB, free: 101.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/2.09, allocations: 7.781 kB / 1.044 GB, free: 101.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 9.992e-05/2.09, allocations: 112.5 kB / 1.044 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.955e-05/2.091, allocations: 11.66 kB / 1.044 GB, free: 101.6 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/2.091, allocations: 266.2 kB / 1.044 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.278e-06/2.091, allocations: 7.812 kB / 1.044 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.711e-06/2.091, allocations: 3.953 kB / 1.044 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.828e-06/2.091, allocations: 3.984 kB / 1.044 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/2.092, allocations: 0.6404 MB / 1.045 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.455e-06/2.092, allocations: 0 / 1.045 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004259/2.093, allocations: 50.2 kB / 1.045 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001038/2.093, allocations: 19.97 kB / 1.045 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/2.093, allocations: 3.75 kB / 1.045 GB, free: 101 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007816/2.094, allocations: 1.268 MB / 1.046 GB, free: 99.69 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.08e-06/2.094, allocations: 0 / 1.046 GB, free: 99.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007911/2.095, allocations: 454 kB / 1.047 GB, free: 99.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.045e-05/2.095, allocations: 92.89 kB / 1.047 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.598e-05/2.095, allocations: 11.08 kB / 1.047 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/2.095, allocations: 7.812 kB / 1.047 GB, free: 99.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/2.095, allocations: 15.84 kB / 1.047 GB, free: 99.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/2.095, allocations: 7.875 kB / 1.047 GB, free: 99.31 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.935e-05/2.095, allocations: 90.86 kB / 1.047 GB, free: 99.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.84e-07/2.095, allocations: 0 / 1.047 GB, free: 99.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008476/2.096, allocations: 161.7 kB / 1.047 GB, free: 99.21 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (19): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/2.098, allocations: 0.6376 MB / 1.048 GB, free: 98.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005931/2.098, allocations: 197.3 kB / 1.048 GB, free: 98.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/2.098, allocations: 4 kB / 1.048 GB, free: 98.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003234/2.098, allocations: 204.9 kB / 1.048 GB, free: 98.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/2.099, allocations: 42.34 kB / 1.048 GB, free: 98.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/2.1, allocations: 316.3 kB / 1.049 GB, free: 98.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/2.1, allocations: 0.7169 MB / 1.049 GB, free: 97.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000532/2.1, allocations: 46.33 kB / 1.049 GB, free: 97.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/2.1, allocations: 20.62 kB / 1.049 GB, free: 97.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.54e-06/2.1, allocations: 3.438 kB / 1.049 GB, free: 97.68 MB / 410.7 MB Notification: Performance of Templates: time 0.02274/2.123, allocations: 12.89 MB / 1.062 GB, free: 89.22 MB / 410.7 MB