Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(Modelica): time 2.03/2.03, allocations: 194.9 MB / 211.2 MB, free: 8.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.87e-05/2.882e-05, allocations: 3.906 kB / 258.8 MB, free: 8.516 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3201, allocations: 44.51 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.5347/0.8549, allocations: 132.6 MB / 435.9 MB, free: 1.637 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003425/0.8584, allocations: 1.821 MB / 437.7 MB, free: 1.598 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004894/0.8589, allocations: 2.812 kB / 437.7 MB, free: 1.598 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.8595, allocations: 137.9 kB / 437.8 MB, free: 1.594 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009903/0.8606, allocations: 245.2 kB / 438.1 MB, free: 1.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001084/0.8617, allocations: 273.6 kB / 438.4 MB, free: 1.57 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009905/0.8627, allocations: 359.2 kB / 438.7 MB, free: 1.566 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001861/0.8629, allocations: 42.23 kB / 438.7 MB, free: 1.562 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.8644, allocations: 406 kB / 439.1 MB, free: 1.559 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.8648, allocations: 155.4 kB / 439.3 MB, free: 1.559 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004634/0.8653, allocations: 108 kB / 439.4 MB, free: 1.555 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 9.886e-05/0.8654, allocations: 15.16 kB / 439.4 MB, free: 1.555 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.8655, allocations: 76.86 kB / 439.5 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.8657, allocations: 39.47 kB / 439.5 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006612/0.8664, allocations: 404 kB / 439.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.8664, allocations: 0 / 439.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.8664, allocations: 0 / 439.9 MB, free: 1.527 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.77e-05/0.8665, allocations: 3.938 kB / 439.9 MB, free: 1.523 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001082/0.8675, allocations: 0.4989 MB / 440.4 MB, free: 17.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.8676, allocations: 9.281 kB / 440.4 MB, free: 17.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004574/0.8681, allocations: 50.78 kB / 440.5 MB, free: 17.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.8686, allocations: 268.3 kB / 440.7 MB, free: 16.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.8687, allocations: 21.5 kB / 440.8 MB, free: 16.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.698e-05/0.8688, allocations: 20.66 kB / 440.8 MB, free: 16.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006844/0.8694, allocations: 316.5 kB / 441.1 MB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.8695, allocations: 5.406 kB / 441.1 MB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.8696, allocations: 8.438 kB / 441.1 MB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.8696, allocations: 11.33 kB / 441.1 MB, free: 16.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004768/0.8701, allocations: 203 kB / 441.3 MB, free: 16.77 MB / 378.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.002583/0.8727, allocations: 1.569 MB / 442.9 MB, free: 15.58 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.8731, allocations: 181.8 kB / 443.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.156e-05/0.8732, allocations: 5.812 kB / 443.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.502e-05/0.8732, allocations: 39.88 kB / 443.1 MB, free: 15.51 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 2.996e-06/0.8733, allocations: 0 / 443.1 MB, free: 15.51 MB / 378.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: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.009364/0.8826, allocations: 1.621 MB / 444.7 MB, free: 14.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.8827, allocations: 54.62 kB / 444.8 MB, free: 14.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000344/0.8831, allocations: 234.7 kB / 445 MB, free: 14.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.906e-05/0.8832, allocations: 34.48 kB / 445 MB, free: 14.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.8833, allocations: 235.9 kB / 445.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.292e-05/0.8834, allocations: 100.3 kB / 445.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.8835, allocations: 3.312 kB / 445.4 MB, free: 14.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8836, allocations: 325.2 kB / 445.7 MB, free: 14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/0.8839, allocations: 85.16 kB / 445.8 MB, free: 14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.8842, allocations: 183.6 kB / 446 MB, free: 13.89 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003203/0.8845, allocations: 114.5 kB / 446.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.8845, allocations: 0 / 446.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001006/0.8856, allocations: 388.1 kB / 446.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.8856, allocations: 5.781 kB / 446.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.8856, allocations: 2.594 kB / 446.5 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003117/0.8859, allocations: 77.39 kB / 446.5 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006252/0.8866, allocations: 83.38 kB / 446.6 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002032/0.8886, allocations: 1.861 MB / 448.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.8892, allocations: 16.56 kB / 448.5 MB, free: 12.03 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.958e-05/0.8893, allocations: 39.56 kB / 448.5 MB, free: 12.03 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000277/0.8895, allocations: 157.1 kB / 448.7 MB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.441e-05/0.8897, allocations: 34.06 kB / 448.7 MB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.8918, allocations: 439.7 kB / 449.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/0.8919, allocations: 1.844 kB / 449.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.8919, allocations: 2.719 kB / 449.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.8931, allocations: 0.56 MB / 449.7 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.8953, allocations: 0.7195 MB / 450.4 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.8953, allocations: 0 / 450.4 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008589/0.8962, allocations: 75.25 kB / 450.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001704/0.8964, allocations: 27.34 kB / 450.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.935e-05/0.8965, allocations: 14.38 kB / 450.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001797/0.8983, allocations: 1.293 MB / 451.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.698e-06/0.8984, allocations: 0 / 451.8 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001595/0.9, allocations: 0.4991 MB / 452.3 MB, free: 9.5 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002317/0.9003, allocations: 107.4 kB / 452.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/0.9005, allocations: 8.438 kB / 452.5 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006742/0.9012, allocations: 12.12 kB / 452.5 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.9013, allocations: 29.97 kB / 452.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.9014, allocations: 30.48 kB / 452.5 MB, free: 9.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004153/0.9018, allocations: 186.9 kB / 452.7 MB, free: 9.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.9019, allocations: 0 / 452.7 MB, free: 9.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001212/0.9031, allocations: 134 kB / 452.8 MB, free: 9.289 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.0007574/0.9039, allocations: 143.8 kB / 453 MB, free: 9.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.9054, allocations: 382.7 kB / 453.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/0.9054, allocations: 2.562 kB / 453.4 MB, free: 9.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006273/0.9061, allocations: 231.4 kB / 453.6 MB, free: 8.957 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002491/0.9086, allocations: 154 kB / 453.7 MB, free: 8.949 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.9114, allocations: 0.8551 MB / 454.6 MB, free: 8.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005908/0.9121, allocations: 0.7752 MB / 455.4 MB, free: 7.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007194/0.9129, allocations: 75.38 kB / 455.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of SimCode: time 1.463e-06/0.9129, allocations: 0 / 455.4 MB, free: 7.738 MB / 378.7 MB Notification: Performance of Templates: time 0.01968/0.9326, allocations: 7.476 MB / 462.9 MB, free: 6.223 MB / 378.7 MB