Running command: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.705/1.705, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.325e-05, allocations: 4 kB / 225 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/0.6167, allocations: 182.3 MB / 446 MB, free: 17.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.617, allocations: 75.45 kB / 446.1 MB, free: 17.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06911/0.6861, allocations: 22.21 MB / 468.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.931e-06/0.6861, allocations: 4 kB / 468.3 MB, free: 13.9 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.6862, allocations: 4 kB / 468.3 MB, free: 13.89 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0006283/0.6868, allocations: 421.7 kB / 468.7 MB, free: 13.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.6869, allocations: 12.03 kB / 468.7 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004122/0.6873, allocations: 19.89 kB / 468.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002508/0.6875, allocations: 202.1 kB / 469 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.6876, allocations: 7.953 kB / 469 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.948e-05/0.6876, allocations: 7.438 kB / 469 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.6879, allocations: 134.8 kB / 469.1 MB, free: 13.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6879, allocations: 3.938 kB / 469.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.528e-05/0.688, allocations: 7.938 kB / 469.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.29e-06/0.688, allocations: 0 / 469.1 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.6882, allocations: 106.8 kB / 469.2 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.6891, allocations: 0.6199 MB / 469.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.6893, allocations: 84.97 kB / 469.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.6894, allocations: 40.17 kB / 470 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000874/0.6903, allocations: 0.8063 MB / 470.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.6904, allocations: 34.52 kB / 470.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.13e-06/0.6904, allocations: 7.938 kB / 470.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003262/0.6907, allocations: 95.7 kB / 470.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.6908, allocations: 59.34 kB / 471 MB, free: 11.04 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.6909, allocations: 108.7 kB / 471.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.691, allocations: 29.33 kB / 471.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.6911, allocations: 166.3 kB / 471.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.941e-05/0.6912, allocations: 46.48 kB / 471.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.889e-06/0.6912, allocations: 7.688 kB / 471.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.6914, allocations: 318.8 kB / 471.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/0.6914, allocations: 23.38 kB / 471.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001052/0.6916, allocations: 69.3 kB / 471.7 MB, free: 10.28 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.226e-05/0.6917, allocations: 35.86 kB / 471.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.599e-06/0.6917, allocations: 4 kB / 471.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003009/0.692, allocations: 127.2 kB / 471.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.692, allocations: 4 kB / 471.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.828e-06/0.692, allocations: 4 kB / 471.9 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.802e-05/0.6921, allocations: 3.953 kB / 471.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.6922, allocations: 31.73 kB / 471.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.308e-05/0.6923, allocations: 12.08 kB / 471.9 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.6924, allocations: 15.84 kB / 471.9 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.3e-05/0.6924, allocations: 15.05 kB / 472 MB, free: 10.06 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.877e-05/0.6925, allocations: 104.5 kB / 472.1 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.482e-05/0.6926, allocations: 11.91 kB / 472.1 MB, free: 9.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003956/0.693, allocations: 135.8 kB / 472.2 MB, free: 9.832 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.693, allocations: 7.953 kB / 472.2 MB, free: 9.824 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.6931, allocations: 7.938 kB / 472.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.254e-06/0.6931, allocations: 0 / 472.2 MB, free: 9.816 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006468/0.6937, allocations: 394.4 kB / 472.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-06/0.6937, allocations: 0 / 472.6 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6939, allocations: 23.92 kB / 472.6 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.513e-06/0.6939, allocations: 7.953 kB / 472.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6939, allocations: 0 / 472.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.391e-06/0.6939, allocations: 0 / 472.6 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.127e-06/0.6939, allocations: 7.938 kB / 472.6 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.6942, allocations: 205.1 kB / 472.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.6943, allocations: 100.4 kB / 472.9 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.6944, allocations: 7.953 kB / 472.9 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.6945, allocations: 3.875 kB / 473 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.873e-05/0.6946, allocations: 7.984 kB / 473 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.6946, allocations: 4 kB / 473 MB, free: 9.047 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.834e-05/0.6947, allocations: 95.22 kB / 473.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.545e-06/0.6947, allocations: 0 / 473.1 MB, free: 8.957 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004933/0.6952, allocations: 67.11 kB / 473.1 MB, free: 8.898 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003442/0.6956, allocations: 165.2 kB / 473.3 MB, free: 8.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.6958, allocations: 74.73 kB / 473.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.987e-06/0.6958, allocations: 0 / 473.4 MB, free: 8.672 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.6959, allocations: 39.44 kB / 473.4 MB, free: 8.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.6964, allocations: 39.2 kB / 473.4 MB, free: 8.609 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003531/0.6967, allocations: 142.1 kB / 473.6 MB, free: 8.453 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.6971, allocations: 0.7009 MB / 474.3 MB, free: 7.727 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.429e-05/0.6972, allocations: 19.25 kB / 474.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of SimCode: time 1.406e-06/0.6973, allocations: 288 / 474.3 MB, free: 7.711 MB / 330.7 MB Notification: Performance of Templates: time 0.00544/0.7027, allocations: 2.254 MB / 476.5 MB, free: 5.473 MB / 330.7 MB