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_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(Modelica): time 1.592/1.592, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.276e-05, allocations: 11.94 kB / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.2108, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.632/1.843, allocations: 0.701 GB / 0.9586 GB, free: 93.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002064/1.843, allocations: 71.45 kB / 0.9586 GB, free: 93.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09879/1.942, allocations: 33.44 MB / 0.9913 GB, free: 66.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.435e-06/1.942, allocations: 0 / 0.9913 GB, free: 66.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.27e-05/1.942, allocations: 4 kB / 0.9913 GB, free: 66.36 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.0004372/1.942, allocations: 413.2 kB / 0.9917 GB, free: 65.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/1.942, allocations: 16.03 kB / 0.9917 GB, free: 65.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/1.944, allocations: 184.8 kB / 0.9919 GB, free: 65.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/1.945, allocations: 209.4 kB / 0.9921 GB, free: 65.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.945, allocations: 7.625 kB / 0.9921 GB, free: 65.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/1.945, allocations: 7.625 kB / 0.9921 GB, free: 65.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/1.945, allocations: 187.8 kB / 0.9923 GB, free: 65.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/1.945, allocations: 0 / 0.9923 GB, free: 65.36 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/1.945, allocations: 11.36 kB / 0.9923 GB, free: 65.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.015e-06/1.945, allocations: 0 / 0.9923 GB, free: 65.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004732/1.946, allocations: 196.2 kB / 0.9925 GB, free: 65.23 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.001485/1.947, allocations: 0.6217 MB / 0.9931 GB, free: 64.67 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003157/1.948, allocations: 151.7 kB / 0.9932 GB, free: 64.56 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/1.948, allocations: 83.47 kB / 0.9933 GB, free: 64.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/1.948, allocations: 89.09 kB / 0.9934 GB, free: 64.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/1.948, allocations: 38.5 kB / 0.9934 GB, free: 64.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.434e-06/1.948, allocations: 0 / 0.9934 GB, free: 64.36 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.004954/1.953, allocations: 1.205 MB / 0.9946 GB, free: 63.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/1.953, allocations: 51.41 kB / 0.9947 GB, free: 63.18 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.653e-05/1.953, allocations: 108.7 kB / 0.9948 GB, free: 63.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.019e-05/1.953, allocations: 29.45 kB / 0.9948 GB, free: 63.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.938e-05/1.953, allocations: 162.9 kB / 0.9949 GB, free: 62.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.002e-05/1.953, allocations: 77.98 kB / 0.995 GB, free: 62.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/1.953, allocations: 3.188 kB / 0.995 GB, free: 62.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/1.953, allocations: 318 kB / 0.9953 GB, free: 62.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.954, allocations: 76.56 kB / 0.9954 GB, free: 62.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001949/1.954, allocations: 104.9 kB / 0.9955 GB, free: 62.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/1.954, allocations: 92.78 kB / 0.9956 GB, free: 62.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.198e-06/1.954, allocations: 0 / 0.9956 GB, free: 62.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005521/1.955, allocations: 245.8 kB / 0.9958 GB, free: 62.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/1.955, allocations: 8 kB / 0.9958 GB, free: 62.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.945e-06/1.955, allocations: 3.984 kB / 0.9958 GB, free: 62.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001444/1.955, allocations: 20.55 kB / 0.9959 GB, free: 62.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/1.955, allocations: 51.95 kB / 0.9959 GB, free: 62.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002896/1.956, allocations: 0.5356 MB / 0.9964 GB, free: 61.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000233/1.956, allocations: 11.8 kB / 0.9964 GB, free: 61.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.91e-05/1.956, allocations: 8 kB / 0.9964 GB, free: 61.48 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 9.466e-05/1.956, allocations: 116.2 kB / 0.9966 GB, free: 61.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.168e-05/1.956, allocations: 12 kB / 0.9966 GB, free: 61.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006852/1.957, allocations: 277.2 kB / 0.9968 GB, free: 61.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.261e-06/1.957, allocations: 0 / 0.9968 GB, free: 61.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.505e-06/1.957, allocations: 4 kB / 0.9968 GB, free: 61.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.973e-06/1.957, allocations: 0 / 0.9968 GB, free: 61.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/1.958, allocations: 0.6294 MB / 0.9975 GB, free: 60.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.357e-06/1.958, allocations: 0 / 0.9975 GB, free: 60.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/1.958, allocations: 51.39 kB / 0.9975 GB, free: 60.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.242e-05/1.958, allocations: 28.73 kB / 0.9975 GB, free: 60.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/1.958, allocations: 3.688 kB / 0.9975 GB, free: 60.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007357/1.959, allocations: 1.273 MB / 0.9988 GB, free: 59.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.074e-06/1.959, allocations: 0 / 0.9988 GB, free: 59.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007167/1.96, allocations: 447 kB / 0.9992 GB, free: 58.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.334e-05/1.96, allocations: 92.55 kB / 0.9993 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.071e-05/1.96, allocations: 4 kB / 0.9993 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/1.96, allocations: 7.562 kB / 0.9993 GB, free: 58.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.425e-05/1.96, allocations: 27.67 kB / 0.9993 GB, free: 58.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-05/1.96, allocations: 11.98 kB / 0.9993 GB, free: 58.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.249e-05/1.961, allocations: 82.84 kB / 0.9994 GB, free: 58.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.961, allocations: 3.938 kB / 0.9994 GB, free: 58.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007534/1.961, allocations: 165.1 kB / 0.9996 GB, free: 58.36 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.001164/1.962, allocations: 0.6367 MB / 1 GB, free: 57.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005269/1.963, allocations: 202.8 kB / 1 GB, free: 57.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/1.963, allocations: 0 / 1 GB, free: 57.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003186/1.963, allocations: 203.7 kB / 1.001 GB, free: 57.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004173/1.964, allocations: 49.11 kB / 1.001 GB, free: 57.37 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006221/1.964, allocations: 336.4 kB / 1.001 GB, free: 57.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/1.965, allocations: 0.7168 MB / 1.002 GB, free: 56.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001819/1.965, allocations: 31.17 kB / 1.002 GB, free: 56.26 MB / 362.7 MB Notification: Performance of SimCode: time 1.399e-06/1.965, allocations: 0 / 1.002 GB, free: 56.26 MB / 362.7 MB Notification: Performance of Templates: time 0.01082/1.976, allocations: 7.478 MB / 1.009 GB, free: 48.82 MB / 362.7 MB