Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadModel(Modelica): time 1.96/1.96, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.389e-05, allocations: 7.984 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09983/0.09989, allocations: 50.4 MB / 342.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.724/1.824, allocations: 0.5369 GB / 0.8714 GB, free: 152.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002212/1.824, allocations: 74.42 kB / 0.8715 GB, free: 152.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.383/2.207, allocations: 147.2 MB / 1.015 GB, free: 20.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.338e-06/2.207, allocations: 0 / 1.015 GB, free: 20.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.748e-05/2.207, allocations: 12 kB / 1.015 GB, free: 20.54 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.001185/2.209, allocations: 0.6708 MB / 1.016 GB, free: 19.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/2.209, allocations: 8.031 kB / 1.016 GB, free: 19.81 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007886/2.209, allocations: 75.44 kB / 1.016 GB, free: 19.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005206/2.21, allocations: 338.2 kB / 1.016 GB, free: 19.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/2.21, allocations: 32.77 kB / 1.016 GB, free: 19.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.357e-05/2.21, allocations: 40 kB / 1.016 GB, free: 19.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/2.211, allocations: 442.8 kB / 1.017 GB, free: 18.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/2.211, allocations: 4 kB / 1.017 GB, free: 18.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.813e-05/2.211, allocations: 16 kB / 1.017 GB, free: 18.8 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/2.211, allocations: 15.95 kB / 1.017 GB, free: 18.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/2.212, allocations: 285.4 kB / 1.017 GB, free: 18.5 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/2.225, allocations: 6.34 MB / 1.023 GB, free: 11.58 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005936/2.225, allocations: 266.5 kB / 1.023 GB, free: 11.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/2.225, allocations: 144.8 kB / 1.024 GB, free: 11.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01014/2.236, allocations: 3.495 MB / 1.027 GB, free: 7.375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/2.236, allocations: 39.16 kB / 1.027 GB, free: 7.328 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 4.083e-06/2.236, allocations: 0 / 1.027 GB, free: 7.328 MB / 442.7 MB Notification: Performance of matching and sorting (n=45): time 0.01293/2.249, allocations: 2.279 MB / 1.029 GB, free: 4.984 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/2.249, allocations: 55.41 kB / 1.029 GB, free: 4.918 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003581/2.249, allocations: 267.4 kB / 1.03 GB, free: 4.66 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/2.249, allocations: 33.7 kB / 1.03 GB, free: 4.621 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/2.249, allocations: 286.5 kB / 1.03 GB, free: 4.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/2.249, allocations: 161.6 kB / 1.03 GB, free: 4.18 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/2.249, allocations: 8 kB / 1.03 GB, free: 4.172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.417e-05/2.25, allocations: 334.8 kB / 1.03 GB, free: 3.836 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003119/2.25, allocations: 149.1 kB / 1.031 GB, free: 3.691 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/2.25, allocations: 258.7 kB / 1.031 GB, free: 3.391 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/2.251, allocations: 189.6 kB / 1.031 GB, free: 3.207 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.355e-06/2.251, allocations: 4 kB / 1.031 GB, free: 3.203 MB / 442.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001263/2.252, allocations: 0.5571 MB / 1.032 GB, free: 2.633 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/2.252, allocations: 4 kB / 1.032 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/2.252, allocations: 8 kB / 1.032 GB, free: 2.621 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008958/2.261, allocations: 0.8688 MB / 1.032 GB, free: 1.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005578/2.262, allocations: 111.8 kB / 1.032 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2515/2.513, allocations: 2.447 MB / 1.035 GB, free: 93.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005681/2.514, allocations: 40.97 kB / 1.035 GB, free: 93.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.146e-05/2.514, allocations: 21.64 kB / 1.035 GB, free: 93.07 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.0001523/2.514, allocations: 137.3 kB / 1.035 GB, free: 92.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001118/2.514, allocations: 40.69 kB / 1.035 GB, free: 92.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/2.516, allocations: 0.8466 MB / 1.036 GB, free: 92.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.12e-05/2.516, allocations: 8.438 kB / 1.036 GB, free: 92.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/2.516, allocations: 0 / 1.036 GB, free: 92.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/2.517, allocations: 0.9489 MB / 1.037 GB, free: 92.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002811/2.52, allocations: 1.478 MB / 1.038 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.76e-06/2.52, allocations: 2.844 kB / 1.038 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004272/2.521, allocations: 81.56 kB / 1.038 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003675/2.524, allocations: 0.5752 MB / 1.039 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/2.524, allocations: 15.44 kB / 1.039 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00099/2.525, allocations: 1.281 MB / 1.04 GB, free: 91.11 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.737e-06/2.525, allocations: 1.062 kB / 1.04 GB, free: 91.11 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002104/2.527, allocations: 1.223 MB / 1.041 GB, free: 90.92 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001716/2.528, allocations: 123.8 kB / 1.042 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.334e-05/2.528, allocations: 12.03 kB / 1.042 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/2.528, allocations: 23.78 kB / 1.042 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.149e-05/2.528, allocations: 29.84 kB / 1.042 GB, free: 90.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/2.528, allocations: 13.92 kB / 1.042 GB, free: 90.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000322/2.529, allocations: 206.2 kB / 1.042 GB, free: 90.73 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.22e-07/2.529, allocations: 0 / 1.042 GB, free: 90.73 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001171/2.53, allocations: 250.4 kB / 1.042 GB, free: 90.73 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.001423/2.531, allocations: 451.3 kB / 1.042 GB, free: 90.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001566/2.533, allocations: 0.6626 MB / 1.043 GB, free: 90.53 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.378e-06/2.533, allocations: 0 / 1.043 GB, free: 90.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001296/2.534, allocations: 439.8 kB / 1.044 GB, free: 90.52 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/2.536, allocations: 225 kB / 1.044 GB, free: 90.52 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/2.538, allocations: 1.001 MB / 1.045 GB, free: 90.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/2.538, allocations: 0.847 MB / 1.046 GB, free: 89.55 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/2.538, allocations: 45.31 kB / 1.046 GB, free: 89.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.796e-06/2.538, allocations: 0 / 1.046 GB, free: 89.55 MB / 442.7 MB Notification: Performance of Templates: time 0.02104/2.559, allocations: 13.11 MB / 1.058 GB, free: 89 MB / 442.7 MB