Running command: translateModel(Modelica.Media.Examples.R134a.R134a2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p|volume1.medium.h|volume1.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadModel(Modelica): time 1.752/1.752, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.958e-05, allocations: 4 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08617/0.08623, allocations: 38.77 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.04859/0.1349, allocations: 30.8 MB / 297.7 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2683/0.4032, allocations: 24.31 MB / 322 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007863/0.4041, allocations: 9.844 kB / 322 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.4055, allocations: 302.2 kB / 322.3 MB, free: 2.141 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001551/0.4071, allocations: 334 kB / 322.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02071/0.4278, allocations: 3.308 MB / 325.9 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002044/0.4299, allocations: 0.5511 MB / 326.5 MB, free: 432 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003165/0.4303, allocations: 75.62 kB / 326.6 MB, free: 384 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.4317, allocations: 360.4 kB / 326.9 MB, free: 200 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001054/0.4329, allocations: 257.1 kB / 327.2 MB, free: 68 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1337/0.5666, allocations: 69.13 MB / 396.3 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01479/0.5815, allocations: 276 kB / 396.6 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003603/0.5819, allocations: 115.6 kB / 396.7 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004769/0.5824, allocations: 72 kB / 396.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.07984/0.6622, allocations: 13.85 MB / 410.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.587e-06/0.6623, allocations: 0 / 410.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.042e-06/0.6623, allocations: 7.938 kB / 410.6 MB, free: 0.8633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.928e-05/0.6623, allocations: 0 / 410.6 MB, free: 0.8633 MB / 330.7 MB 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.01098/0.6733, allocations: 1.28 MB / 411.9 MB, free: 15.54 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/0.6734, allocations: 8.031 kB / 411.9 MB, free: 15.53 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009948/0.6744, allocations: 89.11 kB / 412 MB, free: 15.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000841/0.6753, allocations: 382 kB / 412.3 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.6753, allocations: 33.69 kB / 412.4 MB, free: 15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.6755, allocations: 44 kB / 412.4 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.6773, allocations: 0.6179 MB / 413 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.104e-05/0.6774, allocations: 4 kB / 413 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.796e-05/0.6775, allocations: 24 kB / 413.1 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.6776, allocations: 15.98 kB / 413.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001648/0.6792, allocations: 0.5194 MB / 413.6 MB, free: 13.73 MB / 346.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.007147/0.6864, allocations: 3.831 MB / 417.4 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/0.688, allocations: 407 kB / 417.8 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005514/0.6935, allocations: 3.56 MB / 421.4 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/0.6936, allocations: 38.94 kB / 421.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 3.657e-06/0.6937, allocations: 0 / 421.4 MB, free: 4.887 MB / 346.7 MB Notification: Performance of matching and sorting (n=54): time 0.01491/0.7086, allocations: 2.034 MB / 423.5 MB, free: 2.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.589e-05/0.7087, allocations: 59.84 kB / 423.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004981/0.7092, allocations: 271.6 kB / 423.8 MB, free: 2.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.743e-05/0.7093, allocations: 33.7 kB / 423.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002349/0.7095, allocations: 291 kB / 424.1 MB, free: 2.109 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002337/0.7098, allocations: 189.2 kB / 424.3 MB, free: 1.922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/0.7098, allocations: 16 kB / 424.3 MB, free: 1.906 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.71, allocations: 346.7 kB / 424.6 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.7106, allocations: 173.2 kB / 424.8 MB, free: 1.391 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.7112, allocations: 332 kB / 425.1 MB, free: 1.008 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006821/0.7119, allocations: 228.7 kB / 425.4 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.712, allocations: 4 kB / 425.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.002112/0.7141, allocations: 0.6468 MB / 426 MB, free: 120 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.7142, allocations: 12.09 kB / 426 MB, free: 108 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.513e-05/0.7142, allocations: 4 kB / 426 MB, free: 104 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01584/0.73, allocations: 446 kB / 426.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.7312, allocations: 139.8 kB / 426.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003003/0.7343, allocations: 3.002 MB / 429.6 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007104/0.735, allocations: 52.19 kB / 429.6 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-05/0.7351, allocations: 28 kB / 429.7 MB, free: 12.23 MB / 362.7 MB 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.0004134/0.7356, allocations: 185.6 kB / 429.9 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.7357, allocations: 43.53 kB / 429.9 MB, free: 12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002675/0.7384, allocations: 1.059 MB / 431 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.847e-05/0.7385, allocations: 15.94 kB / 431 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.7385, allocations: 0 / 431 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002093/0.7406, allocations: 1.079 MB / 432.1 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003981/0.7446, allocations: 1.747 MB / 433.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.64e-05/0.7447, allocations: 0 / 433.8 MB, free: 7.945 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001198/0.7459, allocations: 99.88 kB / 433.9 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00829/0.7543, allocations: 345 kB / 434.2 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001639/0.7545, allocations: 19.98 kB / 434.3 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001581/0.7561, allocations: 1.148 MB / 435.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.7562, allocations: 0 / 435.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003067/0.7592, allocations: 1.127 MB / 436.5 MB, free: 5.137 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.7596, allocations: 140.3 kB / 436.7 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.7598, allocations: 12 kB / 436.7 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/0.7603, allocations: 31.98 kB / 436.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.7604, allocations: 36.47 kB / 436.7 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-05/0.7605, allocations: 23.98 kB / 436.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004373/0.761, allocations: 247 kB / 437 MB, free: 4.641 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.761, allocations: 4 kB / 437 MB, free: 4.637 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007789/0.7688, allocations: 0.9604 MB / 438 MB, free: 3.676 MB / 362.7 MB 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.3305/1.099, allocations: 7.851 MB / 445.8 MB, free: 126 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002266/1.102, allocations: 0.6929 MB / 446.5 MB, free: 125.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.404e-06/1.102, allocations: 0.6562 kB / 446.5 MB, free: 125.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001108/1.103, allocations: 368.6 kB / 446.9 MB, free: 125.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.105, allocations: 246.5 kB / 447.1 MB, free: 125.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003818/1.109, allocations: 1.627 MB / 448.7 MB, free: 125.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004754/1.11, allocations: 0.8763 MB / 449.6 MB, free: 124.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/1.11, allocations: 56.19 kB / 449.7 MB, free: 124.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.082e-06/1.11, allocations: 0 / 449.7 MB, free: 124.5 MB / 362.7 MB Notification: Performance of Templates: time 0.07403/1.184, allocations: 39.51 MB / 489.2 MB, free: 91.74 MB / 362.7 MB