Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.808e-05/1.822e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2486/0.2486, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4542/0.7029, allocations: 185.1 MB / 479.3 MB, free: 58.46 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.7032, allocations: 87.45 kB / 479.3 MB, free: 58.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8003/1.503, allocations: 198.8 MB / 0.6623 GB, free: 55.29 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.015e-06/1.504, allocations: 0 / 0.6623 GB, free: 55.29 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.157e-05/1.504, allocations: 8 kB / 0.6623 GB, free: 55.29 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.00187/1.505, allocations: 0.9722 MB / 0.6632 GB, free: 54.27 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/1.506, allocations: 12.03 kB / 0.6632 GB, free: 54.26 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/1.506, allocations: 43.58 kB / 0.6633 GB, free: 54.21 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/1.506, allocations: 290.5 kB / 0.6636 GB, free: 53.89 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.506, allocations: 8 kB / 0.6636 GB, free: 53.88 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.308e-05/1.506, allocations: 16 kB / 0.6636 GB, free: 53.87 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003579/1.507, allocations: 161.1 kB / 0.6637 GB, free: 53.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/1.507, allocations: 289.2 kB / 0.664 GB, free: 53.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/1.507, allocations: 0 / 0.664 GB, free: 53.39 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.268e-05/1.507, allocations: 3.953 kB / 0.664 GB, free: 53.38 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.015e-05/1.507, allocations: 11.94 kB / 0.664 GB, free: 53.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/1.509, allocations: 2.007 MB / 0.666 GB, free: 51.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003046/1.51, allocations: 166.6 kB / 0.6661 GB, free: 50.99 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001357/1.51, allocations: 68.86 kB / 0.6662 GB, free: 50.92 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001752/1.51, allocations: 259.5 kB / 0.6665 GB, free: 50.61 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.51, allocations: 38.56 kB / 0.6665 GB, free: 50.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=24): time 3.691e-06/1.51, allocations: 0 / 0.6665 GB, free: 50.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=30): time 0.003002/1.513, allocations: 0.8107 MB / 0.6673 GB, free: 49.7 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/1.513, allocations: 55.41 kB / 0.6673 GB, free: 49.63 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/1.513, allocations: 196.4 kB / 0.6675 GB, free: 49.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.71e-05/1.513, allocations: 25.7 kB / 0.6675 GB, free: 49.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.991e-05/1.513, allocations: 250.8 kB / 0.6678 GB, free: 49.15 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/1.514, allocations: 102.5 kB / 0.6679 GB, free: 49.05 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/1.514, allocations: 0 / 0.6679 GB, free: 49.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/1.514, allocations: 330.8 kB / 0.6682 GB, free: 48.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/1.514, allocations: 76.69 kB / 0.6683 GB, free: 48.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002076/1.514, allocations: 158.3 kB / 0.6684 GB, free: 48.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/1.515, allocations: 127.9 kB / 0.6685 GB, free: 48.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.479e-06/1.515, allocations: 0 / 0.6685 GB, free: 48.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00118/1.516, allocations: 357.6 kB / 0.6689 GB, free: 47.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.516, allocations: 10.03 kB / 0.6689 GB, free: 47.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.683e-06/1.516, allocations: 7.938 kB / 0.6689 GB, free: 47.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004006/1.517, allocations: 81.11 kB / 0.669 GB, free: 47.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002957/1.517, allocations: 71.91 kB / 0.669 GB, free: 47.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007036/1.518, allocations: 0.6732 MB / 0.6697 GB, free: 47.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/1.518, allocations: 11.94 kB / 0.6697 GB, free: 47.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/1.518, allocations: 20.03 kB / 0.6697 GB, free: 47.07 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: shortPipe.m_flow:VARIABLE(min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from port_a to port_b (m_flow > 0 is design flow direction)" type: Real ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 7} Notification: Performance of prepare postOptimizeDAE: time 0.000171/1.518, allocations: 117.7 kB / 0.6698 GB, free: 46.95 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/1.518, allocations: 31.72 kB / 0.6699 GB, free: 46.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/1.519, allocations: 385.1 kB / 0.6702 GB, free: 46.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.896e-06/1.519, allocations: 0 / 0.6702 GB, free: 46.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.944e-06/1.519, allocations: 0 / 0.6702 GB, free: 46.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008118/1.52, allocations: 0.567 MB / 0.6708 GB, free: 45.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/1.522, allocations: 0.6885 MB / 0.6715 GB, free: 45.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.03e-06/1.522, allocations: 4.094 kB / 0.6715 GB, free: 45.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001833/1.522, allocations: 39.91 kB / 0.6715 GB, free: 45.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002964/1.522, allocations: 72.75 kB / 0.6716 GB, free: 45 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/1.522, allocations: 4 kB / 0.6716 GB, free: 44.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006208/1.523, allocations: 0.6537 MB / 0.6722 GB, free: 44.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.5e-06/1.523, allocations: 4.031 kB / 0.6722 GB, free: 44.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/1.524, allocations: 497.6 kB / 0.6727 GB, free: 43.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.524, allocations: 108.8 kB / 0.6728 GB, free: 43.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/1.524, allocations: 7.953 kB / 0.6728 GB, free: 43.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/1.525, allocations: 7.906 kB / 0.6728 GB, free: 43.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.604e-05/1.525, allocations: 20.03 kB / 0.6728 GB, free: 43.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/1.525, allocations: 19.98 kB / 0.6729 GB, free: 43.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001827/1.525, allocations: 160.5 kB / 0.673 GB, free: 43.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.55e-07/1.525, allocations: 0 / 0.673 GB, free: 43.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008771/1.526, allocations: 147.9 kB / 0.6732 GB, free: 43.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004294/1.526, allocations: 231 kB / 0.6734 GB, free: 43.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006372/1.527, allocations: 232.2 kB / 0.6736 GB, free: 42.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.527, allocations: 0 / 0.6736 GB, free: 42.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/1.527, allocations: 111.9 kB / 0.6737 GB, free: 42.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009152/1.528, allocations: 121.2 kB / 0.6738 GB, free: 42.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.529, allocations: 459.1 kB / 0.6743 GB, free: 42.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/1.529, allocations: 0.7719 MB / 0.675 GB, free: 41.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/1.53, allocations: 35.41 kB / 0.675 GB, free: 41.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.579e-06/1.53, allocations: 0 / 0.675 GB, free: 41.3 MB / 394.7 MB Notification: Performance of Templates: time 0.01111/1.541, allocations: 7.018 MB / 0.6819 GB, free: 34.29 MB / 394.7 MB