Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2Mix") Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 269 MB / 284.1 MB, free: 3.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.93e-05, allocations: 4 kB / 349 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1308, allocations: 61.9 MB / 410.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.5466/0.6774, allocations: 121.5 MB / 0.5199 GB, free: 15.14 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.6799, allocations: 1.254 MB / 0.5212 GB, free: 13.89 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.68, allocations: 0 / 0.5212 GB, free: 13.89 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.6802, allocations: 35.86 kB / 0.5212 GB, free: 13.85 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000881/0.6811, allocations: 259.1 kB / 0.5214 GB, free: 13.6 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.6817, allocations: 124.3 kB / 0.5216 GB, free: 13.48 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001866/0.6819, allocations: 75.88 kB / 0.5216 GB, free: 13.4 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.994e-05/0.6819, allocations: 8 kB / 0.5216 GB, free: 13.39 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.6822, allocations: 79.75 kB / 0.5217 GB, free: 13.32 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.6823, allocations: 39.91 kB / 0.5217 GB, free: 13.28 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.6838, allocations: 447.4 kB / 0.5222 GB, free: 12.84 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.6839, allocations: 20 kB / 0.5222 GB, free: 12.82 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.684, allocations: 23.91 kB / 0.5222 GB, free: 12.8 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.664e-05/0.6841, allocations: 12 kB / 0.5222 GB, free: 12.79 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007698/0.6849, allocations: 272.4 kB / 0.5225 GB, free: 12.52 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6849, allocations: 4 kB / 0.5225 GB, free: 12.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6849, allocations: 0 / 0.5225 GB, free: 12.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.6849, allocations: 4 kB / 0.5225 GB, free: 12.52 MB / 442.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.0006632/0.6856, allocations: 403.3 kB / 0.5229 GB, free: 12.07 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.6856, allocations: 8.031 kB / 0.5229 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003729/0.6894, allocations: 199.6 kB / 0.5231 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.6898, allocations: 206.9 kB / 0.5233 GB, free: 11.63 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.904e-05/0.6898, allocations: 4.188 kB / 0.5233 GB, free: 11.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.791e-05/0.6899, allocations: 15.95 kB / 0.5233 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007815/0.6907, allocations: 199 kB / 0.5235 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.6907, allocations: 0 / 0.5235 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.6908, allocations: 4 kB / 0.5235 GB, free: 11.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6908, allocations: 4 kB / 0.5235 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.6919, allocations: 235.4 kB / 0.5237 GB, free: 11.18 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.002891/0.6948, allocations: 0.6806 MB / 0.5244 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007394/0.6956, allocations: 190.4 kB / 0.5246 GB, free: 10.24 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003681/0.6959, allocations: 105 kB / 0.5247 GB, free: 10.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.696, allocations: 34.56 kB / 0.5247 GB, free: 10.08 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.696, allocations: 0 / 0.5247 GB, free: 10.08 MB / 442.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.009828/0.7058, allocations: 1.528 MB / 0.5262 GB, free: 8.438 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.7059, allocations: 55.41 kB / 0.5262 GB, free: 8.371 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.706, allocations: 105 kB / 0.5263 GB, free: 8.262 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.7061, allocations: 25.7 kB / 0.5264 GB, free: 8.23 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.7062, allocations: 170.7 kB / 0.5265 GB, free: 8.062 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.445e-05/0.7063, allocations: 67.09 kB / 0.5266 GB, free: 7.996 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.7064, allocations: 4 kB / 0.5266 GB, free: 7.992 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.7065, allocations: 326.8 kB / 0.5269 GB, free: 7.664 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.7069, allocations: 83.95 kB / 0.527 GB, free: 7.582 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004077/0.7073, allocations: 123.4 kB / 0.5271 GB, free: 7.449 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004137/0.7077, allocations: 95.98 kB / 0.5272 GB, free: 7.355 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7078, allocations: 4 kB / 0.5272 GB, free: 7.352 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001075/0.7088, allocations: 274.4 kB / 0.5275 GB, free: 7.074 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.7089, allocations: 10.59 kB / 0.5275 GB, free: 7.066 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.7089, allocations: 8.047 kB / 0.5275 GB, free: 7.059 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001759/0.7091, allocations: 28.78 kB / 0.5275 GB, free: 7.027 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008136/0.7099, allocations: 59.95 kB / 0.5276 GB, free: 6.969 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004693/0.7104, allocations: 0.5289 MB / 0.5281 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005211/0.711, allocations: 23.98 kB / 0.5281 GB, free: 6.391 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.345e-05/0.711, allocations: 12 kB / 0.5281 GB, free: 6.379 MB / 442.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.0001795/0.7112, allocations: 129.8 kB / 0.5282 GB, free: 6.242 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.178e-05/0.7113, allocations: 11.84 kB / 0.5283 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/0.7126, allocations: 317.8 kB / 0.5286 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.7127, allocations: 0 / 0.5286 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.7127, allocations: 3.984 kB / 0.5286 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.7127, allocations: 4 kB / 0.5286 GB, free: 5.902 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001749/0.7144, allocations: 0.6716 MB / 0.5292 GB, free: 5.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.7145, allocations: 0 / 0.5292 GB, free: 5.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000817/0.7153, allocations: 51.89 kB / 0.5293 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/0.7154, allocations: 20.84 kB / 0.5293 GB, free: 5.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.7155, allocations: 7.984 kB / 0.5293 GB, free: 5.082 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001261/0.7168, allocations: 1.272 MB / 0.5305 GB, free: 3.676 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.7168, allocations: 3.984 kB / 0.5305 GB, free: 3.672 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.7183, allocations: 494.5 kB / 0.531 GB, free: 3.145 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.316e-05/0.7184, allocations: 85.05 kB / 0.5311 GB, free: 3.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.7184, allocations: 4 kB / 0.5311 GB, free: 3.039 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000589/0.719, allocations: 15.89 kB / 0.5311 GB, free: 3.023 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.7191, allocations: 15.98 kB / 0.5311 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.7192, allocations: 7.984 kB / 0.5311 GB, free: 3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.558e-05/0.7192, allocations: 91.23 kB / 0.5312 GB, free: 2.91 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7193, allocations: 64 / 0.5312 GB, free: 2.91 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000718/0.72, allocations: 139.9 kB / 0.5314 GB, free: 2.773 MB / 442.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.0009556/0.721, allocations: 242.9 kB / 0.5316 GB, free: 2.527 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.722, allocations: 227.8 kB / 0.5318 GB, free: 2.305 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.722, allocations: 0 / 0.5318 GB, free: 2.305 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006187/0.7226, allocations: 230.5 kB / 0.532 GB, free: 2.066 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000568/0.7232, allocations: 48.27 kB / 0.5321 GB, free: 2.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.7246, allocations: 0.5914 MB / 0.5326 GB, free: 1.387 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.725, allocations: 0.7088 MB / 0.5333 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.7253, allocations: 31.42 kB / 0.5334 GB, free: 0.625 MB / 442.7 MB Notification: Performance of SimCode: time 1.442e-06/0.7253, allocations: 3.938 kB / 0.5334 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of Templates: time 0.01339/0.7387, allocations: 5.353 MB / 0.5386 GB, free: 11.27 MB / 458.7 MB