Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.579/1.579, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.915e-05, allocations: 3.938 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 38.77 MB / 263.8 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.473/1.684, allocations: 0.6307 GB / 0.8882 GB, free: 28.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.685, allocations: 74.95 kB / 0.8883 GB, free: 28.33 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.582/2.267, allocations: 149.5 MB / 1.034 GB, free: 35.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.556e-06/2.267, allocations: 0 / 1.034 GB, free: 35.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.857e-05/2.267, allocations: 16 kB / 1.034 GB, free: 35.32 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001127/2.268, allocations: 0.6512 MB / 1.035 GB, free: 34.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/2.268, allocations: 12.03 kB / 1.035 GB, free: 34.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007371/2.269, allocations: 75.41 kB / 1.035 GB, free: 34.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000461/2.269, allocations: 334.3 kB / 1.035 GB, free: 34.17 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.177e-05/2.269, allocations: 28.78 kB / 1.035 GB, free: 34.14 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.687e-05/2.269, allocations: 36 kB / 1.035 GB, free: 34.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007386/2.27, allocations: 458.7 kB / 1.036 GB, free: 33.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.383e-05/2.27, allocations: 3.906 kB / 1.036 GB, free: 33.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/2.27, allocations: 20 kB / 1.036 GB, free: 33.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/2.27, allocations: 8 kB / 1.036 GB, free: 33.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005554/2.271, allocations: 285.4 kB / 1.036 GB, free: 33.3 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01224/2.283, allocations: 6.352 MB / 1.042 GB, free: 26.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/2.284, allocations: 274.7 kB / 1.043 GB, free: 26.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002544/2.284, allocations: 144.9 kB / 1.043 GB, free: 25.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009413/2.293, allocations: 3.491 MB / 1.046 GB, free: 22.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/2.293, allocations: 34.56 kB / 1.046 GB, free: 22.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 3.108e-06/2.293, allocations: 0 / 1.046 GB, free: 22.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.0125/2.306, allocations: 2.27 MB / 1.048 GB, free: 19.78 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/2.306, allocations: 55.41 kB / 1.048 GB, free: 19.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003433/2.306, allocations: 263.4 kB / 1.049 GB, free: 19.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.905e-05/2.306, allocations: 33.7 kB / 1.049 GB, free: 19.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/2.306, allocations: 278.5 kB / 1.049 GB, free: 19.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/2.307, allocations: 161.6 kB / 1.049 GB, free: 18.97 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/2.307, allocations: 12 kB / 1.049 GB, free: 18.96 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.595e-05/2.307, allocations: 338.8 kB / 1.05 GB, free: 18.62 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003076/2.307, allocations: 141.1 kB / 1.05 GB, free: 18.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003628/2.307, allocations: 270.5 kB / 1.05 GB, free: 18.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/2.308, allocations: 189.6 kB / 1.05 GB, free: 17.98 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.308, allocations: 0 / 1.05 GB, free: 17.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001704/2.309, allocations: 0.5455 MB / 1.051 GB, free: 17.42 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/2.31, allocations: 12.03 kB / 1.051 GB, free: 17.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.94e-06/2.31, allocations: 4 kB / 1.051 GB, free: 17.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008746/2.318, allocations: 0.8688 MB / 1.051 GB, free: 16.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/2.319, allocations: 111.8 kB / 1.052 GB, free: 16.42 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/2.321, allocations: 2.467 MB / 1.054 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005067/2.321, allocations: 31.89 kB / 1.054 GB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/2.321, allocations: 20 kB / 1.054 GB, free: 13.71 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001384/2.321, allocations: 140.9 kB / 1.054 GB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.719e-05/2.322, allocations: 39.53 kB / 1.054 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001392/2.323, allocations: 0.8433 MB / 1.055 GB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/2.323, allocations: 15.98 kB / 1.055 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/2.323, allocations: 0 / 1.055 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001056/2.324, allocations: 0.9418 MB / 1.056 GB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00227/2.326, allocations: 1.488 MB / 1.057 GB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.961e-06/2.326, allocations: 4 kB / 1.057 GB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004003/2.327, allocations: 75.89 kB / 1.058 GB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003481/2.33, allocations: 0.5751 MB / 1.058 GB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/2.33, allocations: 19.97 kB / 1.058 GB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008883/2.331, allocations: 1.276 MB / 1.059 GB, free: 8.078 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.874e-06/2.331, allocations: 4.031 kB / 1.059 GB, free: 8.074 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001734/2.333, allocations: 1.213 MB / 1.061 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/2.333, allocations: 124.5 kB / 1.061 GB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.04e-05/2.333, allocations: 16.06 kB / 1.061 GB, free: 6.672 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000376/2.334, allocations: 19.89 kB / 1.061 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/2.334, allocations: 31.92 kB / 1.061 GB, free: 6.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.722e-05/2.334, allocations: 19.98 kB / 1.061 GB, free: 6.602 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002462/2.334, allocations: 203.1 kB / 1.061 GB, free: 6.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.13e-07/2.334, allocations: 4 kB / 1.061 GB, free: 6.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001066/2.335, allocations: 251.8 kB / 1.061 GB, free: 6.152 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001278/2.336, allocations: 453.9 kB / 1.062 GB, free: 5.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001322/2.338, allocations: 0.6579 MB / 1.062 GB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.671e-06/2.338, allocations: 0 / 1.062 GB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001148/2.339, allocations: 432 kB / 1.063 GB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/2.34, allocations: 232.6 kB / 1.063 GB, free: 4.383 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/2.342, allocations: 0.9898 MB / 1.064 GB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/2.342, allocations: 0.848 MB / 1.065 GB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/2.343, allocations: 43.44 kB / 1.065 GB, free: 2.449 MB / 362.7 MB Notification: Performance of SimCode: time 1.831e-06/2.343, allocations: 0 / 1.065 GB, free: 2.449 MB / 362.7 MB Notification: Performance of Templates: time 0.2189/2.562, allocations: 13.12 MB / 1.078 GB, free: 74.99 MB / 362.7 MB