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.2_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.852/1.852, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.853e-05, allocations: 2.156 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0794/0.07945, allocations: 44.49 MB / 299.9 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.542/1.622, allocations: 0.636 GB / 0.9288 GB, free: 62.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/1.622, allocations: 78.58 kB / 0.9289 GB, free: 62.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6184/2.241, allocations: 149.5 MB / 1.075 GB, free: 89.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.004e-06/2.241, allocations: 0 / 1.075 GB, free: 89.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.753e-05/2.241, allocations: 12 kB / 1.075 GB, free: 89.97 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001237/2.242, allocations: 0.6553 MB / 1.076 GB, free: 89.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/2.242, allocations: 16.02 kB / 1.076 GB, free: 89.25 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007526/2.243, allocations: 71.5 kB / 1.076 GB, free: 89.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004909/2.243, allocations: 340.3 kB / 1.076 GB, free: 88.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/2.243, allocations: 28.78 kB / 1.076 GB, free: 88.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/2.243, allocations: 36 kB / 1.076 GB, free: 88.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007603/2.244, allocations: 450.7 kB / 1.076 GB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/2.244, allocations: 0 / 1.076 GB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.622e-05/2.244, allocations: 23.94 kB / 1.076 GB, free: 88.24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/2.244, allocations: 16 kB / 1.076 GB, free: 88.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005594/2.245, allocations: 277.4 kB / 1.077 GB, free: 87.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/2.257, allocations: 6.346 MB / 1.083 GB, free: 81.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005419/2.258, allocations: 271 kB / 1.083 GB, free: 80.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/2.258, allocations: 148.8 kB / 1.083 GB, free: 80.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009872/2.268, allocations: 3.49 MB / 1.087 GB, free: 76.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/2.268, allocations: 34.56 kB / 1.087 GB, free: 76.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.553e-06/2.268, allocations: 0 / 1.087 GB, free: 76.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.01258/2.281, allocations: 2.279 MB / 1.089 GB, free: 74.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/2.281, allocations: 55.41 kB / 1.089 GB, free: 74.42 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003491/2.281, allocations: 267.3 kB / 1.089 GB, free: 74.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.886e-05/2.281, allocations: 33.7 kB / 1.089 GB, free: 74.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/2.282, allocations: 274.5 kB / 1.09 GB, free: 73.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/2.282, allocations: 161.5 kB / 1.09 GB, free: 73.69 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/2.282, allocations: 16 kB / 1.09 GB, free: 73.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.456e-05/2.282, allocations: 330.8 kB / 1.09 GB, free: 73.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/2.282, allocations: 145.1 kB / 1.09 GB, free: 73.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/2.282, allocations: 262.6 kB / 1.09 GB, free: 72.89 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/2.283, allocations: 189.6 kB / 1.091 GB, free: 72.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.899e-06/2.283, allocations: 0 / 1.091 GB, free: 72.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001249/2.284, allocations: 0.5567 MB / 1.091 GB, free: 72.13 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/2.284, allocations: 15.89 kB / 1.091 GB, free: 72.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/2.284, allocations: 4 kB / 1.091 GB, free: 72.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008958/2.293, allocations: 0.8689 MB / 1.092 GB, free: 71.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005644/2.294, allocations: 107.8 kB / 1.092 GB, free: 71.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/2.296, allocations: 2.463 MB / 1.095 GB, free: 68.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000551/2.296, allocations: 43.95 kB / 1.095 GB, free: 68.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/2.296, allocations: 20 kB / 1.095 GB, free: 68.43 MB / 410.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.0001432/2.296, allocations: 128.9 kB / 1.095 GB, free: 68.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/2.297, allocations: 39.56 kB / 1.095 GB, free: 68.25 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/2.298, allocations: 0.8472 MB / 1.096 GB, free: 67.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/2.298, allocations: 8 kB / 1.096 GB, free: 67.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/2.298, allocations: 7.953 kB / 1.096 GB, free: 67.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/2.299, allocations: 0.9572 MB / 1.097 GB, free: 66.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002329/2.301, allocations: 1.472 MB / 1.098 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-06/2.301, allocations: 0 / 1.098 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/2.302, allocations: 75.91 kB / 1.098 GB, free: 64.74 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003411/2.305, allocations: 0.5827 MB / 1.099 GB, free: 64.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.546e-05/2.305, allocations: 15.94 kB / 1.099 GB, free: 64.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009176/2.306, allocations: 1.277 MB / 1.1 GB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.137e-06/2.306, allocations: 0 / 1.1 GB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/2.308, allocations: 1.221 MB / 1.101 GB, free: 61.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001837/2.308, allocations: 120.5 kB / 1.101 GB, free: 61.42 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.263e-05/2.309, allocations: 16.03 kB / 1.101 GB, free: 61.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003892/2.309, allocations: 19.91 kB / 1.101 GB, free: 61.38 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.732e-05/2.309, allocations: 31.95 kB / 1.101 GB, free: 61.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/2.309, allocations: 19.98 kB / 1.101 GB, free: 61.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002576/2.309, allocations: 203.1 kB / 1.101 GB, free: 61.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.48e-07/2.309, allocations: 0 / 1.101 GB, free: 61.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001172/2.311, allocations: 243.9 kB / 1.102 GB, free: 60.89 MB / 410.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.001555/2.312, allocations: 452.9 kB / 1.102 GB, free: 60.48 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/2.314, allocations: 0.6577 MB / 1.103 GB, free: 59.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.585e-06/2.314, allocations: 4 kB / 1.103 GB, free: 59.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001197/2.315, allocations: 432.4 kB / 1.103 GB, free: 59.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/2.316, allocations: 240.9 kB / 1.103 GB, free: 59.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/2.318, allocations: 1.005 MB / 1.104 GB, free: 58.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/2.318, allocations: 0.8402 MB / 1.105 GB, free: 57.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/2.319, allocations: 51.42 kB / 1.105 GB, free: 57.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.69e-06/2.319, allocations: 0 / 1.105 GB, free: 57.2 MB / 410.7 MB Notification: Performance of Templates: time 0.01777/2.336, allocations: 13.12 MB / 1.118 GB, free: 44.06 MB / 410.7 MB