Running command: translateModel(Modelica.Media.Examples.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") Notification: Performance of loadModel(Modelica): time 1.989/1.989, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.332e-05, allocations: 4 kB / 269.4 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08717/0.08723, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.029/2.116, allocations: 0.7292 GB / 1.039 GB, free: 141.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/2.116, allocations: 75.14 kB / 1.039 GB, free: 141.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1254/2.242, allocations: 39.95 MB / 1.078 GB, free: 101.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.825e-06/2.242, allocations: 0 / 1.078 GB, free: 101.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/2.242, allocations: 4.766 kB / 1.078 GB, free: 101.2 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008105/2.242, allocations: 0.5105 MB / 1.078 GB, free: 100.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/2.243, allocations: 8.031 kB / 1.078 GB, free: 100.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/2.247, allocations: 367.3 kB / 1.079 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/2.247, allocations: 250.9 kB / 1.079 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/2.247, allocations: 16.31 kB / 1.079 GB, free: 100 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.494e-05/2.247, allocations: 23.91 kB / 1.079 GB, free: 99.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009279/2.248, allocations: 469 kB / 1.079 GB, free: 99.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/2.248, allocations: 0 / 1.079 GB, free: 99.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.498e-05/2.248, allocations: 11.95 kB / 1.079 GB, free: 99.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.033e-06/2.248, allocations: 7.938 kB / 1.079 GB, free: 99.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009914/2.249, allocations: 483.8 kB / 1.08 GB, free: 99.02 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.002455/2.252, allocations: 0.9866 MB / 1.081 GB, free: 97.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/2.252, allocations: 269 kB / 1.081 GB, free: 97.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002557/2.253, allocations: 141.7 kB / 1.081 GB, free: 97.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001216/2.254, allocations: 0.6555 MB / 1.082 GB, free: 96.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/2.254, allocations: 42.56 kB / 1.082 GB, free: 96.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.517e-06/2.254, allocations: 0 / 1.082 GB, free: 96.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007895/2.255, allocations: 279 kB / 1.082 GB, free: 96.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.46e-05/2.255, allocations: 81.11 kB / 1.082 GB, free: 96.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.508e-05/2.255, allocations: 105.3 kB / 1.082 GB, free: 96.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/2.255, allocations: 33.7 kB / 1.082 GB, free: 96.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/2.255, allocations: 116.1 kB / 1.082 GB, free: 96.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.12e-05/2.255, allocations: 106.4 kB / 1.083 GB, free: 95.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.878e-05/2.255, allocations: 4 kB / 1.083 GB, free: 95.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.86e-05/2.255, allocations: 334.8 kB / 1.083 GB, free: 95.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002227/2.255, allocations: 104.6 kB / 1.083 GB, free: 95.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000258/2.256, allocations: 191.1 kB / 1.083 GB, free: 95.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002663/2.256, allocations: 124 kB / 1.083 GB, free: 95.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/2.256, allocations: 0 / 1.083 GB, free: 95.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000765/2.257, allocations: 353.4 kB / 1.084 GB, free: 94.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/2.257, allocations: 8 kB / 1.084 GB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.238e-06/2.257, allocations: 0 / 1.084 GB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/2.257, allocations: 8 kB / 1.084 GB, free: 94.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/2.257, allocations: 75.89 kB / 1.084 GB, free: 94.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/2.257, allocations: 8.297 kB / 1.084 GB, free: 94.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003298/2.258, allocations: 35.69 kB / 1.084 GB, free: 94.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/2.258, allocations: 19.98 kB / 1.084 GB, free: 94.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/2.258, allocations: 124.9 kB / 1.084 GB, free: 94.57 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/2.258, allocations: 15.81 kB / 1.084 GB, free: 94.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008813/2.259, allocations: 362.5 kB / 1.084 GB, free: 94.19 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.88e-06/2.259, allocations: 4 kB / 1.084 GB, free: 94.19 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/2.259, allocations: 0 / 1.084 GB, free: 94.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-06/2.259, allocations: 3.984 kB / 1.084 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/2.26, allocations: 361 kB / 1.085 GB, free: 93.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-06/2.26, allocations: 0 / 1.085 GB, free: 93.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004845/2.26, allocations: 63.89 kB / 1.085 GB, free: 93.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.859e-06/2.26, allocations: 0 / 1.085 GB, free: 93.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/2.26, allocations: 11.98 kB / 1.085 GB, free: 93.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.034e-06/2.26, allocations: 8 kB / 1.085 GB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.237e-06/2.26, allocations: 0 / 1.085 GB, free: 93.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000851/2.261, allocations: 0.5394 MB / 1.085 GB, free: 93.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/2.261, allocations: 92.86 kB / 1.085 GB, free: 93.03 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.305e-05/2.261, allocations: 8.062 kB / 1.085 GB, free: 93.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004259/2.262, allocations: 19.98 kB / 1.085 GB, free: 93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/2.262, allocations: 19.97 kB / 1.085 GB, free: 92.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-05/2.262, allocations: 15.98 kB / 1.085 GB, free: 92.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.877e-05/2.262, allocations: 87.28 kB / 1.085 GB, free: 92.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.36e-07/2.262, allocations: 3.938 kB / 1.085 GB, free: 92.88 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00116/2.263, allocations: 267.7 kB / 1.086 GB, free: 92.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001589/2.265, allocations: 0.7555 MB / 1.086 GB, free: 91.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006143/2.265, allocations: 283.7 kB / 1.087 GB, free: 91.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/2.265, allocations: 0 / 1.087 GB, free: 91.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/2.266, allocations: 127.9 kB / 1.087 GB, free: 91.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007123/2.266, allocations: 84.42 kB / 1.087 GB, free: 91.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001084/2.268, allocations: 0.6024 MB / 1.088 GB, free: 90.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001905/2.268, allocations: 0.7402 MB / 1.088 GB, free: 89.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007441/2.268, allocations: 90.17 kB / 1.088 GB, free: 89.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/2.269, allocations: 31.42 kB / 1.088 GB, free: 89.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.764e-06/2.269, allocations: 0 / 1.088 GB, free: 89.84 MB / 426.7 MB Notification: Performance of Templates: time 0.0282/2.297, allocations: 15.76 MB / 1.104 GB, free: 74.11 MB / 426.7 MB