Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 2.425/2.425, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.46e-05/3.48e-05, allocations: 8 kB / 348.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3282, allocations: 61.88 MB / 410.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.671/2, allocations: 0.6961 GB / 1.097 GB, free: 23.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/2, allocations: 71.91 kB / 1.097 GB, free: 23.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3939/2.394, allocations: 34.04 MB / 1.13 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.127e-06/2.394, allocations: 0 / 1.13 GB, free: 189.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.323e-05/2.394, allocations: 3.938 kB / 1.13 GB, free: 189.5 MB / 0.5261 GB 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.0004891/2.394, allocations: 408.5 kB / 1.13 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/2.394, allocations: 7.781 kB / 1.13 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/2.396, allocations: 202.8 kB / 1.131 GB, free: 189.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/2.397, allocations: 204.7 kB / 1.131 GB, free: 189 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/2.397, allocations: 4.125 kB / 1.131 GB, free: 189 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/2.397, allocations: 16.2 kB / 1.131 GB, free: 189 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004291/2.397, allocations: 187.8 kB / 1.131 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/2.397, allocations: 0 / 1.131 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/2.397, allocations: 10.62 kB / 1.131 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.726e-06/2.397, allocations: 0 / 1.131 GB, free: 188.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/2.398, allocations: 185.1 kB / 1.131 GB, free: 188.9 MB / 0.5261 GB 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.001523/2.399, allocations: 0.6122 MB / 1.132 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003429/2.4, allocations: 145.8 kB / 1.132 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/2.4, allocations: 77.16 kB / 1.132 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/2.4, allocations: 94.38 kB / 1.132 GB, free: 188.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/2.4, allocations: 45.3 kB / 1.132 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 3.057e-06/2.4, allocations: 3.938 kB / 1.132 GB, free: 188.4 MB / 0.5261 GB 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.005438/2.406, allocations: 1.19 MB / 1.133 GB, free: 187.9 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/2.406, allocations: 52.72 kB / 1.133 GB, free: 187.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.971e-05/2.406, allocations: 109 kB / 1.133 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/2.406, allocations: 29.45 kB / 1.134 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.821e-05/2.406, allocations: 102.5 kB / 1.134 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.785e-05/2.406, allocations: 68.56 kB / 1.134 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.383e-05/2.406, allocations: 7.969 kB / 1.134 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.269e-05/2.406, allocations: 317.4 kB / 1.134 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001761/2.406, allocations: 79.17 kB / 1.134 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/2.406, allocations: 102 kB / 1.134 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/2.407, allocations: 87.33 kB / 1.134 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-06/2.407, allocations: 2.5 kB / 1.134 GB, free: 187.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006088/2.407, allocations: 243.3 kB / 1.134 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/2.407, allocations: 6 kB / 1.134 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.01e-06/2.407, allocations: 0 / 1.134 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001495/2.407, allocations: 30.45 kB / 1.135 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005122/2.408, allocations: 50.84 kB / 1.135 GB, free: 187.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002956/2.408, allocations: 0.5374 MB / 1.135 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002426/2.409, allocations: 12.64 kB / 1.135 GB, free: 186.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/2.409, allocations: 12.83 kB / 1.135 GB, free: 186.7 MB / 0.5261 GB 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.0001008/2.409, allocations: 113.9 kB / 1.135 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/2.409, allocations: 14.52 kB / 1.135 GB, free: 186.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/2.41, allocations: 278 kB / 1.136 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.711e-06/2.41, allocations: 3.562 kB / 1.136 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.473e-06/2.41, allocations: 0 / 1.136 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/2.41, allocations: 0 / 1.136 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/2.411, allocations: 0.648 MB / 1.136 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.762e-06/2.411, allocations: 0 / 1.136 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005033/2.411, allocations: 50.14 kB / 1.136 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001069/2.411, allocations: 23.34 kB / 1.136 GB, free: 186.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/2.412, allocations: 9.906 kB / 1.136 GB, free: 186.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007979/2.412, allocations: 1.263 MB / 1.137 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.383e-06/2.412, allocations: 3.953 kB / 1.137 GB, free: 184.9 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007836/2.413, allocations: 446 kB / 1.138 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/2.413, allocations: 86.42 kB / 1.138 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/2.413, allocations: 3.875 kB / 1.138 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/2.414, allocations: 16.06 kB / 1.138 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/2.414, allocations: 15.86 kB / 1.138 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/2.414, allocations: 12.83 kB / 1.138 GB, free: 184.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.78e-05/2.414, allocations: 86.44 kB / 1.138 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.25e-07/2.414, allocations: 0 / 1.138 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008037/2.415, allocations: 163.3 kB / 1.138 GB, free: 184.5 MB / 0.5261 GB 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.001221/2.416, allocations: 0.6373 MB / 1.139 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005657/2.416, allocations: 191.2 kB / 1.139 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.781e-06/2.416, allocations: 0 / 1.139 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/2.417, allocations: 206.1 kB / 1.139 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000431/2.417, allocations: 41 kB / 1.139 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006373/2.418, allocations: 324.4 kB / 1.14 GB, free: 184 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001583/2.418, allocations: 0.7151 MB / 1.14 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000531/2.419, allocations: 48.25 kB / 1.14 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/2.419, allocations: 21.61 kB / 1.14 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of SimCode: time 1.579e-06/2.419, allocations: 4 kB / 1.14 GB, free: 183.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.02254/2.441, allocations: 12.85 MB / 1.153 GB, free: 182.4 MB / 0.5261 GB