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 1.779/1.779, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.879e-05, allocations: 3.312 kB / 255.4 MB, free: 3.172 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07729/0.07733, allocations: 44.49 MB / 299.8 MB, free: 6.625 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.577/1.654, allocations: 0.586 GB / 0.8788 GB, free: 130.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/1.654, allocations: 91.94 kB / 0.8789 GB, free: 130.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6454/2.3, allocations: 153.2 MB / 1.028 GB, free: 91.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.695e-06/2.3, allocations: 2.625 kB / 1.028 GB, free: 91.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/2.3, allocations: 11.16 kB / 1.029 GB, free: 91.91 MB / 410.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.0009229/2.301, allocations: 0.5929 MB / 1.029 GB, free: 91.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/2.301, allocations: 11.81 kB / 1.029 GB, free: 91.55 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003367/2.301, allocations: 38.67 kB / 1.029 GB, free: 91.54 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000365/2.302, allocations: 278.7 kB / 1.029 GB, free: 91.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.324e-05/2.302, allocations: 18.97 kB / 1.029 GB, free: 91.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/2.302, allocations: 26.16 kB / 1.029 GB, free: 91.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005505/2.302, allocations: 310.9 kB / 1.03 GB, free: 91.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/2.302, allocations: 0 / 1.03 GB, free: 91.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/2.302, allocations: 17.8 kB / 1.03 GB, free: 91.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.406e-06/2.302, allocations: 7.438 kB / 1.03 GB, free: 91.24 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003967/2.303, allocations: 197.2 kB / 1.03 GB, free: 91.24 MB / 410.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.001913/2.305, allocations: 1.584 MB / 1.032 GB, free: 90.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/2.305, allocations: 160.3 kB / 1.032 GB, free: 90.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/2.305, allocations: 93.14 kB / 1.032 GB, free: 90.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/2.305, allocations: 4.094 kB / 1.032 GB, free: 90.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/2.305, allocations: 44.2 kB / 1.032 GB, free: 90 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.059e-06/2.305, allocations: 3.75 kB / 1.032 GB, free: 90 MB / 410.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.006084/2.311, allocations: 1.237 MB / 1.033 GB, free: 89.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/2.312, allocations: 58.77 kB / 1.033 GB, free: 89.52 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002734/2.312, allocations: 225.7 kB / 1.033 GB, free: 89.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/2.312, allocations: 32.48 kB / 1.033 GB, free: 89.38 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/2.312, allocations: 234.7 kB / 1.034 GB, free: 89.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.348e-05/2.312, allocations: 102.3 kB / 1.034 GB, free: 89.16 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/2.312, allocations: 3.625 kB / 1.034 GB, free: 89.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.996e-05/2.312, allocations: 329.3 kB / 1.034 GB, free: 88.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/2.312, allocations: 79.66 kB / 1.034 GB, free: 88.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002487/2.313, allocations: 183.9 kB / 1.034 GB, free: 88.73 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/2.313, allocations: 114.1 kB / 1.034 GB, free: 88.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.131e-06/2.313, allocations: 3.469 kB / 1.034 GB, free: 88.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008743/2.314, allocations: 393.5 kB / 1.035 GB, free: 88.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/2.314, allocations: 7.75 kB / 1.035 GB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.194e-06/2.314, allocations: 3.875 kB / 1.035 GB, free: 88.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002922/2.314, allocations: 75.95 kB / 1.035 GB, free: 88.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/2.315, allocations: 86.44 kB / 1.035 GB, free: 88.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/2.316, allocations: 1.844 MB / 1.037 GB, free: 86.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/2.316, allocations: 20.48 kB / 1.037 GB, free: 86.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/2.316, allocations: 39.16 kB / 1.037 GB, free: 86.88 MB / 410.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.0001281/2.317, allocations: 127.6 kB / 1.037 GB, free: 86.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.08e-05/2.317, allocations: 29.78 kB / 1.037 GB, free: 86.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001255/2.318, allocations: 449 kB / 1.037 GB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/2.318, allocations: 3.969 kB / 1.037 GB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.685e-06/2.318, allocations: 0 / 1.037 GB, free: 86.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000543/2.318, allocations: 0.5496 MB / 1.038 GB, free: 86.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/2.32, allocations: 0.7141 MB / 1.039 GB, free: 85.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/2.32, allocations: 4.531 kB / 1.039 GB, free: 85.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004461/2.32, allocations: 72.45 kB / 1.039 GB, free: 85.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001148/2.32, allocations: 22.92 kB / 1.039 GB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.674e-05/2.32, allocations: 13 kB / 1.039 GB, free: 85.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008192/2.321, allocations: 1.285 MB / 1.04 GB, free: 84.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.795e-06/2.321, allocations: 7.516 kB / 1.04 GB, free: 84.63 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008334/2.322, allocations: 492.6 kB / 1.04 GB, free: 84.43 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/2.322, allocations: 100.6 kB / 1.04 GB, free: 84.32 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.312e-05/2.322, allocations: 10.5 kB / 1.04 GB, free: 84.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003911/2.323, allocations: 20.75 kB / 1.04 GB, free: 84.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.147e-05/2.323, allocations: 27.06 kB / 1.041 GB, free: 84.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.518e-05/2.323, allocations: 33 kB / 1.041 GB, free: 84.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002231/2.323, allocations: 186.2 kB / 1.041 GB, free: 84.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.63e-07/2.323, allocations: 0 / 1.041 GB, free: 84.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008801/2.324, allocations: 185.2 kB / 1.041 GB, free: 84.23 MB / 410.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.001214/2.325, allocations: 0.7905 MB / 1.042 GB, free: 84.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007576/2.326, allocations: 370.8 kB / 1.042 GB, free: 83.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/2.326, allocations: 0 / 1.042 GB, free: 83.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003146/2.326, allocations: 233.8 kB / 1.042 GB, free: 83.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001103/2.327, allocations: 159.4 kB / 1.042 GB, free: 83.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/2.329, allocations: 0.517 MB / 1.043 GB, free: 83.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000235/2.329, allocations: 0.7701 MB / 1.044 GB, free: 82.93 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003753/2.329, allocations: 74.22 kB / 1.044 GB, free: 82.92 MB / 410.7 MB Notification: Performance of SimCode: time 1.863e-06/2.329, allocations: 3.969 kB / 1.044 GB, free: 82.92 MB / 410.7 MB Notification: Performance of Templates: time 0.01747/2.347, allocations: 11.61 MB / 1.055 GB, free: 82.42 MB / 410.7 MB