Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,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.Air.SimpleAir") Notification: Performance of loadModel(Modelica): time 1.821/1.821, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.477e-05/2.48e-05, allocations: 3.219 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07689/0.07693, allocations: 44.5 MB / 299.9 MB, free: 6.621 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7916/0.8686, allocations: 333.9 MB / 0.6189 GB, free: 57.55 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.8689, allocations: 85.89 kB / 0.619 GB, free: 57.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.446/1.315, allocations: 87.13 MB / 0.704 GB, free: 130.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.137e-06/1.315, allocations: 0 / 0.704 GB, free: 130.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/1.315, allocations: 11.2 kB / 0.704 GB, free: 130.8 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.0006791/1.316, allocations: 0.5266 MB / 0.7046 GB, free: 130.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.316, allocations: 9.375 kB / 0.7046 GB, free: 130.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/1.316, allocations: 43.23 kB / 0.7046 GB, free: 130.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003666/1.316, allocations: 289.4 kB / 0.7049 GB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/1.317, allocations: 21.03 kB / 0.7049 GB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.995e-05/1.317, allocations: 21.38 kB / 0.7049 GB, free: 130.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000525/1.317, allocations: 286 kB / 0.7052 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.317, allocations: 0 / 0.7052 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.492e-05/1.317, allocations: 13.59 kB / 0.7052 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.247e-05/1.317, allocations: 7.344 kB / 0.7052 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/1.318, allocations: 192.3 kB / 0.7054 GB, free: 130.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/1.319, allocations: 1.288 MB / 0.7067 GB, free: 129.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004141/1.32, allocations: 179.4 kB / 0.7068 GB, free: 129.2 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001688/1.32, allocations: 85.86 kB / 0.7069 GB, free: 129.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/1.32, allocations: 174.8 kB / 0.7071 GB, free: 129 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/1.32, allocations: 37.31 kB / 0.7071 GB, free: 128.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 2.926e-06/1.32, allocations: 0 / 0.7071 GB, free: 128.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.002642/1.323, allocations: 0.8833 MB / 0.708 GB, free: 128.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/1.323, allocations: 57.62 kB / 0.708 GB, free: 128.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/1.323, allocations: 230 kB / 0.7083 GB, free: 128.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/1.323, allocations: 36.2 kB / 0.7083 GB, free: 128.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.726e-05/1.323, allocations: 236.7 kB / 0.7085 GB, free: 128.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.439e-05/1.323, allocations: 97.81 kB / 0.7086 GB, free: 128.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.788e-05/1.323, allocations: 3.5 kB / 0.7086 GB, free: 128.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.987e-05/1.324, allocations: 328 kB / 0.7089 GB, free: 127.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001736/1.324, allocations: 80.86 kB / 0.709 GB, free: 127.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/1.324, allocations: 171.8 kB / 0.7092 GB, free: 127.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002267/1.324, allocations: 100.2 kB / 0.7093 GB, free: 127.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.148e-06/1.324, allocations: 3.875 kB / 0.7093 GB, free: 127.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007311/1.325, allocations: 414.5 kB / 0.7097 GB, free: 127.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.325, allocations: 7.375 kB / 0.7097 GB, free: 127.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.065e-06/1.325, allocations: 3.938 kB / 0.7097 GB, free: 127.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/1.325, allocations: 40.27 kB / 0.7097 GB, free: 127.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/1.326, allocations: 78.45 kB / 0.7098 GB, free: 127.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001605/1.327, allocations: 2.572 MB / 0.7123 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/1.328, allocations: 17.53 kB / 0.7123 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/1.328, allocations: 17.5 kB / 0.7123 GB, free: 125 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001197/1.328, allocations: 129.2 kB / 0.7125 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.268e-05/1.328, allocations: 26.16 kB / 0.7125 GB, free: 124.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006291/1.329, allocations: 365.8 kB / 0.7128 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/1.329, allocations: 3.562 kB / 0.7128 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.81e-06/1.329, allocations: 0 / 0.7128 GB, free: 124.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005012/1.329, allocations: 0.6051 MB / 0.7134 GB, free: 124.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001088/1.33, allocations: 0.7594 MB / 0.7142 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.248e-06/1.33, allocations: 0 / 0.7142 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003898/1.331, allocations: 55.73 kB / 0.7142 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001003/1.331, allocations: 27.25 kB / 0.7142 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/1.331, allocations: 7.281 kB / 0.7142 GB, free: 123.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007452/1.331, allocations: 1.272 MB / 0.7155 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.439e-06/1.332, allocations: 0 / 0.7155 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/1.332, allocations: 0.5146 MB / 0.716 GB, free: 122.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/1.332, allocations: 106.9 kB / 0.7161 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.356e-05/1.332, allocations: 10.95 kB / 0.7161 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/1.333, allocations: 20.05 kB / 0.7161 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/1.333, allocations: 17.95 kB / 0.7161 GB, free: 122.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/1.333, allocations: 10.34 kB / 0.7162 GB, free: 122.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002076/1.333, allocations: 184.5 kB / 0.7163 GB, free: 122 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.74e-07/1.333, allocations: 0 / 0.7163 GB, free: 122 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006526/1.334, allocations: 120.2 kB / 0.7164 GB, free: 122 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (25): * Single equations (assignments): 24 * 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.0003651/1.334, allocations: 250.8 kB / 0.7167 GB, free: 121.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007/1.335, allocations: 431 kB / 0.7171 GB, free: 121.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.335, allocations: 0 / 0.7171 GB, free: 121.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003127/1.335, allocations: 204.9 kB / 0.7173 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009891/1.336, allocations: 161.3 kB / 0.7174 GB, free: 121.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009539/1.337, allocations: 0.4981 MB / 0.7179 GB, free: 121.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/1.337, allocations: 0.7719 MB / 0.7187 GB, free: 120.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/1.338, allocations: 27.03 kB / 0.7187 GB, free: 120.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.576e-06/1.338, allocations: 0 / 0.7187 GB, free: 120.6 MB / 410.7 MB Notification: Performance of Templates: time 0.01058/1.348, allocations: 7.102 MB / 0.7256 GB, free: 119.3 MB / 410.7 MB