Running command: translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.MixtureGases") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.462e-05/2.534e-05, allocations: 0 / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.07839, allocations: 44.5 MB / 299.9 MB, free: 6.148 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.936/2.015, allocations: 0.7338 GB / 1.027 GB, free: 150.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/2.015, allocations: 66.95 kB / 1.027 GB, free: 150.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3254/2.34, allocations: 107.1 MB / 1.131 GB, free: 43.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.272e-06/2.341, allocations: 3.938 kB / 1.131 GB, free: 43.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/2.341, allocations: 8 kB / 1.131 GB, free: 43.12 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002659/2.343, allocations: 0.7595 MB / 1.132 GB, free: 42.31 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/2.343, allocations: 8.031 kB / 1.132 GB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/2.345, allocations: 255.8 kB / 1.132 GB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004678/2.346, allocations: 294.5 kB / 1.133 GB, free: 41.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/2.346, allocations: 20.56 kB / 1.133 GB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/2.346, allocations: 24 kB / 1.133 GB, free: 41.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001183/2.347, allocations: 0.6171 MB / 1.133 GB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/2.347, allocations: 0 / 1.133 GB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-05/2.347, allocations: 16 kB / 1.133 GB, free: 41.04 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.628e-05/2.347, allocations: 12.44 kB / 1.133 GB, free: 41.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/2.349, allocations: 0.661 MB / 1.134 GB, free: 40.36 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.004116/2.353, allocations: 1.784 MB / 1.136 GB, free: 38.48 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008353/2.354, allocations: 389 kB / 1.136 GB, free: 38.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00039/2.354, allocations: 190.1 kB / 1.136 GB, free: 37.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001567/2.356, allocations: 0.9204 MB / 1.137 GB, free: 36.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.788e-05/2.356, allocations: 34.56 kB / 1.137 GB, free: 36.78 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.535e-06/2.356, allocations: 0 / 1.137 GB, free: 36.78 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: medium1.T Please use -d=bltdump for more information. 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: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01124/2.367, allocations: 2.789 MB / 1.14 GB, free: 33.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/2.367, allocations: 81.11 kB / 1.14 GB, free: 33.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/2.367, allocations: 166.3 kB / 1.14 GB, free: 33.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.672e-05/2.367, allocations: 29.7 kB / 1.14 GB, free: 33.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.562e-05/2.367, allocations: 176.1 kB / 1.14 GB, free: 33.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/2.368, allocations: 177.5 kB / 1.14 GB, free: 33.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.254e-05/2.368, allocations: 16 kB / 1.14 GB, free: 33.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.717e-05/2.368, allocations: 338.8 kB / 1.141 GB, free: 32.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004792/2.368, allocations: 209.5 kB / 1.141 GB, free: 32.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005431/2.369, allocations: 365.9 kB / 1.141 GB, free: 32.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005386/2.369, allocations: 253.2 kB / 1.142 GB, free: 31.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.292e-06/2.369, allocations: 4 kB / 1.142 GB, free: 31.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001592/2.371, allocations: 0.6561 MB / 1.142 GB, free: 31.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/2.371, allocations: 8 kB / 1.142 GB, free: 31.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/2.371, allocations: 4 kB / 1.142 GB, free: 31.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/2.371, allocations: 62.19 kB / 1.142 GB, free: 31.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/2.373, allocations: 183.7 kB / 1.142 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005579/2.373, allocations: 1.081 MB / 1.144 GB, free: 29.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/2.374, allocations: 39.97 kB / 1.144 GB, free: 29.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001096/2.374, allocations: 43.97 kB / 1.144 GB, free: 29.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002053/2.374, allocations: 136.8 kB / 1.144 GB, free: 29.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/2.375, allocations: 35.75 kB / 1.144 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/2.377, allocations: 0.6737 MB / 1.144 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.819e-06/2.377, allocations: 4 kB / 1.144 GB, free: 28.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.72e-06/2.377, allocations: 4 kB / 1.144 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.833e-06/2.377, allocations: 3.984 kB / 1.144 GB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003074/2.38, allocations: 1.458 MB / 1.146 GB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.122e-06/2.38, allocations: 4.062 kB / 1.146 GB, free: 27.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/2.381, allocations: 147.8 kB / 1.146 GB, free: 27.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001703/2.381, allocations: 41.64 kB / 1.146 GB, free: 27.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/2.381, allocations: 23.97 kB / 1.146 GB, free: 27.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001468/2.383, allocations: 2.529 MB / 1.149 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/2.383, allocations: 4 kB / 1.149 GB, free: 24.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/2.385, allocations: 1.015 MB / 1.15 GB, free: 23.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/2.385, allocations: 104.8 kB / 1.15 GB, free: 23.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001024/2.385, allocations: 12 kB / 1.15 GB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/2.386, allocations: 44 kB / 1.15 GB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.557e-05/2.386, allocations: 39.83 kB / 1.15 GB, free: 23.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/2.386, allocations: 43.91 kB / 1.15 GB, free: 22.99 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001009/2.386, allocations: 124.4 kB / 1.15 GB, free: 22.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.5e-07/2.386, allocations: 4 kB / 1.15 GB, free: 22.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001736/2.388, allocations: 443.7 kB / 1.15 GB, free: 22.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003578/2.391, allocations: 1.142 MB / 1.151 GB, free: 21.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001473/2.393, allocations: 0.5435 MB / 1.152 GB, free: 20.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.322e-06/2.393, allocations: 0 / 1.152 GB, free: 20.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007954/2.394, allocations: 475.4 kB / 1.152 GB, free: 20.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/2.395, allocations: 92.52 kB / 1.153 GB, free: 20.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/2.396, allocations: 0.743 MB / 1.153 GB, free: 19.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/2.396, allocations: 0.7932 MB / 1.154 GB, free: 18.55 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001954/2.398, allocations: 187.1 kB / 1.154 GB, free: 18.37 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004629/2.399, allocations: 63.38 kB / 1.154 GB, free: 18.31 MB / 410.7 MB Notification: Performance of SimCode: time 1.745e-06/2.399, allocations: 0 / 1.154 GB, free: 18.31 MB / 410.7 MB Notification: Performance of Templates: time 0.3482/2.747, allocations: 24.73 MB / 1.178 GB, free: 110.8 MB / 410.7 MB