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_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.771/2.771, allocations: 234.9 MB / 250.1 MB, free: 9.945 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.518e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3957, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2035/0.5993, allocations: 121.3 MB / 484.2 MB, free: 4.184 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001701/0.601, allocations: 0.7679 MB / 485 MB, free: 3.414 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.6011, allocations: 0 / 485 MB, free: 3.414 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002224/0.6014, allocations: 35.8 kB / 485 MB, free: 3.379 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006749/0.602, allocations: 175.4 kB / 485.2 MB, free: 3.207 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004407/0.6025, allocations: 91.77 kB / 485.3 MB, free: 3.117 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.6027, allocations: 83.81 kB / 485.3 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.6028, allocations: 0 / 485.3 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002949/0.6031, allocations: 79.81 kB / 485.4 MB, free: 2.957 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.6032, allocations: 35.91 kB / 485.5 MB, free: 2.922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009709/0.6042, allocations: 291.6 kB / 485.7 MB, free: 2.637 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.4e-05/0.6043, allocations: 12 kB / 485.8 MB, free: 2.625 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.6044, allocations: 19.97 kB / 485.8 MB, free: 2.605 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.707e-05/0.6044, allocations: 16 kB / 485.8 MB, free: 2.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005026/0.605, allocations: 197.4 kB / 486 MB, free: 2.398 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.605, allocations: 0 / 486 MB, free: 2.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.963e-06/0.605, allocations: 0 / 486 MB, free: 2.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.605, allocations: 0 / 486 MB, free: 2.398 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.0006021/0.6056, allocations: 387.1 kB / 486.4 MB, free: 1.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.6057, allocations: 15.97 kB / 486.4 MB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.6091, allocations: 183.6 kB / 486.6 MB, free: 1.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.6095, allocations: 199 kB / 486.7 MB, free: 1.543 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.6096, allocations: 4 kB / 486.7 MB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.056e-05/0.6097, allocations: 15.98 kB / 486.8 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008224/0.6105, allocations: 225.1 kB / 487 MB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.6105, allocations: 8 kB / 487 MB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.6106, allocations: 4 kB / 487 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.6106, allocations: 0 / 487 MB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00079/0.6114, allocations: 167.8 kB / 487.2 MB, free: 1.113 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.001584/0.613, allocations: 0.5811 MB / 487.7 MB, free: 488 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005584/0.6136, allocations: 134.5 kB / 487.9 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.6137, allocations: 0 / 487.9 MB, free: 344 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/0.6137, allocations: 38.5 kB / 487.9 MB, free: 296 kB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.893e-06/0.6137, allocations: 0 / 487.9 MB, free: 296 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.009141/0.6229, allocations: 1.314 MB / 489.2 MB, free: 14.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.623, allocations: 59.41 kB / 489.3 MB, free: 14.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.6231, allocations: 101 kB / 489.4 MB, free: 14.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.6232, allocations: 25.7 kB / 489.4 MB, free: 14.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.6233, allocations: 174.4 kB / 489.6 MB, free: 14.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.152e-05/0.6234, allocations: 63.02 kB / 489.6 MB, free: 14.44 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.6234, allocations: 4 kB / 489.6 MB, free: 14.44 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.6236, allocations: 322.8 kB / 490 MB, free: 14.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000274/0.6239, allocations: 63.97 kB / 490 MB, free: 14.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.6242, allocations: 103.5 kB / 490.1 MB, free: 13.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.6245, allocations: 82.23 kB / 490.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.6245, allocations: 0 / 490.2 MB, free: 13.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008585/0.6254, allocations: 261.4 kB / 490.5 MB, free: 13.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6254, allocations: 8 kB / 490.5 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.6254, allocations: 0 / 490.5 MB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.6257, allocations: 52.88 kB / 490.5 MB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000584/0.6263, allocations: 59.89 kB / 490.6 MB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006092/0.6269, allocations: 0.5563 MB / 491.1 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.6273, allocations: 8.016 kB / 491.1 MB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.286e-05/0.6274, allocations: 28 kB / 491.2 MB, free: 12.86 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.000185/0.6276, allocations: 125.9 kB / 491.3 MB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.6277, allocations: 19.78 kB / 491.3 MB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001389/0.6291, allocations: 347.2 kB / 491.6 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.6291, allocations: 0 / 491.6 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.6291, allocations: 3.984 kB / 491.7 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.6291, allocations: 0 / 491.7 MB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.6307, allocations: 0.623 MB / 492.3 MB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.6307, allocations: 0 / 492.3 MB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/0.6314, allocations: 63.95 kB / 492.3 MB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001279/0.6316, allocations: 20.84 kB / 492.4 MB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.6316, allocations: 16.08 kB / 492.4 MB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001393/0.633, allocations: 1.272 MB / 493.6 MB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6331, allocations: 4.203 kB / 493.6 MB, free: 10.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.6343, allocations: 468.8 kB / 494.1 MB, free: 9.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.229e-05/0.6344, allocations: 88.95 kB / 494.2 MB, free: 9.543 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.441e-05/0.6345, allocations: 8 kB / 494.2 MB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003747/0.6349, allocations: 8 kB / 494.2 MB, free: 9.527 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.635, allocations: 27.86 kB / 494.2 MB, free: 9.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/0.6351, allocations: 27.98 kB / 494.3 MB, free: 9.473 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.35e-05/0.6352, allocations: 91.27 kB / 494.4 MB, free: 9.383 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.604e-06/0.6352, allocations: 0 / 494.4 MB, free: 9.383 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005835/0.6358, allocations: 84 kB / 494.4 MB, free: 9.301 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.0005249/0.6363, allocations: 147.6 kB / 494.6 MB, free: 9.145 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008445/0.6372, allocations: 203.2 kB / 494.8 MB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.6372, allocations: 0 / 494.8 MB, free: 8.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005321/0.6378, allocations: 222.6 kB / 495 MB, free: 8.719 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.6384, allocations: 48.69 kB / 495 MB, free: 8.676 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.6397, allocations: 0.5777 MB / 495.6 MB, free: 8.055 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000353/0.6401, allocations: 0.7088 MB / 496.3 MB, free: 7.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.6405, allocations: 63.38 kB / 496.4 MB, free: 7.262 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6405, allocations: 0 / 496.4 MB, free: 7.262 MB / 426.7 MB Notification: Performance of Templates: time 0.01071/0.6512, allocations: 3.94 MB / 0.4886 GB, free: 3.32 MB / 426.7 MB