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_3.2.2_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.817/1.817, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.023e-05/4.048e-05, allocations: 6.75 kB / 255.3 MB, free: 3.211 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08017/0.08024, allocations: 44.5 MB / 299.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.77/12.85, allocations: 5.72 GB / 6.013 GB, free: 31.75 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/12.85, allocations: 71.09 kB / 6.013 GB, free: 31.69 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 12.73/25.58, allocations: 3.492 GB / 9.505 GB, free: 123.2 MB / 0.5888 GB Notification: Performance of FrontEnd: time 2.173e-06/25.58, allocations: 4 kB / 9.505 GB, free: 123.2 MB / 0.5888 GB Notification: Performance of Transformations before backend: time 2.75e-05/25.58, allocations: 8.938 kB / 9.505 GB, free: 123.2 MB / 0.5888 GB 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.0325/25.61, allocations: 1.659 MB / 9.507 GB, free: 122.4 MB / 0.5888 GB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/25.61, allocations: 11.19 kB / 9.507 GB, free: 122.4 MB / 0.5888 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006822/25.61, allocations: 65.05 kB / 9.507 GB, free: 122.4 MB / 0.5888 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004741/25.61, allocations: 325.8 kB / 9.507 GB, free: 122.2 MB / 0.5888 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/25.61, allocations: 22.91 kB / 9.507 GB, free: 122.2 MB / 0.5888 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.573e-05/25.61, allocations: 32.62 kB / 9.507 GB, free: 122.2 MB / 0.5888 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/25.62, allocations: 460.1 kB / 9.507 GB, free: 122.1 MB / 0.5888 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/25.62, allocations: 3.812 kB / 9.507 GB, free: 122.1 MB / 0.5888 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.379e-05/25.62, allocations: 14.81 kB / 9.507 GB, free: 122.1 MB / 0.5888 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/25.62, allocations: 13.44 kB / 9.508 GB, free: 122.1 MB / 0.5888 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009794/25.62, allocations: 387.3 kB / 9.508 GB, free: 122.1 MB / 0.5888 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.007408/25.62, allocations: 5.231 MB / 9.513 GB, free: 120.1 MB / 0.5888 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008727/25.63, allocations: 294 kB / 9.513 GB, free: 120 MB / 0.5888 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002611/25.63, allocations: 135 kB / 9.513 GB, free: 120 MB / 0.5888 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002593/25.63, allocations: 2.059 MB / 9.515 GB, free: 118.2 MB / 0.5888 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/25.63, allocations: 43.45 kB / 9.515 GB, free: 118.2 MB / 0.5888 GB Notification: Performance of pre-optimization done (n=30): time 3.799e-06/25.63, allocations: 0 / 9.515 GB, free: 118.2 MB / 0.5888 GB Notification: Performance of matching and sorting (n=34): time 0.006105/25.63, allocations: 1.122 MB / 9.517 GB, free: 117.9 MB / 0.5888 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/25.63, allocations: 59.34 kB / 9.517 GB, free: 117.8 MB / 0.5888 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003128/25.63, allocations: 233.1 kB / 9.517 GB, free: 117.7 MB / 0.5888 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/25.63, allocations: 30.92 kB / 9.517 GB, free: 117.7 MB / 0.5888 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/25.63, allocations: 250 kB / 9.517 GB, free: 117.5 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 9.153e-05/25.64, allocations: 119.8 kB / 9.517 GB, free: 117.4 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/25.64, allocations: 7.875 kB / 9.517 GB, free: 117.4 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 6.271e-05/25.64, allocations: 324.8 kB / 9.518 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/25.64, allocations: 109.4 kB / 9.518 GB, free: 117.1 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002946/25.64, allocations: 224.3 kB / 9.518 GB, free: 117 MB / 0.5888 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003088/25.64, allocations: 149.6 kB / 9.518 GB, free: 117 MB / 0.5888 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.796e-06/25.64, allocations: 3.953 kB / 9.518 GB, free: 116.9 MB / 0.5888 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001095/25.64, allocations: 440.8 kB / 9.518 GB, free: 116.9 MB / 0.5888 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/25.64, allocations: 5.594 kB / 9.518 GB, free: 116.9 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.616e-06/25.64, allocations: 7.156 kB / 9.518 GB, free: 116.9 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007347/25.64, allocations: 287.5 kB / 9.519 GB, free: 116.9 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/25.65, allocations: 88.39 kB / 9.519 GB, free: 116.9 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001335/25.65, allocations: 1.844 MB / 9.521 GB, free: 115.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004665/25.65, allocations: 31.39 kB / 9.521 GB, free: 115.1 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.341e-05/25.65, allocations: 20.67 kB / 9.521 GB, free: 115.1 MB / 0.5888 GB 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.0001367/25.65, allocations: 135.8 kB / 9.521 GB, free: 115 MB / 0.5888 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.312e-05/25.65, allocations: 31.91 kB / 9.521 GB, free: 115 MB / 0.5888 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/25.65, allocations: 0.7001 MB / 9.521 GB, free: 114.9 MB / 0.5888 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/25.65, allocations: 6.906 kB / 9.521 GB, free: 114.9 MB / 0.5888 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.109e-06/25.65, allocations: 7.312 kB / 9.521 GB, free: 114.9 MB / 0.5888 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000907/25.65, allocations: 0.8478 MB / 9.522 GB, free: 114.4 MB / 0.5888 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/25.65, allocations: 1.194 MB / 9.523 GB, free: 114.1 MB / 0.5888 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.223e-06/25.65, allocations: 0 / 9.523 GB, free: 114.1 MB / 0.5888 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/25.65, allocations: 62.27 kB / 9.524 GB, free: 114.1 MB / 0.5888 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/25.65, allocations: 193.2 kB / 9.524 GB, free: 114.1 MB / 0.5888 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/25.65, allocations: 12.94 kB / 9.524 GB, free: 114.1 MB / 0.5888 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000364/25.65, allocations: 0.5691 MB / 9.524 GB, free: 113.6 MB / 0.5888 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.432e-06/25.65, allocations: 3.562 kB / 9.524 GB, free: 113.6 MB / 0.5888 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/25.66, allocations: 0.7234 MB / 9.525 GB, free: 113.4 MB / 0.5888 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001749/25.66, allocations: 131 kB / 9.525 GB, free: 113.3 MB / 0.5888 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.578e-05/25.66, allocations: 4.312 kB / 9.525 GB, free: 113.3 MB / 0.5888 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004049/25.66, allocations: 31.97 kB / 9.525 GB, free: 113.3 MB / 0.5888 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/25.66, allocations: 24.75 kB / 9.525 GB, free: 113.3 MB / 0.5888 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.232e-05/25.66, allocations: 14.23 kB / 9.525 GB, free: 113.3 MB / 0.5888 GB Notification: Performance of sorting global known variables: time 0.0002849/25.66, allocations: 213.5 kB / 9.525 GB, free: 113.2 MB / 0.5888 GB Notification: Performance of sort global known variables: time 7.82e-07/25.66, allocations: 0 / 9.525 GB, free: 113.2 MB / 0.5888 GB Notification: Performance of remove unused functions: time 0.01234/25.67, allocations: 0.8553 MB / 9.526 GB, free: 113.1 MB / 0.5888 GB 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.1707/25.84, allocations: 19.08 MB / 9.545 GB, free: 103.2 MB / 0.5888 GB Notification: Performance of simCode: created initialization part: time 0.00119/25.84, allocations: 479.4 kB / 9.545 GB, free: 103.1 MB / 0.5888 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/25.84, allocations: 0 / 9.545 GB, free: 103.1 MB / 0.5888 GB Notification: Performance of simCode: created simulation system equations: time 0.0004528/25.84, allocations: 218.5 kB / 9.546 GB, free: 103.1 MB / 0.5888 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/25.84, allocations: 176.5 kB / 9.546 GB, free: 103.1 MB / 0.5888 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/25.84, allocations: 0.6815 MB / 9.546 GB, free: 102.8 MB / 0.5888 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/25.85, allocations: 0.8162 MB / 9.547 GB, free: 102.1 MB / 0.5888 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/25.85, allocations: 40.38 kB / 9.547 GB, free: 102.1 MB / 0.5888 GB Notification: Performance of SimCode: time 1.691e-06/25.85, allocations: 0 / 9.547 GB, free: 102.1 MB / 0.5888 GB Notification: Performance of Templates: time 0.05874/25.9, allocations: 35.58 MB / 9.582 GB, free: 93.49 MB / 0.5888 GB