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_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 225.8 MB / 239.4 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.334e-05, allocations: 0 / 292.7 MB, free: 8.363 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09291, allocations: 50.41 MB / 343.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.606/1.699, allocations: 0.5368 GB / 0.8719 GB, free: 120.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002127/1.699, allocations: 72.98 kB / 0.8719 GB, free: 120.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6226/2.322, allocations: 147.2 MB / 1.016 GB, free: 90.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.138e-06/2.322, allocations: 0 / 1.016 GB, free: 90.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.138e-05/2.322, allocations: 8.281 kB / 1.016 GB, free: 90.3 MB / 442.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.001259/2.323, allocations: 0.6605 MB / 1.016 GB, free: 89.94 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/2.323, allocations: 9.719 kB / 1.016 GB, free: 89.94 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007808/2.324, allocations: 79.33 kB / 1.016 GB, free: 89.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/2.324, allocations: 334.3 kB / 1.017 GB, free: 89.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.825e-05/2.325, allocations: 28.75 kB / 1.017 GB, free: 89.7 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.708e-05/2.325, allocations: 45.59 kB / 1.017 GB, free: 89.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008409/2.325, allocations: 440.7 kB / 1.017 GB, free: 89.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.643e-05/2.326, allocations: 9.391 kB / 1.017 GB, free: 89.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.101e-05/2.326, allocations: 21.28 kB / 1.017 GB, free: 89.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.61e-05/2.326, allocations: 15.8 kB / 1.017 GB, free: 89.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006359/2.326, allocations: 283.8 kB / 1.018 GB, free: 89.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01391/2.34, allocations: 6.337 MB / 1.024 GB, free: 85.77 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006566/2.341, allocations: 262.9 kB / 1.024 GB, free: 85.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003047/2.341, allocations: 150.4 kB / 1.024 GB, free: 85.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0108/2.352, allocations: 3.49 MB / 1.028 GB, free: 84.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/2.352, allocations: 43.39 kB / 1.028 GB, free: 84.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 3.724e-06/2.352, allocations: 0.9375 kB / 1.028 GB, free: 84.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.01339/2.366, allocations: 2.272 MB / 1.03 GB, free: 83.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.817e-05/2.366, allocations: 55.84 kB / 1.03 GB, free: 83.76 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003922/2.366, allocations: 266.2 kB / 1.03 GB, free: 83.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.302e-05/2.366, allocations: 34.48 kB / 1.03 GB, free: 83.63 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/2.366, allocations: 223 kB / 1.03 GB, free: 83.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/2.366, allocations: 162.8 kB / 1.03 GB, free: 83.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.189e-05/2.366, allocations: 14.19 kB / 1.031 GB, free: 83.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.212e-05/2.366, allocations: 346.5 kB / 1.031 GB, free: 83.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003521/2.367, allocations: 142.1 kB / 1.031 GB, free: 83.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/2.367, allocations: 268.4 kB / 1.031 GB, free: 82.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/2.368, allocations: 186 kB / 1.031 GB, free: 82.94 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.825e-06/2.368, allocations: 6.641 kB / 1.031 GB, free: 82.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001426/2.369, allocations: 0.57 MB / 1.032 GB, free: 82.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/2.369, allocations: 5.281 kB / 1.032 GB, free: 82.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/2.369, allocations: 5.562 kB / 1.032 GB, free: 82.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008998/2.378, allocations: 0.8703 MB / 1.033 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006054/2.379, allocations: 107.7 kB / 1.033 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00184/2.381, allocations: 2.467 MB / 1.035 GB, free: 80.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/2.381, allocations: 40.2 kB / 1.035 GB, free: 80.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/2.381, allocations: 24.12 kB / 1.035 GB, free: 80.49 MB / 442.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.0001448/2.381, allocations: 132.5 kB / 1.036 GB, free: 80.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/2.382, allocations: 43.73 kB / 1.036 GB, free: 80.36 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/2.383, allocations: 0.8477 MB / 1.036 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/2.383, allocations: 9.203 kB / 1.036 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.736e-06/2.383, allocations: 1.094 kB / 1.036 GB, free: 80.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001229/2.384, allocations: 0.9529 MB / 1.037 GB, free: 79.86 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/2.387, allocations: 1.48 MB / 1.039 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.939e-06/2.387, allocations: 0 / 1.039 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004716/2.388, allocations: 78.77 kB / 1.039 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/2.392, allocations: 0.5766 MB / 1.039 GB, free: 79.46 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.661e-05/2.392, allocations: 13.16 kB / 1.039 GB, free: 79.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009949/2.393, allocations: 1.28 MB / 1.041 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.422e-06/2.393, allocations: 3.125 kB / 1.041 GB, free: 78.41 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/2.395, allocations: 1.223 MB / 1.042 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/2.395, allocations: 119.7 kB / 1.042 GB, free: 78.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.188e-05/2.395, allocations: 13.47 kB / 1.042 GB, free: 78.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004261/2.396, allocations: 27.34 kB / 1.042 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/2.396, allocations: 23.03 kB / 1.042 GB, free: 78.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.732e-05/2.396, allocations: 24.83 kB / 1.042 GB, free: 78.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002665/2.396, allocations: 213.5 kB / 1.042 GB, free: 77.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.79e-07/2.396, allocations: 0 / 1.042 GB, free: 77.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00115/2.397, allocations: 242.6 kB / 1.043 GB, free: 77.96 MB / 442.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.001295/2.399, allocations: 463 kB / 1.043 GB, free: 77.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/2.4, allocations: 0.655 MB / 1.044 GB, free: 77.69 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.847e-06/2.4, allocations: 3.781 kB / 1.044 GB, free: 77.69 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001281/2.401, allocations: 435.3 kB / 1.044 GB, free: 77.68 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/2.403, allocations: 232.2 kB / 1.044 GB, free: 77.66 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001715/2.405, allocations: 0.9611 MB / 1.045 GB, free: 77.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/2.405, allocations: 0.8525 MB / 1.046 GB, free: 76.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004547/2.405, allocations: 72.56 kB / 1.046 GB, free: 76.58 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/2.406, allocations: 34.66 kB / 1.046 GB, free: 76.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.815e-06/2.406, allocations: 0 / 1.046 GB, free: 76.57 MB / 442.7 MB Notification: Performance of Templates: time 0.02651/2.432, allocations: 13.02 MB / 1.059 GB, free: 75.9 MB / 442.7 MB