Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.844e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.53/0.6658, allocations: 121.4 MB / 0.5198 GB, free: 15.25 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001626/0.6675, allocations: 0.7764 MB / 0.5206 GB, free: 14.47 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.861e-05/0.6676, allocations: 4.594 kB / 0.5206 GB, free: 14.47 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.6678, allocations: 19.89 kB / 0.5206 GB, free: 14.45 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000613/0.6685, allocations: 181.2 kB / 0.5208 GB, free: 14.27 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.6689, allocations: 91.77 kB / 0.5209 GB, free: 14.18 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.6691, allocations: 67.89 kB / 0.5209 GB, free: 14.12 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.188e-05/0.6691, allocations: 7.984 kB / 0.5209 GB, free: 14.11 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.6694, allocations: 87.69 kB / 0.521 GB, free: 14.02 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.6696, allocations: 43.91 kB / 0.521 GB, free: 13.98 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008962/0.6705, allocations: 275.7 kB / 0.5213 GB, free: 13.71 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.6706, allocations: 16 kB / 0.5213 GB, free: 13.7 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 9.75e-05/0.6707, allocations: 23.92 kB / 0.5214 GB, free: 13.67 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.933e-05/0.6707, allocations: 8 kB / 0.5214 GB, free: 13.66 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000496/0.6712, allocations: 204.5 kB / 0.5216 GB, free: 13.47 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.6713, allocations: 0 / 0.5216 GB, free: 13.47 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6713, allocations: 0 / 0.5216 GB, free: 13.47 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.6713, allocations: 0 / 0.5216 GB, free: 13.47 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000574/0.6719, allocations: 375.2 kB / 0.5219 GB, free: 13.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.6719, allocations: 12.03 kB / 0.5219 GB, free: 13.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003426/0.6754, allocations: 183.6 kB / 0.5221 GB, free: 12.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003609/0.6758, allocations: 214.8 kB / 0.5223 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.6758, allocations: 4 kB / 0.5223 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.6759, allocations: 8 kB / 0.5223 GB, free: 12.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/0.6767, allocations: 220.1 kB / 0.5225 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.6767, allocations: 0 / 0.5225 GB, free: 12.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.482e-05/0.6768, allocations: 8 kB / 0.5225 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.6768, allocations: 0 / 0.5225 GB, free: 12.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007537/0.6776, allocations: 174.6 kB / 0.5227 GB, free: 12.2 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.001523/0.6791, allocations: 0.5756 MB / 0.5233 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005468/0.6797, allocations: 154.3 kB / 0.5234 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.6797, allocations: 3.938 kB / 0.5234 GB, free: 11.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.6798, allocations: 38.56 kB / 0.5234 GB, free: 11.35 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.554e-06/0.6798, allocations: 0 / 0.5234 GB, free: 11.35 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.009094/0.6889, allocations: 1.295 MB / 0.5247 GB, free: 9.965 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.231e-05/0.689, allocations: 55.41 kB / 0.5248 GB, free: 9.898 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.6891, allocations: 105 kB / 0.5249 GB, free: 9.789 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.6891, allocations: 29.7 kB / 0.5249 GB, free: 9.754 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.234e-05/0.6892, allocations: 170.3 kB / 0.5251 GB, free: 9.586 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.281e-05/0.6893, allocations: 63.09 kB / 0.5251 GB, free: 9.523 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.6894, allocations: 4 kB / 0.5251 GB, free: 9.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6895, allocations: 318.8 kB / 0.5254 GB, free: 9.199 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.6898, allocations: 71.95 kB / 0.5255 GB, free: 9.129 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.6901, allocations: 111.4 kB / 0.5256 GB, free: 9.008 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.6904, allocations: 75.92 kB / 0.5257 GB, free: 8.938 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6904, allocations: 0 / 0.5257 GB, free: 8.938 MB / 442.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008588/0.6913, allocations: 263.3 kB / 0.5259 GB, free: 8.672 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.6913, allocations: 4 kB / 0.5259 GB, free: 8.668 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.6913, allocations: 4 kB / 0.5259 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000264/0.6916, allocations: 48.83 kB / 0.526 GB, free: 8.613 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.6922, allocations: 55.91 kB / 0.526 GB, free: 8.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005627/0.6928, allocations: 0.5641 MB / 0.5266 GB, free: 7.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003012/0.6931, allocations: 11.94 kB / 0.5266 GB, free: 7.957 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.796e-05/0.6932, allocations: 27.98 kB / 0.5266 GB, free: 7.93 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.0001773/0.6934, allocations: 123.9 kB / 0.5267 GB, free: 7.801 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.545e-05/0.6935, allocations: 11.91 kB / 0.5267 GB, free: 7.789 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/0.6948, allocations: 344.7 kB / 0.5271 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.6949, allocations: 7.984 kB / 0.5271 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.6949, allocations: 0 / 0.5271 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.6949, allocations: 0 / 0.5271 GB, free: 7.438 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.6964, allocations: 0.6276 MB / 0.5277 GB, free: 6.742 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.6964, allocations: 12.02 kB / 0.5277 GB, free: 6.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006196/0.6971, allocations: 63.89 kB / 0.5278 GB, free: 6.668 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001204/0.6972, allocations: 20.84 kB / 0.5278 GB, free: 6.645 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.657e-05/0.6973, allocations: 15.95 kB / 0.5278 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.6985, allocations: 1.268 MB / 0.529 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6985, allocations: 0 / 0.529 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.6997, allocations: 470.3 kB / 0.5295 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.717e-05/0.6998, allocations: 85.05 kB / 0.5296 GB, free: 4.621 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.354e-05/0.6998, allocations: 15.92 kB / 0.5296 GB, free: 4.605 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.7002, allocations: 3.953 kB / 0.5296 GB, free: 4.602 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.561e-05/0.7003, allocations: 32.03 kB / 0.5296 GB, free: 4.57 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.862e-05/0.7004, allocations: 23.98 kB / 0.5296 GB, free: 4.547 MB / 442.7 MB Notification: Performance of sorting global known variables: time 7.236e-05/0.7005, allocations: 87.28 kB / 0.5297 GB, free: 4.461 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7005, allocations: 0 / 0.5297 GB, free: 4.461 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005726/0.7011, allocations: 83.98 kB / 0.5298 GB, free: 4.379 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 (21): * Single equations (assignments): 20 * 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.0005043/0.7016, allocations: 147.6 kB / 0.5299 GB, free: 4.223 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007682/0.7024, allocations: 199.8 kB / 0.5301 GB, free: 4.027 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.7024, allocations: 4.188 kB / 0.5301 GB, free: 4.023 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005394/0.7029, allocations: 220.9 kB / 0.5304 GB, free: 3.797 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005518/0.7035, allocations: 44.56 kB / 0.5304 GB, free: 3.754 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.7048, allocations: 0.6021 MB / 0.531 GB, free: 3.113 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000333/0.7051, allocations: 0.7088 MB / 0.5317 GB, free: 2.379 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003945/0.7055, allocations: 55.41 kB / 0.5317 GB, free: 2.324 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7056, allocations: 3.938 kB / 0.5317 GB, free: 2.32 MB / 442.7 MB Notification: Performance of Templates: time 0.01021/0.7158, allocations: 3.931 MB / 0.5356 GB, free: 14.39 MB / 458.7 MB