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_trunk_cpp_Modelica.Media.Examples.R134a.R134a2") Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 224.7 MB / 241.1 MB, free: 1.652 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.743e-05/2.737e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1526, allocations: 50.41 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.R134a.R134a2): time 0.05023/0.2029, allocations: 30.96 MB / 375.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04497/0.248, allocations: 24.35 MB / 400.3 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006487/0.2487, allocations: 8 kB / 400.3 MB, free: 1.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.2499, allocations: 302.5 kB / 400.6 MB, free: 1.203 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00121/0.2511, allocations: 327 kB / 400.9 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3295/0.5807, allocations: 3.301 MB / 404.2 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001902/0.5826, allocations: 0.5483 MB / 404.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003271/0.583, allocations: 71.25 kB / 404.8 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.5846, allocations: 364 kB / 405.2 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000928/0.5856, allocations: 255.1 kB / 405.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1806/0.7663, allocations: 69.13 MB / 474.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.01575/0.7821, allocations: 276 kB / 474.8 MB, free: 2.328 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.7825, allocations: 105.1 kB / 474.9 MB, free: 2.273 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005395/0.7831, allocations: 76 kB / 475 MB, free: 2.199 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.08274/0.8659, allocations: 13.82 MB / 488.8 MB, free: 4.965 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.8659, allocations: 0 / 488.8 MB, free: 4.965 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.8659, allocations: 0 / 488.8 MB, free: 4.965 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.866, allocations: 0 / 488.8 MB, free: 4.965 MB / 394.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.01097/0.8769, allocations: 1.287 MB / 490.1 MB, free: 3.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.877, allocations: 8.031 kB / 490.1 MB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009491/0.878, allocations: 91.39 kB / 490.2 MB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007082/0.8787, allocations: 370.6 kB / 490.6 MB, free: 3.254 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.8788, allocations: 36.31 kB / 490.6 MB, free: 3.234 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.8789, allocations: 48.52 kB / 490.7 MB, free: 3.203 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.8807, allocations: 0.6201 MB / 491.3 MB, free: 2.727 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.582e-05/0.8808, allocations: 7 kB / 491.3 MB, free: 2.723 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.8809, allocations: 20.17 kB / 491.3 MB, free: 2.719 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.787e-05/0.8809, allocations: 16 kB / 491.3 MB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001555/0.8825, allocations: 0.5234 MB / 491.8 MB, free: 2.355 MB / 394.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.006603/0.8891, allocations: 3.815 MB / 495.7 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.8905, allocations: 415.6 kB / 496.1 MB, free: 14.42 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005134/0.8957, allocations: 3.56 MB / 499.6 MB, free: 10.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.8958, allocations: 40.97 kB / 499.7 MB, free: 10.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 5.35e-06/0.8958, allocations: 0 / 499.7 MB, free: 10.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=54): time 0.01477/0.9106, allocations: 2.043 MB / 0.4899 GB, free: 8.582 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.9107, allocations: 56.97 kB / 0.49 GB, free: 8.516 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.9112, allocations: 270.8 kB / 0.4903 GB, free: 8.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.511e-05/0.9113, allocations: 37.2 kB / 0.4903 GB, free: 8.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.9115, allocations: 286.5 kB / 0.4906 GB, free: 8.016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.9117, allocations: 188.1 kB / 0.4908 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.451e-05/0.9118, allocations: 14.62 kB / 0.4908 GB, free: 7.855 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9119, allocations: 335.7 kB / 0.4911 GB, free: 7.527 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.9124, allocations: 178.9 kB / 0.4913 GB, free: 7.422 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006554/0.9131, allocations: 330.3 kB / 0.4916 GB, free: 7.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006164/0.9137, allocations: 230.5 kB / 0.4918 GB, free: 7.008 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.9137, allocations: 0 / 0.4918 GB, free: 7.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001984/0.9157, allocations: 0.6479 MB / 0.4924 GB, free: 6.566 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.9158, allocations: 12.55 kB / 0.4924 GB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.9158, allocations: 8 kB / 0.4924 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0156/0.9314, allocations: 442.3 kB / 0.4929 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.9326, allocations: 141.1 kB / 0.493 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002812/0.9355, allocations: 2.998 MB / 0.4959 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.9362, allocations: 49.56 kB / 0.496 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-05/0.9363, allocations: 30.06 kB / 0.496 GB, free: 2.902 MB / 410.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.0004047/0.9368, allocations: 188.6 kB / 0.4962 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.9369, allocations: 47.48 kB / 0.4962 GB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/0.9394, allocations: 1.053 MB / 0.4973 GB, free: 2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.729e-05/0.9394, allocations: 15.3 kB / 0.4973 GB, free: 1.988 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.9394, allocations: 3.938 kB / 0.4973 GB, free: 1.984 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001847/0.9413, allocations: 1.085 MB / 0.4983 GB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003457/0.9448, allocations: 1.741 MB / 0.5 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/0.9449, allocations: 7.734 kB / 0.5 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007599/0.9456, allocations: 101.3 kB / 0.5001 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005366/0.951, allocations: 349.7 kB / 0.5005 GB, free: 15.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.9512, allocations: 14.55 kB / 0.5005 GB, free: 15.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009402/0.9521, allocations: 1.15 MB / 0.5016 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9521, allocations: 0 / 0.5016 GB, free: 14.38 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.9546, allocations: 1.122 MB / 0.5027 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.9548, allocations: 142.9 kB / 0.5028 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.955, allocations: 10.19 kB / 0.5028 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.9556, allocations: 31.39 kB / 0.5029 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.9557, allocations: 36.45 kB / 0.5029 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.799e-05/0.9557, allocations: 17.61 kB / 0.5029 GB, free: 13.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004034/0.9561, allocations: 246.9 kB / 0.5032 GB, free: 13.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/0.9562, allocations: 0 / 0.5032 GB, free: 13.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007568/0.9637, allocations: 0.9648 MB / 0.5041 GB, free: 12.31 MB / 426.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.09717/1.061, allocations: 7.87 MB / 0.5118 GB, free: 4.625 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00342/1.064, allocations: 0.6979 MB / 0.5125 GB, free: 4.109 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/1.065, allocations: 0 / 0.5125 GB, free: 4.109 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/1.066, allocations: 366.4 kB / 0.5128 GB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002532/1.069, allocations: 249.5 kB / 0.5131 GB, free: 3.691 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00399/1.073, allocations: 1.614 MB / 0.5146 GB, free: 2.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/1.073, allocations: 0.8799 MB / 0.5155 GB, free: 1.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000315/1.074, allocations: 54.75 kB / 0.5156 GB, free: 1.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.272e-06/1.074, allocations: 0 / 0.5156 GB, free: 1.27 MB / 426.7 MB Notification: Performance of Templates: time 0.0841/1.158, allocations: 39.52 MB / 0.5541 GB, free: 10.02 MB / 474.7 MB