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.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air") Notification: Performance of loadModel(Modelica): time 1.717/1.717, allocations: 171.1 MB / 186.3 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.536e-05, allocations: 0 / 228.1 MB, free: 7.965 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1365, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air): time 0.4799/0.6165, allocations: 132.6 MB / 399.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004111/0.6206, allocations: 1.822 MB / 401.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003882/0.6211, allocations: 4 kB / 401.3 MB, free: 12.31 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007809/0.6219, allocations: 139.3 kB / 401.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001123/0.623, allocations: 247.2 kB / 401.7 MB, free: 11.93 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.6245, allocations: 267.4 kB / 401.9 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001042/0.6256, allocations: 367 kB / 402.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.6258, allocations: 35.95 kB / 402.3 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.6275, allocations: 403.1 kB / 402.7 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.628, allocations: 159.5 kB / 402.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005718/0.6285, allocations: 99.88 kB / 403 MB, free: 10.63 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.6287, allocations: 16 kB / 403 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001753/0.6289, allocations: 71.8 kB / 403.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.6291, allocations: 44 kB / 403.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009354/0.63, allocations: 407.9 kB / 403.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.6301, allocations: 0 / 403.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.6301, allocations: 4 kB / 403.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.426e-05/0.6301, allocations: 3.938 kB / 403.5 MB, free: 10.1 MB / 330.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.001213/0.6313, allocations: 0.4991 MB / 404 MB, free: 9.547 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.6314, allocations: 16.02 kB / 404 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005836/0.632, allocations: 43.62 kB / 404.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.6327, allocations: 278.5 kB / 404.3 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.931e-05/0.6328, allocations: 20.56 kB / 404.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.77e-05/0.6329, allocations: 24 kB / 404.4 MB, free: 9.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.634, allocations: 311.7 kB / 404.7 MB, free: 8.801 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.6341, allocations: 7.844 kB / 404.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-05/0.6342, allocations: 12 kB / 404.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.6342, allocations: 7.953 kB / 404.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008128/0.635, allocations: 207.8 kB / 404.9 MB, free: 8.574 MB / 330.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.003866/0.6389, allocations: 1.574 MB / 406.5 MB, free: 6.852 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.6396, allocations: 162.8 kB / 406.7 MB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-05/0.6397, allocations: 7.984 kB / 406.7 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/0.6398, allocations: 46.5 kB / 406.7 MB, free: 6.621 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 3.967e-06/0.6398, allocations: 0 / 406.7 MB, free: 6.621 MB / 330.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.0136/0.6534, allocations: 1.616 MB / 408.3 MB, free: 4.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.6535, allocations: 55.41 kB / 408.4 MB, free: 4.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005615/0.6541, allocations: 228 kB / 408.6 MB, free: 4.578 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.372e-05/0.6542, allocations: 33.7 kB / 408.6 MB, free: 4.539 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/0.6545, allocations: 230.7 kB / 408.9 MB, free: 4.312 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.6547, allocations: 90.66 kB / 408.9 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.423e-05/0.6547, allocations: 12 kB / 409 MB, free: 4.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.6549, allocations: 318.8 kB / 409.3 MB, free: 3.891 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004175/0.6554, allocations: 87.95 kB / 409.4 MB, free: 3.805 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005416/0.6559, allocations: 199.5 kB / 409.5 MB, free: 3.566 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005376/0.6565, allocations: 124.4 kB / 409.7 MB, free: 3.445 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.6565, allocations: 3.938 kB / 409.7 MB, free: 3.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001568/0.6581, allocations: 378.8 kB / 410 MB, free: 3.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.68e-05/0.6581, allocations: 8 kB / 410.1 MB, free: 3.051 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.6582, allocations: 4 kB / 410.1 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004517/0.6586, allocations: 81.61 kB / 410.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008878/0.6596, allocations: 92.25 kB / 410.2 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002831/0.6624, allocations: 1.856 MB / 412.1 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.6632, allocations: 19.91 kB / 412.1 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001326/0.6633, allocations: 39.98 kB / 412.1 MB, free: 0.8008 MB / 330.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.0003876/0.6637, allocations: 161.7 kB / 412.3 MB, free: 0.6328 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.6639, allocations: 35.66 kB / 412.3 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002346/0.6663, allocations: 435.9 kB / 412.8 MB, free: 156 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.6663, allocations: 4 kB / 412.8 MB, free: 152 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.6663, allocations: 4 kB / 412.8 MB, free: 148 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001153/0.6675, allocations: 0.5591 MB / 413.3 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002226/0.6698, allocations: 0.7193 MB / 414 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.6698, allocations: 0 / 414 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008089/0.6706, allocations: 75.91 kB / 414.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000161/0.6708, allocations: 28.84 kB / 414.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-05/0.6709, allocations: 12 kB / 414.2 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.6725, allocations: 1.284 MB / 415.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6725, allocations: 3.938 kB / 415.4 MB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.6741, allocations: 0.4933 MB / 415.9 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.6743, allocations: 100.8 kB / 416 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.6745, allocations: 8 kB / 416 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006826/0.6752, allocations: 15.98 kB / 416.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.6753, allocations: 27.88 kB / 416.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.6754, allocations: 31.98 kB / 416.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004366/0.6759, allocations: 186 kB / 416.3 MB, free: 12.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6759, allocations: 4 kB / 416.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001247/0.6772, allocations: 127.9 kB / 416.4 MB, free: 12.13 MB / 346.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.0007732/0.678, allocations: 155.1 kB / 416.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001401/0.6794, allocations: 366.4 kB / 416.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.6794, allocations: 0 / 416.9 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006138/0.6801, allocations: 231.5 kB / 417.2 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/0.6822, allocations: 169 kB / 417.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/0.6848, allocations: 0.8466 MB / 418.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006049/0.6855, allocations: 0.7687 MB / 418.9 MB, free: 9.52 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007009/0.6862, allocations: 75.41 kB / 419 MB, free: 9.445 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/0.6862, allocations: 0 / 419 MB, free: 9.445 MB / 346.7 MB Notification: Performance of Templates: time 0.02187/0.7081, allocations: 7.487 MB / 426.5 MB, free: 1.969 MB / 346.7 MB