Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.58/2.58, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.893e-05, allocations: 0 / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3758, allocations: 54.86 MB / 362.9 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2435/0.6195, allocations: 121.3 MB / 484.2 MB, free: 4.098 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002326/0.6219, allocations: 0.7717 MB / 485 MB, free: 3.324 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.622, allocations: 0 / 485 MB, free: 3.324 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002816/0.6223, allocations: 27.81 kB / 485 MB, free: 3.297 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009647/0.6233, allocations: 183.3 kB / 485.2 MB, free: 3.117 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.6239, allocations: 87.78 kB / 485.3 MB, free: 3.031 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002961/0.6243, allocations: 83.81 kB / 485.4 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.6243, allocations: 0 / 485.4 MB, free: 2.949 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000373/0.6247, allocations: 79.81 kB / 485.4 MB, free: 2.871 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.6249, allocations: 43.84 kB / 485.5 MB, free: 2.828 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001488/0.6264, allocations: 287.7 kB / 485.8 MB, free: 2.547 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.6266, allocations: 16 kB / 485.8 MB, free: 2.531 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001006/0.6267, allocations: 19.92 kB / 485.8 MB, free: 2.512 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.02122/0.6479, allocations: 12 kB / 485.8 MB, free: 2.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007958/0.6488, allocations: 194 kB / 486 MB, free: 2.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6488, allocations: 0 / 486 MB, free: 2.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.6488, allocations: 0 / 486 MB, free: 2.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.206e-05/0.6489, allocations: 4 kB / 486 MB, free: 2.309 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006999/0.6496, allocations: 379.1 kB / 486.4 MB, free: 1.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.6496, allocations: 12.03 kB / 486.4 MB, free: 1.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/0.6544, allocations: 187.6 kB / 486.6 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01431/0.6688, allocations: 203 kB / 486.8 MB, free: 1.457 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.6689, allocations: 8 kB / 486.8 MB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.669, allocations: 11.94 kB / 486.8 MB, free: 1.438 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.6701, allocations: 225.5 kB / 487 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.6702, allocations: 0 / 487 MB, free: 1.203 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/0.6702, allocations: 8 kB / 487 MB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.6703, allocations: 3.938 kB / 487 MB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.6714, allocations: 175.8 kB / 487.2 MB, free: 1.02 MB / 410.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.002273/0.6737, allocations: 0.5733 MB / 487.8 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007952/0.6745, allocations: 142.5 kB / 487.9 MB, free: 248 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.474e-05/0.6746, allocations: 3.984 kB / 487.9 MB, free: 244 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.672e-05/0.6747, allocations: 34.56 kB / 487.9 MB, free: 200 kB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 4.378e-06/0.6747, allocations: 0 / 487.9 MB, free: 200 kB / 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.02147/0.6962, allocations: 1.312 MB / 489.3 MB, free: 14.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.768e-05/0.6962, allocations: 55.41 kB / 489.3 MB, free: 14.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.6964, allocations: 101 kB / 489.4 MB, free: 14.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.6964, allocations: 29.7 kB / 489.4 MB, free: 14.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.25e-05/0.6965, allocations: 95.98 kB / 489.5 MB, free: 14.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.6966, allocations: 70.91 kB / 489.6 MB, free: 14.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.6967, allocations: 4 kB / 489.6 MB, free: 14.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6968, allocations: 322.8 kB / 489.9 MB, free: 14.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002817/0.6971, allocations: 67.95 kB / 490 MB, free: 14.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002888/0.6974, allocations: 103.5 kB / 490.1 MB, free: 13.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/0.6977, allocations: 82.17 kB / 490.2 MB, free: 13.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6978, allocations: 0 / 490.2 MB, free: 13.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008154/0.6986, allocations: 261.4 kB / 490.4 MB, free: 13.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.6986, allocations: 8 kB / 490.4 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.6986, allocations: 0 / 490.4 MB, free: 13.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000297/0.6989, allocations: 52.78 kB / 490.5 MB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.6995, allocations: 51.91 kB / 490.5 MB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005649/0.7001, allocations: 0.5684 MB / 491.1 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.7004, allocations: 3.906 kB / 491.1 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.969e-05/0.7005, allocations: 31.98 kB / 491.1 MB, free: 12.82 MB / 426.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.0001625/0.7007, allocations: 121.8 kB / 491.3 MB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.675e-05/0.7008, allocations: 15.86 kB / 491.3 MB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.7021, allocations: 347.1 kB / 491.6 MB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.7021, allocations: 3.984 kB / 491.6 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.7021, allocations: 4 kB / 491.6 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.7022, allocations: 0 / 491.6 MB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.7036, allocations: 0.6124 MB / 492.2 MB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.7037, allocations: 4 kB / 492.2 MB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/0.7043, allocations: 59.95 kB / 492.3 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/0.7044, allocations: 24.72 kB / 492.3 MB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.739e-05/0.7045, allocations: 19.98 kB / 492.3 MB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.7057, allocations: 1.272 MB / 493.6 MB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.7057, allocations: 7.891 kB / 493.6 MB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.7069, allocations: 460.9 kB / 494.1 MB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.769e-05/0.707, allocations: 85.05 kB / 494.2 MB, free: 9.523 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.7071, allocations: 12.05 kB / 494.2 MB, free: 9.512 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003704/0.7075, allocations: 12 kB / 494.2 MB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.284e-05/0.7075, allocations: 27.86 kB / 494.2 MB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.373e-05/0.7076, allocations: 31.98 kB / 494.2 MB, free: 9.441 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.789e-05/0.7077, allocations: 83.28 kB / 494.3 MB, free: 9.359 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.747e-06/0.7077, allocations: 0 / 494.3 MB, free: 9.359 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005766/0.7083, allocations: 83.92 kB / 494.4 MB, free: 9.277 MB / 426.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.0005033/0.7088, allocations: 147.6 kB / 494.5 MB, free: 9.121 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00076/0.7096, allocations: 210.8 kB / 494.7 MB, free: 8.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/0.7096, allocations: 4 kB / 494.7 MB, free: 8.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005021/0.7101, allocations: 214.6 kB / 495 MB, free: 8.691 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.7107, allocations: 47.5 kB / 495 MB, free: 8.648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.7119, allocations: 0.5537 MB / 495.6 MB, free: 8.059 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/0.7122, allocations: 0.7126 MB / 496.3 MB, free: 7.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007402/0.713, allocations: 81.39 kB / 496.4 MB, free: 7.242 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003444/0.7134, allocations: 55.39 kB / 496.4 MB, free: 7.188 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7134, allocations: 0 / 496.4 MB, free: 7.188 MB / 426.7 MB Notification: Performance of Templates: time 0.01332/0.7267, allocations: 4.825 MB / 0.4895 GB, free: 2.383 MB / 426.7 MB