Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 1.954/1.954, allocations: 209.3 MB / 223.8 MB, free: 0.582 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.388e-05, allocations: 0 / 276.2 MB, free: 15.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3564/0.3565, allocations: 48.7 MB / 324.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2289/0.5854, allocations: 121.3 MB / 446.2 MB, free: 5.863 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001521/0.587, allocations: 0.7679 MB / 447 MB, free: 5.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.5871, allocations: 3.828 kB / 447 MB, free: 5.094 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002235/0.5873, allocations: 27.88 kB / 447 MB, free: 5.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005407/0.5879, allocations: 183.3 kB / 447.2 MB, free: 4.887 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004072/0.5883, allocations: 83.84 kB / 447.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001935/0.5885, allocations: 83.81 kB / 447.3 MB, free: 4.723 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.496e-05/0.5885, allocations: 3.984 kB / 447.3 MB, free: 4.719 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.5888, allocations: 79.83 kB / 447.4 MB, free: 4.641 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.5889, allocations: 47.84 kB / 447.5 MB, free: 4.594 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008277/0.5898, allocations: 283.7 kB / 447.7 MB, free: 4.316 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.417e-05/0.5899, allocations: 16 kB / 447.8 MB, free: 4.301 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.375e-05/0.5899, allocations: 15.92 kB / 447.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.59, allocations: 12 kB / 447.8 MB, free: 4.273 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004432/0.5904, allocations: 192.9 kB / 448 MB, free: 4.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.5905, allocations: 0 / 448 MB, free: 4.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5905, allocations: 4 kB / 448 MB, free: 4.086 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.5905, allocations: 4 kB / 448 MB, free: 4.082 MB / 378.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.0005171/0.591, allocations: 383.1 kB / 448.4 MB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.5911, allocations: 8.031 kB / 448.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003394/0.5945, allocations: 196.1 kB / 448.6 MB, free: 3.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.5948, allocations: 206.9 kB / 448.8 MB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.5948, allocations: 11.94 kB / 448.8 MB, free: 3.207 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.688e-05/0.5949, allocations: 8 kB / 448.8 MB, free: 3.199 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008039/0.5957, allocations: 223.8 kB / 449 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.5958, allocations: 7.938 kB / 449 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.738e-05/0.5958, allocations: 0 / 449 MB, free: 2.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/0.5958, allocations: 4 kB / 449 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007516/0.5966, allocations: 171.8 kB / 449.2 MB, free: 2.789 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.001427/0.598, allocations: 0.5755 MB / 449.7 MB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.5986, allocations: 146.4 kB / 449.9 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.158e-05/0.5986, allocations: 4 kB / 449.9 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.5987, allocations: 31.31 kB / 449.9 MB, free: 1.961 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.5987, allocations: 0 / 449.9 MB, free: 1.961 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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.008641/0.6073, allocations: 1.301 MB / 451.2 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.6074, allocations: 51.41 kB / 451.3 MB, free: 0.5039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.6075, allocations: 105 kB / 451.4 MB, free: 404 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.6075, allocations: 29.7 kB / 451.4 MB, free: 368 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.523e-05/0.6076, allocations: 95.89 kB / 451.5 MB, free: 268 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.684e-05/0.6077, allocations: 67.08 kB / 451.6 MB, free: 200 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/0.6078, allocations: 11.94 kB / 451.6 MB, free: 188 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.6079, allocations: 326.8 kB / 451.9 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.6082, allocations: 67.97 kB / 452 MB, free: 15.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.6085, allocations: 103 kB / 452.1 MB, free: 15.68 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.6088, allocations: 84.23 kB / 452.1 MB, free: 15.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6088, allocations: 0 / 452.1 MB, free: 15.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008241/0.6096, allocations: 259 kB / 452.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.6097, allocations: 4 kB / 452.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6097, allocations: 0 / 452.4 MB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002408/0.6099, allocations: 48.83 kB / 452.5 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.6105, allocations: 55.91 kB / 452.5 MB, free: 15.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005265/0.6111, allocations: 0.5758 MB / 453.1 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002934/0.6114, allocations: 8.906 kB / 453.1 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/0.6115, allocations: 23.98 kB / 453.1 MB, free: 14.6 MB / 394.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.0001558/0.6116, allocations: 125.8 kB / 453.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.6117, allocations: 7.906 kB / 453.2 MB, free: 14.46 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/0.613, allocations: 359 kB / 453.6 MB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.6131, allocations: 4 kB / 453.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/0.6131, allocations: 0 / 453.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.6131, allocations: 0 / 453.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.6145, allocations: 0.6191 MB / 454.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6145, allocations: 0 / 454.2 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006064/0.6152, allocations: 55.95 kB / 454.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001056/0.6153, allocations: 28.78 kB / 454.3 MB, free: 13.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.6153, allocations: 7.984 kB / 454.3 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/0.6165, allocations: 1.268 MB / 455.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/0.6165, allocations: 4.031 kB / 455.6 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.6176, allocations: 471 kB / 456 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.6177, allocations: 92.95 kB / 456.1 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.514e-05/0.6178, allocations: 7.875 kB / 456.1 MB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.6181, allocations: 12.06 kB / 456.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.634e-05/0.6182, allocations: 23.97 kB / 456.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/0.6183, allocations: 35.92 kB / 456.2 MB, free: 11.22 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.32e-05/0.6184, allocations: 91.27 kB / 456.3 MB, free: 11.13 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6184, allocations: 0 / 456.3 MB, free: 11.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005554/0.619, allocations: 76 kB / 456.4 MB, free: 11.05 MB / 394.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.0004875/0.6195, allocations: 160.3 kB / 456.5 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007461/0.6202, allocations: 200 kB / 456.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6202, allocations: 0 / 456.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004956/0.6207, allocations: 218 kB / 456.9 MB, free: 10.47 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005507/0.6213, allocations: 47.73 kB / 457 MB, free: 10.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.6225, allocations: 0.5589 MB / 457.5 MB, free: 9.836 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002938/0.6228, allocations: 0.7049 MB / 458.3 MB, free: 9.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007249/0.6236, allocations: 77.39 kB / 458.3 MB, free: 9.027 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.6239, allocations: 51.41 kB / 458.4 MB, free: 8.977 MB / 394.7 MB Notification: Performance of SimCode: time 6.32e-07/0.6239, allocations: 3.938 kB / 458.4 MB, free: 8.973 MB / 394.7 MB Notification: Performance of Templates: time 0.01285/0.6368, allocations: 4.823 MB / 463.2 MB, free: 4.164 MB / 394.7 MB