Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.786e-05/3.797e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08785/0.08791, allocations: 48.7 MB / 321.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.928/2.016, allocations: 0.7091 GB / 1.023 GB, free: 114.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/2.017, allocations: 70.38 kB / 1.023 GB, free: 114.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1296/2.146, allocations: 33.2 MB / 1.056 GB, free: 95.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.184e-06/2.146, allocations: 0 / 1.056 GB, free: 95.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/2.146, allocations: 0 / 1.056 GB, free: 95.88 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.0004802/2.147, allocations: 405.3 kB / 1.056 GB, free: 95.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/2.147, allocations: 8.031 kB / 1.056 GB, free: 95.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/2.149, allocations: 194 kB / 1.056 GB, free: 95.27 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002469/2.149, allocations: 208.8 kB / 1.057 GB, free: 95.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/2.149, allocations: 12 kB / 1.057 GB, free: 95.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/2.15, allocations: 8 kB / 1.057 GB, free: 95.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/2.15, allocations: 188.5 kB / 1.057 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/2.15, allocations: 0 / 1.057 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/2.15, allocations: 3.562 kB / 1.057 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.505e-06/2.15, allocations: 4 kB / 1.057 GB, free: 94.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004892/2.151, allocations: 196.3 kB / 1.057 GB, free: 94.76 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.00161/2.152, allocations: 0.615 MB / 1.058 GB, free: 94.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/2.153, allocations: 156.2 kB / 1.058 GB, free: 94.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/2.153, allocations: 77.05 kB / 1.058 GB, free: 94.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002554/2.153, allocations: 92.59 kB / 1.058 GB, free: 93.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/2.153, allocations: 38.56 kB / 1.058 GB, free: 93.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.959e-06/2.153, allocations: 0 / 1.058 GB, free: 93.88 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.005127/2.158, allocations: 1.198 MB / 1.059 GB, free: 92.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.365e-05/2.158, allocations: 59.34 kB / 1.059 GB, free: 92.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.003e-05/2.158, allocations: 104.4 kB / 1.059 GB, free: 92.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/2.158, allocations: 25.7 kB / 1.059 GB, free: 92.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/2.158, allocations: 170.7 kB / 1.059 GB, free: 92.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.664e-05/2.159, allocations: 70.12 kB / 1.059 GB, free: 92.34 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.197e-05/2.159, allocations: 3.312 kB / 1.059 GB, free: 92.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/2.159, allocations: 326.1 kB / 1.06 GB, free: 92.02 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001705/2.159, allocations: 72 kB / 1.06 GB, free: 91.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/2.159, allocations: 112.6 kB / 1.06 GB, free: 91.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/2.159, allocations: 81.34 kB / 1.06 GB, free: 91.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.2e-06/2.159, allocations: 0 / 1.06 GB, free: 91.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005715/2.16, allocations: 241.6 kB / 1.06 GB, free: 91.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/2.16, allocations: 7.984 kB / 1.06 GB, free: 91.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/2.16, allocations: 0 / 1.06 GB, free: 91.65 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001612/2.16, allocations: 24.47 kB / 1.06 GB, free: 91.63 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004417/2.161, allocations: 51.91 kB / 1.06 GB, free: 91.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003128/2.161, allocations: 0.5353 MB / 1.061 GB, free: 91.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002445/2.161, allocations: 15.62 kB / 1.061 GB, free: 91.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/2.161, allocations: 11.69 kB / 1.061 GB, free: 91.01 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 0.0001078/2.161, allocations: 112.4 kB / 1.061 GB, free: 90.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.392e-05/2.161, allocations: 7.906 kB / 1.061 GB, free: 90.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007311/2.162, allocations: 278.6 kB / 1.061 GB, free: 90.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.068e-06/2.162, allocations: 4 kB / 1.061 GB, free: 90.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.156e-06/2.162, allocations: 0 / 1.061 GB, free: 90.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.947e-06/2.162, allocations: 7.953 kB / 1.061 GB, free: 90.67 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/2.163, allocations: 0.6271 MB / 1.062 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-06/2.163, allocations: 7.984 kB / 1.062 GB, free: 90.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004587/2.164, allocations: 47.91 kB / 1.062 GB, free: 90.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/2.164, allocations: 24.56 kB / 1.062 GB, free: 90.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/2.164, allocations: 11.61 kB / 1.062 GB, free: 90 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008083/2.165, allocations: 1.267 MB / 1.063 GB, free: 88.65 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.284e-06/2.165, allocations: 0 / 1.063 GB, free: 88.65 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007924/2.166, allocations: 455.9 kB / 1.064 GB, free: 88.25 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/2.166, allocations: 88.95 kB / 1.064 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.546e-05/2.166, allocations: 7.516 kB / 1.064 GB, free: 88.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/2.166, allocations: 11.89 kB / 1.064 GB, free: 88.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/2.166, allocations: 15.61 kB / 1.064 GB, free: 88.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/2.166, allocations: 11.98 kB / 1.064 GB, free: 88.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.111e-05/2.166, allocations: 90.95 kB / 1.064 GB, free: 88.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.57e-07/2.166, allocations: 64 / 1.064 GB, free: 88.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000782/2.167, allocations: 161.6 kB / 1.064 GB, free: 87.89 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.001228/2.168, allocations: 0.6204 MB / 1.065 GB, free: 87.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006097/2.169, allocations: 197.3 kB / 1.065 GB, free: 87.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/2.169, allocations: 0 / 1.065 GB, free: 87.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003389/2.169, allocations: 203.3 kB / 1.065 GB, free: 86.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/2.17, allocations: 52.28 kB / 1.065 GB, free: 86.92 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/2.171, allocations: 339.6 kB / 1.065 GB, free: 86.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001596/2.171, allocations: 0.7166 MB / 1.066 GB, free: 85.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001924/2.171, allocations: 23.42 kB / 1.066 GB, free: 85.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.687e-06/2.171, allocations: 0 / 1.066 GB, free: 85.82 MB / 426.7 MB Notification: Performance of Templates: time 0.0134/2.184, allocations: 7.45 MB / 1.073 GB, free: 78.41 MB / 426.7 MB