Running command: translateModel(ModelicaTest.Media.TestOnly.R134a_setState_pTX,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestOnly.R134a_setState_pTX") Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.414e-05, allocations: 4 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3211, allocations: 61.88 MB / 408.8 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.75/14.07, allocations: 5.758 GB / 6.157 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001768/14.07, allocations: 67.02 kB / 6.157 GB, free: 153.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.389/16.46, allocations: 478.9 MB / 6.625 GB, free: 66.39 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.117e-06/16.46, allocations: 0 / 6.625 GB, free: 66.39 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.171e-06/16.46, allocations: 4 kB / 6.625 GB, free: 66.39 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.007982/16.47, allocations: 0.6361 MB / 6.625 GB, free: 65.77 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/16.47, allocations: 9.531 kB / 6.625 GB, free: 65.77 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/16.47, allocations: 15.53 kB / 6.625 GB, free: 65.75 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.668e-05/16.47, allocations: 172.7 kB / 6.626 GB, free: 65.55 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/16.47, allocations: 0 / 6.626 GB, free: 65.55 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/16.47, allocations: 4 kB / 6.626 GB, free: 65.55 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/16.47, allocations: 73.06 kB / 6.626 GB, free: 65.49 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.827e-06/16.47, allocations: 0 / 6.626 GB, free: 65.49 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/16.47, allocations: 4 kB / 6.626 GB, free: 65.48 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/16.47, allocations: 0 / 6.626 GB, free: 65.48 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/16.47, allocations: 74.34 kB / 6.626 GB, free: 65.44 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003956/16.47, allocations: 318.4 kB / 6.626 GB, free: 65.11 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.718e-05/16.47, allocations: 44.95 kB / 6.626 GB, free: 65.07 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.634e-05/16.47, allocations: 39.42 kB / 6.626 GB, free: 65.05 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01671/16.49, allocations: 6.292 MB / 6.632 GB, free: 58.28 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/16.49, allocations: 38.5 kB / 6.632 GB, free: 58.24 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 3.54e-06/16.49, allocations: 4 kB / 6.632 GB, free: 58.23 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.0003019/16.49, allocations: 83.66 kB / 6.632 GB, free: 58.16 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/16.49, allocations: 59.09 kB / 6.632 GB, free: 58.1 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.386e-05/16.49, allocations: 85.98 kB / 6.633 GB, free: 58.01 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/16.49, allocations: 25.7 kB / 6.633 GB, free: 57.98 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.652e-05/16.49, allocations: 158.2 kB / 6.633 GB, free: 57.82 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/16.49, allocations: 30.67 kB / 6.633 GB, free: 57.8 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.21e-06/16.49, allocations: 0 / 6.633 GB, free: 57.8 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/16.49, allocations: 322.8 kB / 6.633 GB, free: 57.48 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.476e-05/16.49, allocations: 19.38 kB / 6.633 GB, free: 57.46 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.306e-05/16.49, allocations: 30.47 kB / 6.633 GB, free: 57.44 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.464e-05/16.49, allocations: 23.95 kB / 6.633 GB, free: 57.42 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/16.49, allocations: 3.938 kB / 6.633 GB, free: 57.42 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002014/16.49, allocations: 93.3 kB / 6.633 GB, free: 57.34 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/16.49, allocations: 4 kB / 6.633 GB, free: 57.34 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.886e-06/16.49, allocations: 32 / 6.633 GB, free: 57.34 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/16.49, allocations: 8 kB / 6.633 GB, free: 57.33 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/16.49, allocations: 14.67 kB / 6.633 GB, free: 57.32 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.715e-06/16.49, allocations: 0 / 6.633 GB, free: 57.32 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/16.49, allocations: 1.969 kB / 6.633 GB, free: 57.32 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.943e-05/16.49, allocations: 4 kB / 6.633 GB, free: 57.32 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.857e-05/16.49, allocations: 103 kB / 6.633 GB, free: 57.21 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.233e-05/16.49, allocations: 11.89 kB / 6.633 GB, free: 57.2 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000285/16.49, allocations: 156.7 kB / 6.634 GB, free: 57.08 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001602/16.49, allocations: 114.5 kB / 6.634 GB, free: 56.99 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.786e-06/16.49, allocations: 3.953 kB / 6.634 GB, free: 56.99 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.067e-06/16.49, allocations: 0 / 6.634 GB, free: 56.99 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005084/16.49, allocations: 436.5 kB / 6.634 GB, free: 56.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/16.49, allocations: 0 / 6.634 GB, free: 56.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.344e-05/16.49, allocations: 23.94 kB / 6.634 GB, free: 56.55 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.322e-06/16.49, allocations: 0 / 6.634 GB, free: 56.55 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/16.49, allocations: 0 / 6.634 GB, free: 56.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.656e-06/16.49, allocations: 7.75 kB / 6.634 GB, free: 56.55 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.011e-06/16.49, allocations: 0 / 6.634 GB, free: 56.55 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/16.49, allocations: 210.7 kB / 6.634 GB, free: 56.36 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.723e-05/16.49, allocations: 83.06 kB / 6.634 GB, free: 56.26 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/16.49, allocations: 11.77 kB / 6.634 GB, free: 56.25 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.555e-05/16.49, allocations: 7.906 kB / 6.634 GB, free: 56.24 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/16.49, allocations: 4 kB / 6.634 GB, free: 56.24 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/16.49, allocations: 3.984 kB / 6.634 GB, free: 56.23 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.249e-05/16.49, allocations: 79.28 kB / 6.634 GB, free: 56.16 MB / 0.5262 GB Notification: Performance of sort global known variables: time 6.82e-07/16.49, allocations: 0 / 6.634 GB, free: 56.16 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.004493/16.49, allocations: 392.5 kB / 6.635 GB, free: 55.83 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06481/16.56, allocations: 7.951 MB / 6.643 GB, free: 48.08 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0002569/16.56, allocations: 106.3 kB / 6.643 GB, free: 48 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 2.952e-06/16.56, allocations: 0 / 6.643 GB, free: 48 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 8.152e-05/16.56, allocations: 53 kB / 6.643 GB, free: 47.97 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/16.56, allocations: 42.45 kB / 6.643 GB, free: 47.93 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000281/16.56, allocations: 140.7 kB / 6.643 GB, free: 47.79 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/16.56, allocations: 0.6926 MB / 6.644 GB, free: 47.07 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/16.56, allocations: 15.44 kB / 6.644 GB, free: 47.05 MB / 0.5262 GB Notification: Performance of SimCode: time 1.421e-06/16.56, allocations: 0 / 6.644 GB, free: 47.05 MB / 0.5262 GB Notification: Performance of Templates: time 0.02922/16.59, allocations: 18.38 MB / 6.662 GB, free: 28.72 MB / 0.5262 GB