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.87/1.87, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.219e-05, allocations: 3.938 kB / 249.6 MB, free: 15.31 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2465, allocations: 44.51 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.867/2.114, allocations: 0.7125 GB / 0.9997 GB, free: 105.3 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/2.114, allocations: 80.61 kB / 0.9998 GB, free: 105.3 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1041/2.218, allocations: 33.09 MB / 1.032 GB, free: 100.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.998e-06/2.218, allocations: 0 / 1.032 GB, free: 100.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/2.218, allocations: 0 / 1.032 GB, free: 100.9 MB / 394.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.0004635/2.219, allocations: 423.8 kB / 1.033 GB, free: 100.4 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/2.219, allocations: 7.812 kB / 1.033 GB, free: 100.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/2.221, allocations: 179 kB / 1.033 GB, free: 100.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/2.221, allocations: 212.1 kB / 1.033 GB, free: 100.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/2.221, allocations: 3.906 kB / 1.033 GB, free: 100.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.322e-05/2.221, allocations: 3.906 kB / 1.033 GB, free: 100.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004714/2.222, allocations: 189.2 kB / 1.033 GB, free: 100.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/2.222, allocations: 155 kB / 1.033 GB, free: 100.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/2.222, allocations: 0 / 1.033 GB, free: 100.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.328e-05/2.222, allocations: 3.953 kB / 1.033 GB, free: 100.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.181e-06/2.222, allocations: 3.906 kB / 1.033 GB, free: 100.1 MB / 394.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.00148/2.224, allocations: 0.5874 MB / 1.034 GB, free: 99.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/2.224, allocations: 145.1 kB / 1.034 GB, free: 99.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001364/2.224, allocations: 85.5 kB / 1.034 GB, free: 99.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001991/2.224, allocations: 88.81 kB / 1.034 GB, free: 99.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/2.224, allocations: 34.31 kB / 1.034 GB, free: 99.47 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.512e-06/2.224, allocations: 0 / 1.034 GB, free: 99.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.004363/2.229, allocations: 1 MB / 1.035 GB, free: 98.84 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.143e-05/2.229, allocations: 55.53 kB / 1.035 GB, free: 98.77 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.662e-05/2.229, allocations: 104.5 kB / 1.035 GB, free: 98.68 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/2.229, allocations: 29.64 kB / 1.035 GB, free: 98.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/2.229, allocations: 170.4 kB / 1.035 GB, free: 98.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.918e-05/2.229, allocations: 66.34 kB / 1.036 GB, free: 98.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/2.229, allocations: 0 / 1.036 GB, free: 98.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/2.229, allocations: 322.5 kB / 1.036 GB, free: 98.11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/2.229, allocations: 67.81 kB / 1.036 GB, free: 98.11 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001594/2.229, allocations: 99.33 kB / 1.036 GB, free: 98.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001833/2.23, allocations: 78.94 kB / 1.036 GB, free: 98.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.664e-06/2.23, allocations: 0 / 1.036 GB, free: 98.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005226/2.23, allocations: 231.6 kB / 1.036 GB, free: 97.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/2.23, allocations: 7.891 kB / 1.036 GB, free: 97.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.205e-06/2.23, allocations: 7.906 kB / 1.036 GB, free: 97.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001392/2.23, allocations: 12.67 kB / 1.036 GB, free: 97.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004349/2.231, allocations: 58.83 kB / 1.036 GB, free: 97.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003082/2.231, allocations: 0.5434 MB / 1.037 GB, free: 97.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/2.231, allocations: 7.891 kB / 1.037 GB, free: 97.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.95e-05/2.231, allocations: 3.969 kB / 1.037 GB, free: 97.43 MB / 394.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.0001077/2.232, allocations: 108.7 kB / 1.037 GB, free: 97.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.998e-05/2.232, allocations: 7.812 kB / 1.037 GB, free: 97.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007285/2.232, allocations: 262.1 kB / 1.037 GB, free: 97.21 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.914e-06/2.232, allocations: 3.906 kB / 1.037 GB, free: 97.21 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.265e-06/2.232, allocations: 0 / 1.037 GB, free: 97.21 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.737e-06/2.232, allocations: 0 / 1.037 GB, free: 97.21 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/2.234, allocations: 0.599 MB / 1.038 GB, free: 96.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.164e-06/2.234, allocations: 11.89 kB / 1.038 GB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005105/2.234, allocations: 43.16 kB / 1.038 GB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000109/2.234, allocations: 23.91 kB / 1.038 GB, free: 96.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/2.234, allocations: 7.953 kB / 1.038 GB, free: 96.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007537/2.235, allocations: 1.212 MB / 1.039 GB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.543e-06/2.235, allocations: 3.312 kB / 1.039 GB, free: 95.54 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007243/2.236, allocations: 436.5 kB / 1.04 GB, free: 95.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/2.236, allocations: 84.64 kB / 1.04 GB, free: 95.18 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/2.236, allocations: 7.688 kB / 1.04 GB, free: 95.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003499/2.236, allocations: 7.609 kB / 1.04 GB, free: 95.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.731e-05/2.236, allocations: 23.72 kB / 1.04 GB, free: 95.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/2.236, allocations: 11.77 kB / 1.04 GB, free: 95.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.031e-05/2.236, allocations: 82.84 kB / 1.04 GB, free: 95.09 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.16e-07/2.236, allocations: 0 / 1.04 GB, free: 95.09 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000758/2.237, allocations: 148.8 kB / 1.04 GB, free: 95.06 MB / 394.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.001284/2.239, allocations: 0.6986 MB / 1.041 GB, free: 94.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005163/2.239, allocations: 197.6 kB / 1.041 GB, free: 94.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.892e-06/2.239, allocations: 0 / 1.041 GB, free: 94.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002967/2.239, allocations: 200.4 kB / 1.041 GB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/2.24, allocations: 38.61 kB / 1.041 GB, free: 94.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006052/2.24, allocations: 328.2 kB / 1.041 GB, free: 94.28 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/2.241, allocations: 0.7189 MB / 1.042 GB, free: 93.56 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/2.241, allocations: 22.86 kB / 1.042 GB, free: 93.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.48e-06/2.241, allocations: 0 / 1.042 GB, free: 93.55 MB / 394.7 MB Notification: Performance of Templates: time 0.01202/2.253, allocations: 7.426 MB / 1.049 GB, free: 88.32 MB / 394.7 MB