Running command: translateModel(Modelica.Media.Examples.R134a.R134a1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 2.191/2.191, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.709e-05/3.705e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.118, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a1): time 0.03882/0.1569, allocations: 22.03 MB / 367 MB, free: 2.848 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03531/0.1923, allocations: 19.82 MB / 386.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004479/0.1928, allocations: 11.94 kB / 386.8 MB, free: 14.97 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000858/0.1937, allocations: 210.9 kB / 387 MB, free: 14.77 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007791/0.1945, allocations: 243.2 kB / 387.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01068/0.2052, allocations: 2.574 MB / 389.9 MB, free: 11.95 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001033/0.2062, allocations: 396.1 kB / 390.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001792/0.2064, allocations: 43.95 kB / 390.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007845/0.2072, allocations: 259.4 kB / 390.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003964/0.2076, allocations: 175.5 kB / 390.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3861/0.5938, allocations: 53.54 MB / 444.2 MB, free: 6.375 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01245/0.6063, allocations: 216 kB / 444.5 MB, free: 6.164 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002527/0.6066, allocations: 78.38 kB / 444.5 MB, free: 6.121 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.6068, allocations: 53 kB / 444.6 MB, free: 6.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.06624/0.6731, allocations: 10.64 MB / 455.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.6731, allocations: 1 kB / 455.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6732, allocations: 0 / 455.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.137e-05/0.6732, allocations: 0 / 455.2 MB, free: 11.91 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0134/0.6866, allocations: 1.045 MB / 456.3 MB, free: 10.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.6867, allocations: 8.031 kB / 456.3 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.6878, allocations: 64.59 kB / 456.3 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008413/0.6887, allocations: 315.4 kB / 456.6 MB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.6888, allocations: 22.03 kB / 456.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.6889, allocations: 39.69 kB / 456.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001884/0.6908, allocations: 457.1 kB / 457.1 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/0.6909, allocations: 4 kB / 457.2 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.989e-05/0.691, allocations: 16.44 kB / 457.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.691, allocations: 10.22 kB / 457.2 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/0.6925, allocations: 385.3 kB / 457.6 MB, free: 9.852 MB / 362.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.005314/0.6979, allocations: 2.958 MB / 460.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009676/0.6989, allocations: 285.1 kB / 460.8 MB, free: 6.805 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003824/0.7027, allocations: 2.537 MB / 463.3 MB, free: 3.844 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.7028, allocations: 45.33 kB / 463.4 MB, free: 3.797 MB / 362.7 MB Notification: Performance of pre-optimization done (n=30): time 3.747e-06/0.7029, allocations: 0 / 463.4 MB, free: 3.797 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.008086/0.711, allocations: 1.295 MB / 464.7 MB, free: 2.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.619e-05/0.7111, allocations: 55.41 kB / 464.7 MB, free: 2.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004075/0.7115, allocations: 231 kB / 464.9 MB, free: 2.457 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.281e-05/0.7116, allocations: 38.89 kB / 465 MB, free: 2.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.7118, allocations: 248.8 kB / 465.2 MB, free: 2.199 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.7119, allocations: 115.8 kB / 465.3 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.912e-05/0.712, allocations: 10.19 kB / 465.4 MB, free: 2.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.7121, allocations: 328.7 kB / 465.7 MB, free: 1.777 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003228/0.7124, allocations: 109.7 kB / 465.8 MB, free: 1.707 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.7129, allocations: 230.3 kB / 466 MB, free: 1.492 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000394/0.7133, allocations: 140.7 kB / 466.1 MB, free: 1.418 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.7133, allocations: 4 kB / 466.1 MB, free: 1.414 MB / 362.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001324/0.7146, allocations: 448.3 kB / 466.6 MB, free: 1.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.765e-05/0.7147, allocations: 8 kB / 466.6 MB, free: 1.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.7147, allocations: 4 kB / 466.6 MB, free: 1.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007766/0.7225, allocations: 233.9 kB / 466.8 MB, free: 0.8984 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.7232, allocations: 87.45 kB / 466.9 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.7253, allocations: 1.848 MB / 468.8 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.7258, allocations: 34.83 kB / 468.8 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.108e-05/0.7259, allocations: 27.19 kB / 468.8 MB, free: 14.86 MB / 378.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: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 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 prepare postOptimizeDAE: time 0.0002907/0.7262, allocations: 161.4 kB / 469 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.7263, allocations: 31.62 kB / 469 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001692/0.728, allocations: 0.6926 MB / 469.7 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.7281, allocations: 7.984 kB / 469.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.7281, allocations: 4 kB / 469.7 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001319/0.7295, allocations: 0.8575 MB / 470.6 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.7319, allocations: 1.193 MB / 471.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.7319, allocations: 4 kB / 471.8 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/0.7325, allocations: 63.12 kB / 471.8 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002751/0.7352, allocations: 179.9 kB / 472 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.569e-05/0.7353, allocations: 14.61 kB / 472 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005151/0.7359, allocations: 0.5775 MB / 472.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.533e-06/0.7359, allocations: 7.469 kB / 472.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.7375, allocations: 0.7253 MB / 473.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.7377, allocations: 130.1 kB / 473.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.7378, allocations: 12.92 kB / 473.5 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000399/0.7382, allocations: 22.39 kB / 473.5 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.549e-05/0.7383, allocations: 23.28 kB / 473.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.7383, allocations: 11.31 kB / 473.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003429/0.7387, allocations: 219.4 kB / 473.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7387, allocations: 0 / 473.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00646/0.7452, allocations: 0.7476 MB / 474.5 MB, free: 10.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse3.phase,$cse4,$cse5.phase,$cse6) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.05654/0.8018, allocations: 6.376 MB / 480.9 MB, free: 3.977 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001543/0.8033, allocations: 494.8 kB / 481.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8034, allocations: 0.875 kB / 481.3 MB, free: 3.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006156/0.804, allocations: 218.5 kB / 481.6 MB, free: 3.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001807/0.8059, allocations: 180.6 kB / 481.7 MB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00258/0.8085, allocations: 1.12 MB / 482.9 MB, free: 2.297 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.809, allocations: 0.8168 MB / 483.7 MB, free: 1.449 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.8093, allocations: 38.75 kB / 483.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of SimCode: time 1.112e-06/0.8093, allocations: 0 / 483.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of Templates: time 0.06707/0.8763, allocations: 30.1 MB / 0.5018 GB, free: 3.547 MB / 410.7 MB