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_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.794/1.794, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.607e-05, allocations: 2.344 kB / 255.3 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0772/0.07725, allocations: 44.51 MB / 299.8 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.78/1.857, allocations: 0.7132 GB / 1.006 GB, free: 156.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/1.858, allocations: 72.45 kB / 1.006 GB, free: 156.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.146/2.004, allocations: 33.64 MB / 1.039 GB, free: 139.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.864e-06/2.004, allocations: 4 kB / 1.039 GB, free: 139.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/2.004, allocations: 4 kB / 1.039 GB, free: 139.9 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.0004219/2.004, allocations: 412.5 kB / 1.039 GB, free: 139.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/2.004, allocations: 8.031 kB / 1.039 GB, free: 139.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/2.006, allocations: 183.7 kB / 1.039 GB, free: 139.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/2.007, allocations: 206.9 kB / 1.04 GB, free: 139 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/2.007, allocations: 192 / 1.04 GB, free: 139 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/2.007, allocations: 15.98 kB / 1.04 GB, free: 139 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/2.007, allocations: 195 kB / 1.04 GB, free: 138.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/2.007, allocations: 0 / 1.04 GB, free: 138.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/2.007, allocations: 4 kB / 1.04 GB, free: 138.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.228e-06/2.007, allocations: 3.953 kB / 1.04 GB, free: 138.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004681/2.008, allocations: 200.4 kB / 1.04 GB, free: 138.6 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.00147/2.009, allocations: 0.6261 MB / 1.041 GB, free: 137.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/2.009, allocations: 150.6 kB / 1.041 GB, free: 137.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/2.01, allocations: 76.86 kB / 1.041 GB, free: 137.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/2.01, allocations: 93.03 kB / 1.041 GB, free: 137.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/2.01, allocations: 42.55 kB / 1.041 GB, free: 137.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.446e-06/2.01, allocations: 0 / 1.041 GB, free: 137.5 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.0049/2.015, allocations: 1.201 MB / 1.042 GB, free: 136.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/2.015, allocations: 59.41 kB / 1.042 GB, free: 136.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.391e-05/2.015, allocations: 97 kB / 1.042 GB, free: 136.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/2.015, allocations: 33.7 kB / 1.042 GB, free: 136 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.189e-05/2.015, allocations: 166.7 kB / 1.043 GB, free: 135.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.326e-05/2.015, allocations: 63.11 kB / 1.043 GB, free: 135.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/2.015, allocations: 0 / 1.043 GB, free: 135.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.112e-05/2.015, allocations: 326.8 kB / 1.043 GB, free: 135.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/2.015, allocations: 72 kB / 1.043 GB, free: 135.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/2.016, allocations: 109.8 kB / 1.043 GB, free: 135.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/2.016, allocations: 87.83 kB / 1.043 GB, free: 135.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/2.016, allocations: 0 / 1.043 GB, free: 135.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005483/2.016, allocations: 246.2 kB / 1.043 GB, free: 134.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/2.016, allocations: 12.09 kB / 1.043 GB, free: 134.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.093e-06/2.016, allocations: 0 / 1.043 GB, free: 134.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001338/2.017, allocations: 24.84 kB / 1.043 GB, free: 134.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004168/2.017, allocations: 55.91 kB / 1.044 GB, free: 134.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002817/2.017, allocations: 0.5366 MB / 1.044 GB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/2.018, allocations: 12.12 kB / 1.044 GB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/2.018, allocations: 12.3 kB / 1.044 GB, free: 134.3 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.199e-05/2.018, allocations: 112.9 kB / 1.044 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.166e-05/2.018, allocations: 11.91 kB / 1.044 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/2.018, allocations: 281.9 kB / 1.044 GB, free: 133.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.823e-06/2.019, allocations: 4 kB / 1.044 GB, free: 133.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.55e-06/2.019, allocations: 3.953 kB / 1.044 GB, free: 133.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.184e-06/2.019, allocations: 4 kB / 1.044 GB, free: 133.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/2.02, allocations: 0.6395 MB / 1.045 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-06/2.02, allocations: 4 kB / 1.045 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004189/2.02, allocations: 51.94 kB / 1.045 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-05/2.02, allocations: 16.95 kB / 1.045 GB, free: 133.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/2.02, allocations: 15.98 kB / 1.045 GB, free: 133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007175/2.021, allocations: 1.257 MB / 1.046 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.592e-06/2.021, allocations: 7.984 kB / 1.046 GB, free: 131.6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006984/2.022, allocations: 444.8 kB / 1.047 GB, free: 131.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/2.022, allocations: 92.86 kB / 1.047 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/2.022, allocations: 11.94 kB / 1.047 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002954/2.022, allocations: 8 kB / 1.047 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/2.022, allocations: 15.92 kB / 1.047 GB, free: 131 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/2.022, allocations: 15.98 kB / 1.047 GB, free: 131 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.082e-05/2.022, allocations: 83.28 kB / 1.047 GB, free: 130.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.59e-07/2.022, allocations: 0 / 1.047 GB, free: 130.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007518/2.023, allocations: 168 kB / 1.047 GB, free: 130.8 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.001146/2.024, allocations: 0.6316 MB / 1.048 GB, free: 130.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005056/2.025, allocations: 191.8 kB / 1.048 GB, free: 129.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.924e-06/2.025, allocations: 0 / 1.048 GB, free: 129.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003205/2.025, allocations: 210.6 kB / 1.048 GB, free: 129.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/2.026, allocations: 53.31 kB / 1.048 GB, free: 129.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006301/2.026, allocations: 350.9 kB / 1.049 GB, free: 129.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001512/2.026, allocations: 0.7049 MB / 1.049 GB, free: 128.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/2.027, allocations: 27.42 kB / 1.049 GB, free: 128.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.794e-06/2.027, allocations: 4 kB / 1.049 GB, free: 128.5 MB / 410.7 MB Notification: Performance of Templates: time 0.011/2.038, allocations: 7.428 MB / 1.057 GB, free: 121.1 MB / 410.7 MB