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.651/1.651, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.343e-05/4.354e-05, allocations: 7.984 kB / 225 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2114, allocations: 38.76 MB / 263.8 MB, free: 9.879 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.352/1.564, allocations: 0.5803 GB / 0.8379 GB, free: 79.11 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/1.564, allocations: 85.36 kB / 0.838 GB, free: 79.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6989/2.263, allocations: 153.2 MB / 0.9876 GB, free: 76.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.187e-06/2.263, allocations: 384 / 0.9876 GB, free: 76.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.163e-05/2.263, allocations: 8 kB / 0.9876 GB, free: 76.84 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.0008665/2.264, allocations: 0.5917 MB / 0.9882 GB, free: 76.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/2.264, allocations: 8.031 kB / 0.9882 GB, free: 76.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003391/2.264, allocations: 47.58 kB / 0.9882 GB, free: 76.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003598/2.265, allocations: 288.7 kB / 0.9885 GB, free: 75.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/2.265, allocations: 24.56 kB / 0.9885 GB, free: 75.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.804e-05/2.265, allocations: 24 kB / 0.9885 GB, free: 75.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005305/2.265, allocations: 310.3 kB / 0.9888 GB, free: 75.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/2.265, allocations: 4 kB / 0.9888 GB, free: 75.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/2.265, allocations: 12 kB / 0.9888 GB, free: 75.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.039e-06/2.265, allocations: 11.95 kB / 0.9889 GB, free: 75.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/2.266, allocations: 188.8 kB / 0.989 GB, free: 75.25 MB / 362.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.001711/2.268, allocations: 1.578 MB / 0.9906 GB, free: 73.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/2.268, allocations: 155.7 kB / 0.9907 GB, free: 73.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/2.268, allocations: 99.31 kB / 0.9908 GB, free: 73.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/2.268, allocations: 4.188 kB / 0.9908 GB, free: 73.26 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/2.268, allocations: 34.75 kB / 0.9909 GB, free: 73.22 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 3.19e-06/2.268, allocations: 3.938 kB / 0.9909 GB, free: 73.21 MB / 362.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.005295/2.274, allocations: 1.244 MB / 0.9921 GB, free: 71.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/2.274, allocations: 55.39 kB / 0.9921 GB, free: 71.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002698/2.274, allocations: 225 kB / 0.9923 GB, free: 71.61 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.846e-05/2.274, allocations: 29.7 kB / 0.9924 GB, free: 71.57 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.073e-05/2.274, allocations: 234.4 kB / 0.9926 GB, free: 71.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.784e-05/2.274, allocations: 99.17 kB / 0.9927 GB, free: 71.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/2.274, allocations: 8 kB / 0.9927 GB, free: 71.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.759e-05/2.274, allocations: 330.8 kB / 0.993 GB, free: 70.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000198/2.274, allocations: 91.7 kB / 0.9931 GB, free: 70.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/2.275, allocations: 171.8 kB / 0.9933 GB, free: 70.61 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/2.275, allocations: 126.4 kB / 0.9934 GB, free: 70.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.877e-06/2.275, allocations: 0 / 0.9934 GB, free: 70.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007509/2.276, allocations: 363.3 kB / 0.9937 GB, free: 70.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/2.276, allocations: 12.02 kB / 0.9937 GB, free: 70.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/2.276, allocations: 4 kB / 0.9937 GB, free: 70.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002552/2.276, allocations: 73.64 kB / 0.9938 GB, free: 70.03 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004167/2.276, allocations: 83.89 kB / 0.9939 GB, free: 69.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/2.278, allocations: 1.852 MB / 0.9957 GB, free: 67.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/2.278, allocations: 20.17 kB / 0.9957 GB, free: 67.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/2.278, allocations: 43.98 kB / 0.9958 GB, free: 67.87 MB / 362.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.0001184/2.278, allocations: 128.8 kB / 0.9959 GB, free: 67.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/2.278, allocations: 27.72 kB / 0.9959 GB, free: 67.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/2.279, allocations: 435.9 kB / 0.9963 GB, free: 67.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.041e-06/2.28, allocations: 4 kB / 0.9963 GB, free: 67.26 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/2.28, allocations: 0 / 0.9963 GB, free: 67.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005279/2.28, allocations: 0.5593 MB / 0.9969 GB, free: 66.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/2.281, allocations: 0.7134 MB / 0.9976 GB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.649e-06/2.281, allocations: 4 kB / 0.9976 GB, free: 65.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/2.282, allocations: 71.84 kB / 0.9976 GB, free: 65.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/2.282, allocations: 20.84 kB / 0.9977 GB, free: 65.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/2.282, allocations: 12 kB / 0.9977 GB, free: 65.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007666/2.283, allocations: 1.284 MB / 0.9989 GB, free: 64.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.89e-06/2.283, allocations: 4.031 kB / 0.9989 GB, free: 64.31 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007419/2.283, allocations: 493.1 kB / 0.9994 GB, free: 63.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.216e-05/2.283, allocations: 108.8 kB / 0.9995 GB, free: 63.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.407e-05/2.284, allocations: 8 kB / 0.9995 GB, free: 63.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/2.284, allocations: 19.92 kB / 0.9995 GB, free: 63.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/2.284, allocations: 31.92 kB / 0.9996 GB, free: 63.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/2.284, allocations: 31.98 kB / 0.9996 GB, free: 63.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002117/2.284, allocations: 187.1 kB / 0.9998 GB, free: 63.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.26e-07/2.284, allocations: 0 / 0.9998 GB, free: 63.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008723/2.285, allocations: 180 kB / 0.9999 GB, free: 63.21 MB / 362.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.001142/2.286, allocations: 0.8003 MB / 1.001 GB, free: 62.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007099/2.287, allocations: 353.5 kB / 1.001 GB, free: 62.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.75e-06/2.287, allocations: 0 / 1.001 GB, free: 62.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/2.287, allocations: 217.6 kB / 1.001 GB, free: 61.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/2.288, allocations: 162.8 kB / 1.001 GB, free: 61.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/2.289, allocations: 0.5192 MB / 1.002 GB, free: 61.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002217/2.29, allocations: 0.7764 MB / 1.003 GB, free: 60.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/2.29, allocations: 79.41 kB / 1.003 GB, free: 60.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.616e-06/2.29, allocations: 0 / 1.003 GB, free: 60.36 MB / 362.7 MB Notification: Performance of Templates: time 0.01566/2.306, allocations: 11.65 MB / 1.014 GB, free: 48.71 MB / 362.7 MB