Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.959e-05, allocations: 0 / 292.1 MB, free: 8.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09417/0.09423, allocations: 50.41 MB / 342.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.21/14.31, allocations: 5.751 GB / 6.085 GB, free: 145.7 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/14.31, allocations: 72.17 kB / 6.085 GB, free: 145.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 13.93/28.23, allocations: 3.685 GB / 9.771 GB, free: 99.38 MB / 0.6669 GB Notification: Performance of FrontEnd: time 2.77e-06/28.23, allocations: 0 / 9.771 GB, free: 99.38 MB / 0.6669 GB Notification: Performance of Transformations before backend: time 3.018e-05/28.23, allocations: 15.33 kB / 9.771 GB, free: 99.38 MB / 0.6669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.04519/28.28, allocations: 2.186 MB / 9.773 GB, free: 98.39 MB / 0.6669 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/28.28, allocations: 9.812 kB / 9.773 GB, free: 98.39 MB / 0.6669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009119/28.28, allocations: 91.98 kB / 9.773 GB, free: 98.36 MB / 0.6669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006345/28.28, allocations: 382 kB / 9.773 GB, free: 98.15 MB / 0.6669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/28.28, allocations: 33.75 kB / 9.773 GB, free: 98.15 MB / 0.6669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/28.28, allocations: 48.38 kB / 9.773 GB, free: 98.15 MB / 0.6669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/28.28, allocations: 0.609 MB / 9.774 GB, free: 98 MB / 0.6669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/28.28, allocations: 9.625 kB / 9.774 GB, free: 98 MB / 0.6669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/28.28, allocations: 21.06 kB / 9.774 GB, free: 98 MB / 0.6669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.589e-05/28.28, allocations: 12.53 kB / 9.774 GB, free: 98 MB / 0.6669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/28.28, allocations: 0.5128 MB / 9.775 GB, free: 98 MB / 0.6669 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008118/28.29, allocations: 6.08 MB / 9.78 GB, free: 95.43 MB / 0.6669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001244/28.29, allocations: 426.8 kB / 9.781 GB, free: 95.4 MB / 0.6669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000386/28.29, allocations: 200.8 kB / 9.781 GB, free: 95.39 MB / 0.6669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003376/28.3, allocations: 2.833 MB / 9.784 GB, free: 92.93 MB / 0.6669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/28.3, allocations: 41 kB / 9.784 GB, free: 92.89 MB / 0.6669 GB Notification: Performance of pre-optimization done (n=46): time 3.998e-06/28.3, allocations: 0 / 9.784 GB, free: 92.89 MB / 0.6669 GB Notification: Performance of matching and sorting (n=54): time 0.01079/28.31, allocations: 1.817 MB / 9.786 GB, free: 92.5 MB / 0.6669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/28.31, allocations: 56.62 kB / 9.786 GB, free: 92.44 MB / 0.6669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003736/28.31, allocations: 275.8 kB / 9.786 GB, free: 92.33 MB / 0.6669 GB Notification: Performance of collectPreVariables (initialization): time 5.172e-05/28.31, allocations: 35.98 kB / 9.786 GB, free: 92.3 MB / 0.6669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/28.31, allocations: 283.5 kB / 9.786 GB, free: 92.1 MB / 0.6669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001405/28.31, allocations: 189.5 kB / 9.786 GB, free: 92 MB / 0.6669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/28.31, allocations: 11.12 kB / 9.786 GB, free: 92 MB / 0.6669 GB Notification: Performance of setup shared object (initialization): time 7.052e-05/28.31, allocations: 338.6 kB / 9.787 GB, free: 91.69 MB / 0.6669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/28.31, allocations: 168.3 kB / 9.787 GB, free: 91.69 MB / 0.6669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004493/28.31, allocations: 321.8 kB / 9.787 GB, free: 91.52 MB / 0.6669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004867/28.31, allocations: 225.4 kB / 9.787 GB, free: 91.51 MB / 0.6669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.651e-06/28.31, allocations: 2 kB / 9.787 GB, free: 91.51 MB / 0.6669 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001611/28.31, allocations: 0.6263 MB / 9.788 GB, free: 91.43 MB / 0.6669 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/28.31, allocations: 6.75 kB / 9.788 GB, free: 91.43 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/28.31, allocations: 3.812 kB / 9.788 GB, free: 91.43 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0143/28.33, allocations: 0.5515 MB / 9.789 GB, free: 91.4 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008562/28.33, allocations: 141.5 kB / 9.789 GB, free: 91.4 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001824/28.33, allocations: 2.993 MB / 9.792 GB, free: 88.52 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006327/28.33, allocations: 47.05 kB / 9.792 GB, free: 88.51 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.069e-05/28.33, allocations: 36.2 kB / 9.792 GB, free: 88.5 MB / 0.6669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (volume1.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001846/28.33, allocations: 145.5 kB / 9.792 GB, free: 88.39 MB / 0.6669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/28.33, allocations: 42.59 kB / 9.792 GB, free: 88.38 MB / 0.6669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/28.33, allocations: 1.049 MB / 9.793 GB, free: 88.25 MB / 0.6669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.738e-05/28.33, allocations: 10.5 kB / 9.793 GB, free: 88.25 MB / 0.6669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.042e-06/28.33, allocations: 0 / 9.793 GB, free: 88.25 MB / 0.6669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/28.33, allocations: 1.07 MB / 9.794 GB, free: 87.86 MB / 0.6669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002719/28.34, allocations: 1.721 MB / 9.796 GB, free: 87.5 MB / 0.6669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.166e-06/28.34, allocations: 0 / 9.796 GB, free: 87.5 MB / 0.6669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005439/28.34, allocations: 99.77 kB / 9.796 GB, free: 87.5 MB / 0.6669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00375/28.34, allocations: 390.7 kB / 9.796 GB, free: 87.47 MB / 0.6669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001054/28.34, allocations: 18.25 kB / 9.796 GB, free: 87.47 MB / 0.6669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000668/28.34, allocations: 1.136 MB / 9.797 GB, free: 86.43 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/28.34, allocations: 0 / 9.797 GB, free: 86.43 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/28.34, allocations: 1.114 MB / 9.798 GB, free: 86.22 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002164/28.34, allocations: 137.8 kB / 9.799 GB, free: 86.1 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-05/28.34, allocations: 13.94 kB / 9.799 GB, free: 86.1 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004365/28.34, allocations: 31.89 kB / 9.799 GB, free: 86.09 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/28.34, allocations: 36.11 kB / 9.799 GB, free: 86.09 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.085e-05/28.34, allocations: 22.59 kB / 9.799 GB, free: 86.09 MB / 0.6669 GB Notification: Performance of sorting global known variables: time 0.0003298/28.34, allocations: 252.6 kB / 9.799 GB, free: 86.01 MB / 0.6669 GB Notification: Performance of sort global known variables: time 7.63e-07/28.34, allocations: 0 / 9.799 GB, free: 86.01 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.01533/28.36, allocations: 1.11 MB / 9.8 GB, free: 85.83 MB / 0.6669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (volume.medium.p,volume.medium.h,volume1.medium.p,volume1.medium.h) * Number of discrete variables: 6 ($cse1.phase,$cse2,$cse5.phase,$cse6,$cse7.phase,$cse8) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.2593/28.62, allocations: 23.71 MB / 9.823 GB, free: 71.35 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.001789/28.62, allocations: 0.6715 MB / 9.824 GB, free: 70.89 MB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 5.91e-06/28.62, allocations: 2.672 kB / 9.824 GB, free: 70.89 MB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008384/28.62, allocations: 371.9 kB / 9.824 GB, free: 70.68 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/28.62, allocations: 247.7 kB / 9.824 GB, free: 70.54 MB / 0.6669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/28.63, allocations: 1.078 MB / 9.825 GB, free: 69.71 MB / 0.6669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/28.63, allocations: 0.8758 MB / 9.826 GB, free: 68.88 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002032/28.63, allocations: 58.31 kB / 9.826 GB, free: 68.83 MB / 0.6669 GB Notification: Performance of SimCode: time 1.81e-06/28.63, allocations: 0 / 9.826 GB, free: 68.83 MB / 0.6669 GB Notification: Performance of Templates: time 0.0693/28.69, allocations: 46.13 MB / 9.871 GB, free: 34.88 MB / 0.6669 GB