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.1_cpp_Modelica.Media.Examples.R134a.R134a1") Notification: Performance of loadModel(Modelica): time 1.604/1.604, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.942e-05/2.97e-05, allocations: 0 / 225 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2148, allocations: 38.77 MB / 263.8 MB, free: 9.855 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.28/12.49, allocations: 5.484 GB / 5.742 GB, free: 71.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/12.49, allocations: 77.08 kB / 5.742 GB, free: 71.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.994/16.49, allocations: 0.8093 GB / 6.551 GB, free: 14.61 MB / 442.9 MB Notification: Performance of FrontEnd: time 2.08e-06/16.49, allocations: 0 / 6.551 GB, free: 14.61 MB / 442.9 MB Notification: Performance of Transformations before backend: time 2.396e-05/16.49, allocations: 8 kB / 6.551 GB, free: 14.61 MB / 442.9 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.01945/16.51, allocations: 1.246 MB / 6.552 GB, free: 13.45 MB / 442.9 MB Notification: Performance of prepare preOptimizeDAE: time 4.099e-05/16.51, allocations: 8.031 kB / 6.552 GB, free: 13.44 MB / 442.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006722/16.51, allocations: 68.8 kB / 6.552 GB, free: 13.37 MB / 442.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/16.51, allocations: 335 kB / 6.553 GB, free: 13.02 MB / 442.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/16.51, allocations: 24.78 kB / 6.553 GB, free: 13 MB / 442.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.093e-05/16.51, allocations: 28 kB / 6.553 GB, free: 12.97 MB / 442.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009757/16.51, allocations: 460.2 kB / 6.553 GB, free: 12.48 MB / 442.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/16.51, allocations: 0 / 6.553 GB, free: 12.48 MB / 442.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.877e-05/16.51, allocations: 15.94 kB / 6.553 GB, free: 12.47 MB / 442.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/16.51, allocations: 8 kB / 6.553 GB, free: 12.46 MB / 442.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008557/16.51, allocations: 377.3 kB / 6.553 GB, free: 12.09 MB / 442.9 MB 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.006733/16.52, allocations: 5.228 MB / 6.559 GB, free: 6.621 MB / 442.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008112/16.52, allocations: 290.7 kB / 6.559 GB, free: 6.332 MB / 442.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002476/16.52, allocations: 136.1 kB / 6.559 GB, free: 6.199 MB / 442.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002386/16.52, allocations: 2.063 MB / 6.561 GB, free: 3.785 MB / 442.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/16.52, allocations: 38.56 kB / 6.561 GB, free: 3.738 MB / 442.9 MB Notification: Performance of pre-optimization done (n=30): time 3.685e-06/16.52, allocations: 0 / 6.561 GB, free: 3.738 MB / 442.9 MB Notification: Performance of matching and sorting (n=34): time 0.005833/16.53, allocations: 1.134 MB / 6.562 GB, free: 2.559 MB / 442.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.569e-05/16.53, allocations: 55.41 kB / 6.562 GB, free: 2.492 MB / 442.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002894/16.53, allocations: 228.8 kB / 6.562 GB, free: 2.262 MB / 442.9 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/16.53, allocations: 29.7 kB / 6.562 GB, free: 2.227 MB / 442.9 MB Notification: Performance of collectInitialEqns (initialization): time 9.573e-05/16.53, allocations: 246.5 kB / 6.563 GB, free: 1.996 MB / 442.9 MB Notification: Performance of collectInitialBindings (initialization): time 8.623e-05/16.53, allocations: 126.2 kB / 6.563 GB, free: 1.887 MB / 442.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.273e-05/16.53, allocations: 4 kB / 6.563 GB, free: 1.883 MB / 442.9 MB Notification: Performance of setup shared object (initialization): time 6.061e-05/16.53, allocations: 334.8 kB / 6.563 GB, free: 1.547 MB / 442.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002415/16.53, allocations: 112.9 kB / 6.563 GB, free: 1.438 MB / 442.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002863/16.53, allocations: 213.2 kB / 6.563 GB, free: 1.18 MB / 442.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/16.53, allocations: 147.9 kB / 6.564 GB, free: 1.035 MB / 442.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/16.53, allocations: 0 / 6.564 GB, free: 1.035 MB / 442.9 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.001009/16.53, allocations: 430.9 kB / 6.564 GB, free: 0.6016 MB / 442.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/16.53, allocations: 8 kB / 6.564 GB, free: 0.5938 MB / 442.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.362e-06/16.53, allocations: 4 kB / 6.564 GB, free: 0.5898 MB / 442.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007164/16.54, allocations: 289.3 kB / 6.564 GB, free: 308 kB / 442.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/16.54, allocations: 92.14 kB / 6.564 GB, free: 216 kB / 442.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/16.54, allocations: 1.84 MB / 6.566 GB, free: 14.22 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004535/16.54, allocations: 29.86 kB / 6.566 GB, free: 14.19 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.58e-05/16.54, allocations: 20 kB / 6.566 GB, free: 14.17 MB / 458.9 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.0001834/16.54, allocations: 142.8 kB / 6.566 GB, free: 14.03 MB / 458.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.701e-05/16.54, allocations: 27.72 kB / 6.566 GB, free: 14 MB / 458.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001511/16.54, allocations: 0.6872 MB / 6.567 GB, free: 13.31 MB / 458.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/16.54, allocations: 11.98 kB / 6.567 GB, free: 13.3 MB / 458.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.463e-06/16.54, allocations: 0 / 6.567 GB, free: 13.3 MB / 458.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00121/16.54, allocations: 0.8593 MB / 6.568 GB, free: 12.35 MB / 458.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/16.54, allocations: 1.177 MB / 6.569 GB, free: 11.12 MB / 458.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.501e-06/16.54, allocations: 0 / 6.569 GB, free: 11.12 MB / 458.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/16.54, allocations: 63.89 kB / 6.569 GB, free: 11.05 MB / 458.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001986/16.55, allocations: 188.5 kB / 6.569 GB, free: 10.87 MB / 458.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-05/16.55, allocations: 15.94 kB / 6.569 GB, free: 10.85 MB / 458.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005656/16.55, allocations: 0.5835 MB / 6.57 GB, free: 10.24 MB / 458.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.639e-06/16.55, allocations: 0 / 6.57 GB, free: 10.24 MB / 458.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/16.55, allocations: 0.7212 MB / 6.571 GB, free: 9.504 MB / 458.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002007/16.55, allocations: 124.6 kB / 6.571 GB, free: 9.367 MB / 458.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.591e-05/16.55, allocations: 11.94 kB / 6.571 GB, free: 9.355 MB / 458.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003273/16.55, allocations: 22.12 kB / 6.571 GB, free: 9.336 MB / 458.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/16.55, allocations: 19.97 kB / 6.571 GB, free: 9.316 MB / 458.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.628e-05/16.55, allocations: 15.98 kB / 6.571 GB, free: 9.301 MB / 458.9 MB Notification: Performance of sorting global known variables: time 0.0003486/16.55, allocations: 215.1 kB / 6.571 GB, free: 9.09 MB / 458.9 MB Notification: Performance of sort global known variables: time 7.72e-07/16.55, allocations: 0 / 6.571 GB, free: 9.09 MB / 458.9 MB Notification: Performance of remove unused functions: time 0.01252/16.56, allocations: 0.8505 MB / 6.572 GB, free: 8.293 MB / 458.9 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.175/16.74, allocations: 19.08 MB / 6.59 GB, free: 5.305 MB / 474.9 MB Notification: Performance of simCode: created initialization part: time 0.001294/16.74, allocations: 469.8 kB / 6.591 GB, free: 4.84 MB / 474.9 MB Notification: Performance of simCode: created event and clocks part: time 7.242e-06/16.74, allocations: 4 kB / 6.591 GB, free: 4.836 MB / 474.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0005135/16.74, allocations: 220 kB / 6.591 GB, free: 4.621 MB / 474.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001251/16.74, allocations: 182.3 kB / 6.591 GB, free: 4.445 MB / 474.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/16.74, allocations: 0.6815 MB / 6.592 GB, free: 3.738 MB / 474.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/16.74, allocations: 0.813 MB / 6.593 GB, free: 2.898 MB / 474.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001529/16.74, allocations: 47.42 kB / 6.593 GB, free: 2.852 MB / 474.9 MB Notification: Performance of SimCode: time 1.783e-06/16.74, allocations: 0 / 6.593 GB, free: 2.852 MB / 474.9 MB Notification: Performance of Templates: time 0.35/17.09, allocations: 35.64 MB / 6.628 GB, free: 58.73 MB / 474.9 MB