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.232/2.232, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.178e-05, allocations: 4 kB / 304.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 54.85 MB / 359.8 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.045/1.372, allocations: 456.4 MB / 0.7971 GB, free: 98.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/1.373, allocations: 68.09 kB / 0.7971 GB, free: 98.43 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09063/1.463, allocations: 29.75 MB / 0.8262 GB, free: 73.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.949e-06/1.463, allocations: 0 / 0.8262 GB, free: 73.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/1.463, allocations: 4 kB / 0.8262 GB, free: 73.53 MB / 490.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.0004079/1.464, allocations: 385.7 kB / 0.8265 GB, free: 73.12 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/1.464, allocations: 12.03 kB / 0.8266 GB, free: 73.11 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/1.466, allocations: 182.8 kB / 0.8267 GB, free: 72.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/1.466, allocations: 208.9 kB / 0.8269 GB, free: 72.71 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/1.466, allocations: 10.48 kB / 0.8269 GB, free: 72.71 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.371e-05/1.466, allocations: 11.44 kB / 0.827 GB, free: 72.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004623/1.467, allocations: 205.5 kB / 0.8272 GB, free: 72.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/1.467, allocations: 0 / 0.8272 GB, free: 72.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.434e-05/1.467, allocations: 7.062 kB / 0.8272 GB, free: 72.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.099e-06/1.467, allocations: 4 kB / 0.8272 GB, free: 72.53 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003908/1.467, allocations: 158.5 kB / 0.8273 GB, free: 72.43 MB / 490.7 MB 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.001057/1.468, allocations: 0.5799 MB / 0.8279 GB, free: 71.85 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003067/1.469, allocations: 122.4 kB / 0.828 GB, free: 71.76 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/1.469, allocations: 70.47 kB / 0.8281 GB, free: 71.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.38e-05/1.469, allocations: 3.938 kB / 0.8281 GB, free: 71.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/1.469, allocations: 34.56 kB / 0.8281 GB, free: 71.66 MB / 490.7 MB Notification: Performance of pre-optimization done (n=14): time 2.655e-06/1.469, allocations: 0 / 0.8281 GB, free: 71.66 MB / 490.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.005103/1.474, allocations: 1.09 MB / 0.8292 GB, free: 70.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/1.474, allocations: 51.41 kB / 0.8292 GB, free: 70.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/1.474, allocations: 108.4 kB / 0.8293 GB, free: 70.47 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/1.474, allocations: 29.39 kB / 0.8293 GB, free: 70.44 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.097e-05/1.474, allocations: 107.4 kB / 0.8294 GB, free: 70.33 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.737e-05/1.474, allocations: 58.67 kB / 0.8295 GB, free: 70.28 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/1.474, allocations: 3.438 kB / 0.8295 GB, free: 70.28 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.554e-05/1.474, allocations: 322.3 kB / 0.8298 GB, free: 69.96 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/1.475, allocations: 65.48 kB / 0.8299 GB, free: 69.92 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/1.475, allocations: 96.67 kB / 0.83 GB, free: 69.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001805/1.475, allocations: 76.64 kB / 0.83 GB, free: 69.79 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.321e-06/1.475, allocations: 0 / 0.83 GB, free: 69.79 MB / 490.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000533/1.475, allocations: 248.6 kB / 0.8303 GB, free: 69.59 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.476, allocations: 4 kB / 0.8303 GB, free: 69.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.02e-06/1.476, allocations: 12.08 kB / 0.8303 GB, free: 69.58 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/1.476, allocations: 44.53 kB / 0.8303 GB, free: 69.54 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/1.476, allocations: 59.52 kB / 0.8304 GB, free: 69.48 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003704/1.477, allocations: 0.5623 MB / 0.8309 GB, free: 68.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/1.477, allocations: 11.36 kB / 0.831 GB, free: 68.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/1.477, allocations: 35.47 kB / 0.831 GB, free: 68.86 MB / 490.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.0001207/1.477, allocations: 115 kB / 0.8311 GB, free: 68.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/1.477, allocations: 15.89 kB / 0.8311 GB, free: 68.74 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009794/1.478, allocations: 332 kB / 0.8314 GB, free: 68.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/1.478, allocations: 4 kB / 0.8314 GB, free: 68.47 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.54e-06/1.478, allocations: 3.953 kB / 0.8314 GB, free: 68.47 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/1.478, allocations: 3.984 kB / 0.8314 GB, free: 68.46 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/1.479, allocations: 0.5985 MB / 0.832 GB, free: 67.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.297e-06/1.479, allocations: 0 / 0.832 GB, free: 67.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004146/1.48, allocations: 59.91 kB / 0.8321 GB, free: 67.83 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/1.48, allocations: 24.72 kB / 0.8321 GB, free: 67.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.909e-05/1.48, allocations: 15.92 kB / 0.8321 GB, free: 67.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007716/1.481, allocations: 1.264 MB / 0.8334 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.25e-06/1.481, allocations: 0 / 0.8334 GB, free: 66.44 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/1.481, allocations: 455.9 kB / 0.8338 GB, free: 66.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.871e-05/1.481, allocations: 85.05 kB / 0.8339 GB, free: 65.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/1.481, allocations: 11.45 kB / 0.8339 GB, free: 65.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/1.482, allocations: 12.05 kB / 0.8339 GB, free: 65.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/1.482, allocations: 23.84 kB / 0.8339 GB, free: 65.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/1.482, allocations: 31.42 kB / 0.8339 GB, free: 65.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.82e-05/1.482, allocations: 83.03 kB / 0.834 GB, free: 65.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.88e-07/1.482, allocations: 0 / 0.834 GB, free: 65.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0006424/1.483, allocations: 113.5 kB / 0.8341 GB, free: 65.69 MB / 490.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.0008542/1.483, allocations: 0.5444 MB / 0.8347 GB, free: 65.16 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005198/1.484, allocations: 185.5 kB / 0.8348 GB, free: 65.02 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.696e-06/1.484, allocations: 4.188 kB / 0.8348 GB, free: 65.02 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003215/1.484, allocations: 214.1 kB / 0.8351 GB, free: 64.82 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/1.485, allocations: 39.98 kB / 0.8351 GB, free: 64.79 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006535/1.485, allocations: 324.4 kB / 0.8354 GB, free: 64.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001503/1.486, allocations: 0.7127 MB / 0.8361 GB, free: 63.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006558/1.486, allocations: 77.17 kB / 0.8362 GB, free: 63.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/1.487, allocations: 51.34 kB / 0.8362 GB, free: 63.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.788e-06/1.487, allocations: 4 kB / 0.8362 GB, free: 63.61 MB / 490.7 MB Notification: Performance of Templates: time 0.02151/1.508, allocations: 12.55 MB / 0.8485 GB, free: 51.09 MB / 490.7 MB