Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 2.341/2.341, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.479e-05/3.514e-05, allocations: 3.984 kB / 348.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3758, allocations: 61.87 MB / 410.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.804/2.18, allocations: 0.6961 GB / 1.097 GB, free: 23.84 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/2.18, allocations: 75.89 kB / 1.097 GB, free: 23.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.3965/2.577, allocations: 34.04 MB / 1.13 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.99e-06/2.577, allocations: 0 / 1.13 GB, free: 189.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.356e-05/2.577, allocations: 2.125 kB / 1.13 GB, free: 189.4 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.0005592/2.577, allocations: 409.5 kB / 1.13 GB, free: 189 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/2.577, allocations: 12.41 kB / 1.13 GB, free: 189 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002234/2.58, allocations: 196.4 kB / 1.131 GB, free: 189 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002461/2.58, allocations: 207.4 kB / 1.131 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/2.58, allocations: 7.062 kB / 1.131 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.139e-05/2.58, allocations: 11.72 kB / 1.131 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/2.581, allocations: 190 kB / 1.131 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/2.581, allocations: 0 / 1.131 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/2.581, allocations: 6.906 kB / 1.131 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.285e-06/2.581, allocations: 3.938 kB / 1.131 GB, free: 188.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/2.581, allocations: 187.1 kB / 1.131 GB, free: 188.8 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.001566/2.583, allocations: 0.6114 MB / 1.132 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003153/2.583, allocations: 152.3 kB / 1.132 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/2.583, allocations: 72.61 kB / 1.132 GB, free: 188.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/2.583, allocations: 95.91 kB / 1.132 GB, free: 188.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/2.583, allocations: 40.06 kB / 1.132 GB, free: 188.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 3.598e-06/2.584, allocations: 0 / 1.132 GB, free: 188.2 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.005159/2.589, allocations: 1.198 MB / 1.133 GB, free: 187.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/2.589, allocations: 58.08 kB / 1.133 GB, free: 187.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.564e-05/2.589, allocations: 100.9 kB / 1.133 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/2.589, allocations: 31.08 kB / 1.134 GB, free: 187.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/2.589, allocations: 102.8 kB / 1.134 GB, free: 187.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/2.589, allocations: 65.06 kB / 1.134 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/2.589, allocations: 6.188 kB / 1.134 GB, free: 187.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.537e-05/2.589, allocations: 323.6 kB / 1.134 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001675/2.589, allocations: 78.77 kB / 1.134 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/2.589, allocations: 102.6 kB / 1.134 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/2.59, allocations: 91.41 kB / 1.134 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.161e-06/2.59, allocations: 0 / 1.134 GB, free: 187.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005747/2.59, allocations: 239.5 kB / 1.134 GB, free: 187 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/2.59, allocations: 5.781 kB / 1.134 GB, free: 187 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.199e-06/2.59, allocations: 3.875 kB / 1.134 GB, free: 187 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001684/2.591, allocations: 24.66 kB / 1.134 GB, free: 187 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/2.591, allocations: 51.38 kB / 1.135 GB, free: 187 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002991/2.591, allocations: 0.5454 MB / 1.135 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/2.592, allocations: 18.59 kB / 1.135 GB, free: 186.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-05/2.592, allocations: 9.344 kB / 1.135 GB, free: 186.5 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.0001084/2.592, allocations: 114 kB / 1.135 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.453e-05/2.592, allocations: 16.33 kB / 1.135 GB, free: 186.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000754/2.593, allocations: 270 kB / 1.135 GB, free: 186.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-06/2.593, allocations: 3.312 kB / 1.135 GB, free: 186.3 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.366e-06/2.593, allocations: 0 / 1.135 GB, free: 186.3 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/2.593, allocations: 3.141 kB / 1.135 GB, free: 186.3 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001153/2.594, allocations: 0.6388 MB / 1.136 GB, free: 186 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.068e-06/2.594, allocations: 2.594 kB / 1.136 GB, free: 186 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005238/2.594, allocations: 49.33 kB / 1.136 GB, free: 186 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/2.595, allocations: 20.09 kB / 1.136 GB, free: 186 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/2.595, allocations: 11.58 kB / 1.136 GB, free: 186 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007769/2.595, allocations: 1.257 MB / 1.137 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.814e-06/2.595, allocations: 5.844 kB / 1.137 GB, free: 184.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/2.596, allocations: 454.9 kB / 1.138 GB, free: 184.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/2.596, allocations: 81.02 kB / 1.138 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.095e-05/2.596, allocations: 7 kB / 1.138 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003445/2.597, allocations: 13.09 kB / 1.138 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/2.597, allocations: 23.22 kB / 1.138 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-05/2.597, allocations: 12.62 kB / 1.138 GB, free: 184.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.798e-05/2.597, allocations: 87.62 kB / 1.138 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.19e-07/2.597, allocations: 6 kB / 1.138 GB, free: 184.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0008178/2.598, allocations: 168.4 kB / 1.138 GB, free: 184.3 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.001226/2.599, allocations: 0.6214 MB / 1.139 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005575/2.599, allocations: 194.3 kB / 1.139 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/2.6, allocations: 0 / 1.139 GB, free: 184.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003289/2.6, allocations: 207.2 kB / 1.139 GB, free: 184.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004431/2.6, allocations: 48.55 kB / 1.139 GB, free: 184.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006196/2.601, allocations: 310.6 kB / 1.14 GB, free: 183.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000162/2.601, allocations: 0.708 MB / 1.14 GB, free: 183.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0005316/2.602, allocations: 53.45 kB / 1.14 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/2.602, allocations: 22 kB / 1.14 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.978e-06/2.602, allocations: 0 / 1.14 GB, free: 183.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.02969/2.632, allocations: 12.86 MB / 1.153 GB, free: 182.2 MB / 0.5261 GB