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.1_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.897/1.897, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.963e-05/3.95e-05, allocations: 7.984 kB / 225 MB, free: 2.348 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2084, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.79/1.998, allocations: 0.701 GB / 0.9586 GB, free: 93.14 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/1.998, allocations: 72.38 kB / 0.9587 GB, free: 93.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1011/2.099, allocations: 33.44 MB / 0.9913 GB, free: 66.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.039e-06/2.1, allocations: 0 / 0.9913 GB, free: 66.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/2.1, allocations: 4 kB / 0.9913 GB, free: 66.5 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0004516/2.1, allocations: 417.1 kB / 0.9917 GB, free: 66.05 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/2.1, allocations: 8.031 kB / 0.9917 GB, free: 66.04 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/2.102, allocations: 186 kB / 0.9919 GB, free: 65.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/2.102, allocations: 209.3 kB / 0.9921 GB, free: 65.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/2.102, allocations: 7.938 kB / 0.9921 GB, free: 65.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/2.102, allocations: 15.55 kB / 0.9921 GB, free: 65.63 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/2.103, allocations: 186.8 kB / 0.9923 GB, free: 65.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/2.103, allocations: 3.938 kB / 0.9923 GB, free: 65.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/2.103, allocations: 3.688 kB / 0.9923 GB, free: 65.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-06/2.103, allocations: 4 kB / 0.9923 GB, free: 65.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/2.104, allocations: 199.9 kB / 0.9925 GB, free: 65.37 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.001547/2.105, allocations: 0.6255 MB / 0.9931 GB, free: 64.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/2.105, allocations: 142.3 kB / 0.9933 GB, free: 64.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/2.106, allocations: 82.03 kB / 0.9933 GB, free: 64.64 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001964/2.106, allocations: 93.03 kB / 0.9934 GB, free: 64.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.82e-05/2.106, allocations: 34.56 kB / 0.9935 GB, free: 64.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.347e-06/2.106, allocations: 4 kB / 0.9935 GB, free: 64.49 MB / 362.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.005061/2.111, allocations: 1.194 MB / 0.9946 GB, free: 63.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.521e-05/2.111, allocations: 55.41 kB / 0.9947 GB, free: 63.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/2.111, allocations: 104.4 kB / 0.9948 GB, free: 63.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/2.111, allocations: 33.33 kB / 0.9948 GB, free: 63.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.216e-05/2.111, allocations: 99.91 kB / 0.9949 GB, free: 63.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.872e-05/2.111, allocations: 70.3 kB / 0.995 GB, free: 63.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.389e-05/2.111, allocations: 7.438 kB / 0.995 GB, free: 63.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.468e-05/2.111, allocations: 318.5 kB / 0.9953 GB, free: 62.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/2.112, allocations: 76.8 kB / 0.9954 GB, free: 62.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000184/2.112, allocations: 104 kB / 0.9955 GB, free: 62.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/2.112, allocations: 85.97 kB / 0.9955 GB, free: 62.52 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.32e-06/2.112, allocations: 0 / 0.9955 GB, free: 62.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005764/2.113, allocations: 244 kB / 0.9958 GB, free: 62.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/2.113, allocations: 11.94 kB / 0.9958 GB, free: 62.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.972e-06/2.113, allocations: 0 / 0.9958 GB, free: 62.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/2.113, allocations: 24.28 kB / 0.9958 GB, free: 62.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004387/2.113, allocations: 51.95 kB / 0.9959 GB, free: 62.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003022/2.114, allocations: 0.5364 MB / 0.9964 GB, free: 61.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/2.114, allocations: 19.11 kB / 0.9964 GB, free: 61.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/2.114, allocations: 8 kB / 0.9964 GB, free: 61.68 MB / 362.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 0.0001032/2.114, allocations: 115.9 kB / 0.9965 GB, free: 61.56 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.903e-05/2.114, allocations: 7.906 kB / 0.9965 GB, free: 61.55 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007267/2.115, allocations: 278.5 kB / 0.9968 GB, free: 61.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/2.115, allocations: 8 kB / 0.9968 GB, free: 61.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/2.115, allocations: 3.984 kB / 0.9968 GB, free: 61.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.819e-06/2.115, allocations: 0 / 0.9968 GB, free: 61.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/2.116, allocations: 0.6246 MB / 0.9974 GB, free: 60.76 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.945e-06/2.116, allocations: 4 kB / 0.9974 GB, free: 60.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004395/2.116, allocations: 48.05 kB / 0.9975 GB, free: 60.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/2.117, allocations: 32.02 kB / 0.9975 GB, free: 60.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.336e-05/2.117, allocations: 7.562 kB / 0.9975 GB, free: 60.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007571/2.117, allocations: 1.266 MB / 0.9987 GB, free: 59.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.96e-06/2.117, allocations: 0 / 0.9987 GB, free: 59.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/2.118, allocations: 446.5 kB / 0.9992 GB, free: 58.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/2.118, allocations: 88.98 kB / 0.9992 GB, free: 58.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/2.118, allocations: 7.688 kB / 0.9993 GB, free: 58.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/2.119, allocations: 11.41 kB / 0.9993 GB, free: 58.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/2.119, allocations: 23.36 kB / 0.9993 GB, free: 58.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/2.119, allocations: 8 kB / 0.9993 GB, free: 58.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.487e-05/2.119, allocations: 91.27 kB / 0.9994 GB, free: 58.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.41e-07/2.119, allocations: 0 / 0.9994 GB, free: 58.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007739/2.12, allocations: 158.2 kB / 0.9995 GB, free: 58.56 MB / 362.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.001216/2.121, allocations: 0.6511 MB / 1 GB, free: 57.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005422/2.121, allocations: 193.2 kB / 1 GB, free: 57.79 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.731e-06/2.121, allocations: 0 / 1 GB, free: 57.79 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003254/2.122, allocations: 206.8 kB / 1.001 GB, free: 57.61 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/2.122, allocations: 44.98 kB / 1.001 GB, free: 57.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/2.123, allocations: 314 kB / 1.001 GB, free: 57.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/2.123, allocations: 0.7204 MB / 1.002 GB, free: 56.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005413/2.124, allocations: 53.16 kB / 1.002 GB, free: 56.47 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001391/2.124, allocations: 19.42 kB / 1.002 GB, free: 56.45 MB / 362.7 MB Notification: Performance of SimCode: time 1.584e-06/2.124, allocations: 0 / 1.002 GB, free: 56.45 MB / 362.7 MB Notification: Performance of Templates: time 0.0215/2.145, allocations: 12.89 MB / 1.014 GB, free: 43.59 MB / 362.7 MB