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.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.874e-05, allocations: 8 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.248, allocations: 44.49 MB / 294.1 MB, free: 14.31 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.7063, allocations: 187 MB / 481.1 MB, free: 56.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.7066, allocations: 74.48 kB / 481.2 MB, free: 56.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06894/0.7756, allocations: 22.49 MB / 0.4919 GB, free: 37.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.843e-06/0.7756, allocations: 0 / 0.4919 GB, free: 37.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.7756, allocations: 4 kB / 0.4919 GB, free: 37.46 MB / 362.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.0004516/0.7761, allocations: 429 kB / 0.4923 GB, free: 37.01 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.7762, allocations: 12.03 kB / 0.4923 GB, free: 37 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003743/0.7765, allocations: 28.12 kB / 0.4923 GB, free: 36.97 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.7767, allocations: 202.1 kB / 0.4925 GB, free: 36.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.7768, allocations: 4 kB / 0.4925 GB, free: 36.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.7768, allocations: 8 kB / 0.4925 GB, free: 36.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002004/0.777, allocations: 97.25 kB / 0.4926 GB, free: 36.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.7772, allocations: 122.3 kB / 0.4927 GB, free: 36.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7772, allocations: 3.984 kB / 0.4928 GB, free: 36.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.7773, allocations: 7.938 kB / 0.4928 GB, free: 36.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.7773, allocations: 0 / 0.4928 GB, free: 36.53 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00059/0.7779, allocations: 0.5937 MB / 0.4933 GB, free: 35.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.778, allocations: 76.88 kB / 0.4934 GB, free: 35.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.2e-05/0.7781, allocations: 36.28 kB / 0.4934 GB, free: 35.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004861/0.7786, allocations: 0.8107 MB / 0.4942 GB, free: 34.85 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.7786, allocations: 34.19 kB / 0.4943 GB, free: 34.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.417e-06/0.7787, allocations: 0 / 0.4943 GB, free: 34.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000761/0.7794, allocations: 132.7 kB / 0.4944 GB, free: 34.69 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.842e-05/0.7795, allocations: 51.41 kB / 0.4944 GB, free: 34.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.461e-05/0.7796, allocations: 100.8 kB / 0.4945 GB, free: 34.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.7796, allocations: 25.7 kB / 0.4946 GB, free: 34.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.7796, allocations: 182.1 kB / 0.4947 GB, free: 34.32 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.7797, allocations: 35.08 kB / 0.4948 GB, free: 34.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.968e-06/0.7797, allocations: 0 / 0.4948 GB, free: 34.29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.337e-05/0.7798, allocations: 318.1 kB / 0.4951 GB, free: 33.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.994e-05/0.7798, allocations: 23.11 kB / 0.4951 GB, free: 33.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.897e-05/0.7799, allocations: 62.03 kB / 0.4952 GB, free: 33.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.7805, allocations: 83.61 kB / 0.4952 GB, free: 33.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.011e-06/0.7805, allocations: 0 / 0.4952 GB, free: 33.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007087/0.7812, allocations: 151 kB / 0.4954 GB, free: 33.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7813, allocations: 4 kB / 0.4954 GB, free: 33.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.733e-06/0.7813, allocations: 4 kB / 0.4954 GB, free: 33.67 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.7813, allocations: 4.531 kB / 0.4954 GB, free: 33.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.7815, allocations: 43.47 kB / 0.4954 GB, free: 33.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.7815, allocations: 0 / 0.4954 GB, free: 33.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.962e-05/0.7816, allocations: 11.84 kB / 0.4954 GB, free: 33.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.7816, allocations: 11.94 kB / 0.4955 GB, free: 33.61 MB / 362.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 6.348e-05/0.7817, allocations: 108.7 kB / 0.4956 GB, free: 33.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.69e-05/0.7817, allocations: 11.86 kB / 0.4956 GB, free: 33.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007539/0.7825, allocations: 171.4 kB / 0.4957 GB, free: 33.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.778e-06/0.7825, allocations: 4 kB / 0.4957 GB, free: 33.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.7826, allocations: 0 / 0.4957 GB, free: 33.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.746e-06/0.7826, allocations: 0 / 0.4957 GB, free: 33.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008958/0.7835, allocations: 401.3 kB / 0.4961 GB, free: 32.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.491e-06/0.7835, allocations: 0 / 0.4961 GB, free: 32.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.704e-05/0.7836, allocations: 19.98 kB / 0.4961 GB, free: 32.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.77e-06/0.7836, allocations: 11.98 kB / 0.4962 GB, free: 32.89 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.7836, allocations: 0 / 0.4962 GB, free: 32.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7837, allocations: 0 / 0.4962 GB, free: 32.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.7837, allocations: 0 / 0.4962 GB, free: 32.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006128/0.7843, allocations: 224.8 kB / 0.4964 GB, free: 32.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.528e-05/0.7844, allocations: 101.8 kB / 0.4965 GB, free: 32.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.7844, allocations: 0 / 0.4965 GB, free: 32.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.7846, allocations: 8 kB / 0.4965 GB, free: 32.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.716e-05/0.7846, allocations: 11.98 kB / 0.4965 GB, free: 32.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.7846, allocations: 6.25 kB / 0.4965 GB, free: 32.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.363e-05/0.7847, allocations: 91.89 kB / 0.4966 GB, free: 32.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.34e-07/0.7847, allocations: 0 / 0.4966 GB, free: 32.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000454/0.7852, allocations: 57.91 kB / 0.4966 GB, free: 32.39 MB / 362.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.0002541/0.7854, allocations: 161.2 kB / 0.4968 GB, free: 32.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001679/0.7856, allocations: 72.11 kB / 0.4969 GB, free: 32.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.863e-06/0.7856, allocations: 0 / 0.4969 GB, free: 32.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.574e-05/0.7857, allocations: 34.73 kB / 0.4969 GB, free: 32.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.7861, allocations: 37.44 kB / 0.4969 GB, free: 32.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002748/0.7864, allocations: 136.9 kB / 0.4971 GB, free: 31.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.7866, allocations: 0.7006 MB / 0.4977 GB, free: 31.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.7867, allocations: 18.25 kB / 0.4978 GB, free: 31.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.501e-06/0.7867, allocations: 8 kB / 0.4978 GB, free: 31.21 MB / 362.7 MB Notification: Performance of Templates: time 0.004588/0.7913, allocations: 2.253 MB / 0.5 GB, free: 28.96 MB / 362.7 MB