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.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.16e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08548/0.08554, allocations: 47.57 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.979/2.064, allocations: 0.7179 GB / 1.027 GB, free: 121.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/2.065, allocations: 75.98 kB / 1.027 GB, free: 121.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1005/2.165, allocations: 33.69 MB / 1.06 GB, free: 93.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.464e-06/2.165, allocations: 4 kB / 1.06 GB, free: 93.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/2.165, allocations: 4 kB / 1.06 GB, free: 93.34 MB / 426.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.0004617/2.166, allocations: 409.9 kB / 1.061 GB, free: 92.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/2.166, allocations: 8.031 kB / 1.061 GB, free: 92.89 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002052/2.168, allocations: 185 kB / 1.061 GB, free: 92.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/2.168, allocations: 210 kB / 1.061 GB, free: 92.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/2.168, allocations: 7.688 kB / 1.061 GB, free: 92.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/2.168, allocations: 19.03 kB / 1.061 GB, free: 92.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004402/2.169, allocations: 192.7 kB / 1.061 GB, free: 92.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/2.169, allocations: 0 / 1.061 GB, free: 92.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.934e-05/2.169, allocations: 3.75 kB / 1.061 GB, free: 92.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.092e-06/2.169, allocations: 4 kB / 1.061 GB, free: 92.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004837/2.169, allocations: 191.9 kB / 1.062 GB, free: 92.21 MB / 426.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.001538/2.171, allocations: 0.6212 MB / 1.062 GB, free: 91.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/2.171, allocations: 147.8 kB / 1.062 GB, free: 91.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001622/2.171, allocations: 78.05 kB / 1.062 GB, free: 91.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002046/2.172, allocations: 89.09 kB / 1.062 GB, free: 91.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/2.172, allocations: 42.38 kB / 1.062 GB, free: 91.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.029e-06/2.172, allocations: 0 / 1.062 GB, free: 91.34 MB / 426.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.00508/2.177, allocations: 1.206 MB / 1.064 GB, free: 90.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/2.177, allocations: 63.39 kB / 1.064 GB, free: 90.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/2.177, allocations: 96.69 kB / 1.064 GB, free: 90.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/2.177, allocations: 32.77 kB / 1.064 GB, free: 90.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.157e-05/2.177, allocations: 99.75 kB / 1.064 GB, free: 89.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.357e-05/2.177, allocations: 66.25 kB / 1.064 GB, free: 89.87 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.349e-05/2.177, allocations: 7.312 kB / 1.064 GB, free: 89.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.416e-05/2.177, allocations: 318.2 kB / 1.064 GB, free: 89.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/2.177, allocations: 79.94 kB / 1.064 GB, free: 89.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000183/2.177, allocations: 108 kB / 1.064 GB, free: 89.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/2.178, allocations: 87.77 kB / 1.065 GB, free: 89.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.282e-06/2.178, allocations: 3.953 kB / 1.065 GB, free: 89.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005668/2.178, allocations: 238.7 kB / 1.065 GB, free: 89.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/2.178, allocations: 16.03 kB / 1.065 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/2.178, allocations: 0 / 1.065 GB, free: 89.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/2.178, allocations: 24.78 kB / 1.065 GB, free: 89.14 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004427/2.179, allocations: 51.91 kB / 1.065 GB, free: 89.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002973/2.179, allocations: 0.5318 MB / 1.065 GB, free: 88.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/2.18, allocations: 11.75 kB / 1.065 GB, free: 88.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/2.18, allocations: 15.94 kB / 1.065 GB, free: 88.52 MB / 426.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.893e-05/2.18, allocations: 119.7 kB / 1.066 GB, free: 88.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.512e-05/2.18, allocations: 7.906 kB / 1.066 GB, free: 88.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007006/2.18, allocations: 280.9 kB / 1.066 GB, free: 88.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.84e-06/2.181, allocations: 4 kB / 1.066 GB, free: 88.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.516e-06/2.181, allocations: 0 / 1.066 GB, free: 88.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/2.181, allocations: 0 / 1.066 GB, free: 88.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/2.182, allocations: 0.641 MB / 1.066 GB, free: 87.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.246e-06/2.182, allocations: 8 kB / 1.066 GB, free: 87.57 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/2.182, allocations: 51.84 kB / 1.066 GB, free: 87.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.7e-05/2.182, allocations: 24.41 kB / 1.067 GB, free: 87.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.376e-05/2.182, allocations: 11.47 kB / 1.067 GB, free: 87.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008777/2.183, allocations: 1.255 MB / 1.068 GB, free: 86.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.641e-06/2.183, allocations: 4.156 kB / 1.068 GB, free: 86.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/2.185, allocations: 447.7 kB / 1.068 GB, free: 85.75 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.866e-05/2.185, allocations: 85.05 kB / 1.068 GB, free: 85.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.301e-05/2.185, allocations: 11.36 kB / 1.068 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003157/2.185, allocations: 7.938 kB / 1.068 GB, free: 85.64 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.915e-05/2.185, allocations: 15.94 kB / 1.068 GB, free: 85.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.993e-05/2.185, allocations: 15.73 kB / 1.068 GB, free: 85.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.546e-05/2.185, allocations: 82.72 kB / 1.068 GB, free: 85.53 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.51e-07/2.185, allocations: 0 / 1.068 GB, free: 85.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000841/2.186, allocations: 165 kB / 1.069 GB, free: 85.39 MB / 426.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.001211/2.187, allocations: 0.6258 MB / 1.069 GB, free: 84.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005852/2.188, allocations: 197 kB / 1.069 GB, free: 84.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/2.188, allocations: 0 / 1.069 GB, free: 84.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/2.188, allocations: 212.4 kB / 1.07 GB, free: 84.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/2.189, allocations: 46.98 kB / 1.07 GB, free: 84.42 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006439/2.189, allocations: 321.1 kB / 1.07 GB, free: 84.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001514/2.19, allocations: 0.7049 MB / 1.071 GB, free: 83.37 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007063/2.19, allocations: 45.17 kB / 1.071 GB, free: 83.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001389/2.19, allocations: 23.42 kB / 1.071 GB, free: 83.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.933e-06/2.19, allocations: 4 kB / 1.071 GB, free: 83.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02306/2.214, allocations: 12.89 MB / 1.083 GB, free: 70.45 MB / 426.7 MB