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_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.998e-05/3.009e-05, allocations: 0 / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3582, allocations: 48.69 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2245/0.5829, allocations: 121.3 MB / 446.2 MB, free: 5.945 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.5845, allocations: 0.7701 MB / 446.9 MB, free: 5.176 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.5846, allocations: 7.875 kB / 446.9 MB, free: 5.168 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002206/0.5849, allocations: 23.89 kB / 447 MB, free: 5.145 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006101/0.5855, allocations: 175.4 kB / 447.1 MB, free: 4.973 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.5859, allocations: 95.77 kB / 447.2 MB, free: 4.879 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.5861, allocations: 75.89 kB / 447.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.136e-05/0.5862, allocations: 3.984 kB / 447.3 MB, free: 4.801 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002637/0.5865, allocations: 87.75 kB / 447.4 MB, free: 4.715 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.5866, allocations: 39.91 kB / 447.4 MB, free: 4.676 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008798/0.5875, allocations: 283.7 kB / 447.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.335e-05/0.5876, allocations: 16 kB / 447.7 MB, free: 4.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.329e-05/0.5877, allocations: 15.92 kB / 447.7 MB, free: 4.367 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.745e-05/0.5877, allocations: 12 kB / 447.8 MB, free: 4.355 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004898/0.5882, allocations: 193.2 kB / 447.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.5882, allocations: 0 / 447.9 MB, free: 4.172 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5883, allocations: 4 kB / 447.9 MB, free: 4.168 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.5883, allocations: 4 kB / 448 MB, free: 4.164 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.0005716/0.5889, allocations: 382 kB / 448.3 MB, free: 3.746 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.5889, allocations: 8.031 kB / 448.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00344/0.5924, allocations: 200.1 kB / 448.5 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.5927, allocations: 206.8 kB / 448.7 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.5928, allocations: 4 kB / 448.7 MB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.358e-05/0.5929, allocations: 15.98 kB / 448.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008126/0.5937, allocations: 219.7 kB / 449 MB, free: 3.055 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.5937, allocations: 3.953 kB / 449 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.187e-05/0.5938, allocations: 4 kB / 449 MB, free: 3.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.5938, allocations: 4 kB / 449 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.5946, allocations: 171.8 kB / 449.1 MB, free: 2.875 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.001505/0.5961, allocations: 0.5755 MB / 449.7 MB, free: 2.242 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005354/0.5966, allocations: 142.5 kB / 449.9 MB, free: 2.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.5967, allocations: 4 kB / 449.9 MB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.5967, allocations: 34.5 kB / 449.9 MB, free: 2.047 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.705e-06/0.5967, allocations: 0 / 449.9 MB, free: 2.047 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.008871/0.6056, allocations: 1.307 MB / 451.2 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.6057, allocations: 51.41 kB / 451.3 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.6058, allocations: 101 kB / 451.4 MB, free: 492 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.6059, allocations: 33.7 kB / 451.4 MB, free: 452 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.42e-05/0.606, allocations: 166.3 kB / 451.5 MB, free: 284 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.651e-05/0.6061, allocations: 63.09 kB / 451.6 MB, free: 220 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.6061, allocations: 4 kB / 451.6 MB, free: 216 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6063, allocations: 330.7 kB / 451.9 MB, free: 15.88 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.6066, allocations: 67.95 kB / 452 MB, free: 15.81 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.6069, allocations: 107.2 kB / 452.1 MB, free: 15.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.6072, allocations: 76.92 kB / 452.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6072, allocations: 4 kB / 452.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008037/0.608, allocations: 251 kB / 452.4 MB, free: 15.37 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.6081, allocations: 8 kB / 452.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.6081, allocations: 0 / 452.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/0.6084, allocations: 52.83 kB / 452.5 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.6089, allocations: 51.91 kB / 452.5 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000635/0.6096, allocations: 0.5719 MB / 453.1 MB, free: 14.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.6099, allocations: 7.906 kB / 453.1 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.717e-05/0.61, allocations: 31.98 kB / 453.2 MB, free: 14.62 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.0001751/0.6102, allocations: 117.8 kB / 453.3 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.6103, allocations: 11.91 kB / 453.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/0.6117, allocations: 354.4 kB / 453.6 MB, free: 14.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6117, allocations: 3.984 kB / 453.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6117, allocations: 4 kB / 453.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.6117, allocations: 0 / 453.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.6133, allocations: 0.6152 MB / 454.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.6134, allocations: 7.984 kB / 454.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006282/0.614, allocations: 59.89 kB / 454.3 MB, free: 13.37 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001213/0.6141, allocations: 20.84 kB / 454.3 MB, free: 13.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.604e-05/0.6142, allocations: 12 kB / 454.3 MB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.6155, allocations: 1.272 MB / 455.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.6156, allocations: 0 / 455.6 MB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.6168, allocations: 467.9 kB / 456.1 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.281e-05/0.6169, allocations: 89 kB / 456.2 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.388e-05/0.617, allocations: 11.98 kB / 456.2 MB, free: 11.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003652/0.6174, allocations: 12.06 kB / 456.2 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.538e-05/0.6175, allocations: 23.91 kB / 456.2 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.599e-05/0.6175, allocations: 31.98 kB / 456.2 MB, free: 11.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.554e-05/0.6176, allocations: 87.2 kB / 456.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.6176, allocations: 0 / 456.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005848/0.6182, allocations: 83.98 kB / 456.4 MB, free: 11.08 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.0005207/0.6188, allocations: 152.4 kB / 456.6 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000783/0.6196, allocations: 204 kB / 456.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.6196, allocations: 4 kB / 456.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005119/0.6201, allocations: 222.5 kB / 457 MB, free: 10.49 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.6207, allocations: 48.28 kB / 457 MB, free: 10.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.622, allocations: 0.583 MB / 457.6 MB, free: 9.828 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003785/0.6224, allocations: 0.7126 MB / 458.3 MB, free: 9.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003989/0.6228, allocations: 59.41 kB / 458.4 MB, free: 9.031 MB / 394.7 MB Notification: Performance of SimCode: time 3.637e-06/0.6228, allocations: 0 / 458.4 MB, free: 9.031 MB / 394.7 MB Notification: Performance of Templates: time 0.01001/0.6328, allocations: 3.936 MB / 462.3 MB, free: 5.098 MB / 394.7 MB