Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.934/1.934, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.149e-05/3.16e-05, allocations: 4 kB / 269.3 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08432, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7781/0.8625, allocations: 272.6 MB / 0.5757 GB, free: 93.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001844/0.8627, allocations: 66.34 kB / 0.5758 GB, free: 93.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0298/0.8925, allocations: 9.371 MB / 0.5849 GB, free: 85.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.131e-06/0.8926, allocations: 0 / 0.5849 GB, free: 85.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.8926, allocations: 4 kB / 0.5849 GB, free: 85.8 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007723/0.8934, allocations: 446.1 kB / 0.5854 GB, free: 85.33 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.8935, allocations: 12.03 kB / 0.5854 GB, free: 85.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.8937, allocations: 19.34 kB / 0.5854 GB, free: 85.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.8939, allocations: 209.9 kB / 0.5856 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.8939, allocations: 12.09 kB / 0.5856 GB, free: 85.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.894, allocations: 15.67 kB / 0.5856 GB, free: 85.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000372/0.8944, allocations: 208.8 kB / 0.5858 GB, free: 84.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.8944, allocations: 0 / 0.5858 GB, free: 84.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.8944, allocations: 7.938 kB / 0.5858 GB, free: 84.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.408e-06/0.8945, allocations: 4 kB / 0.5858 GB, free: 84.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002635/0.8947, allocations: 123.3 kB / 0.5859 GB, free: 84.77 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.896, allocations: 0.9273 MB / 0.5868 GB, free: 83.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003027/0.8963, allocations: 127.1 kB / 0.587 GB, free: 83.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.855e-05/0.8965, allocations: 51.28 kB / 0.587 GB, free: 83.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/0.897, allocations: 0.5116 MB / 0.5875 GB, free: 83.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.999e-05/0.8971, allocations: 38.52 kB / 0.5876 GB, free: 83.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.962e-06/0.8971, allocations: 4 kB / 0.5876 GB, free: 83.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.001984/0.8991, allocations: 0.6346 MB / 0.5882 GB, free: 82.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.573e-05/0.8991, allocations: 63.3 kB / 0.5882 GB, free: 82.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.8993, allocations: 144.1 kB / 0.5884 GB, free: 82.31 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.81e-05/0.8993, allocations: 33.52 kB / 0.5884 GB, free: 82.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.8994, allocations: 139 kB / 0.5885 GB, free: 82.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.8995, allocations: 78.05 kB / 0.5886 GB, free: 82.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/0.8995, allocations: 3.75 kB / 0.5886 GB, free: 82.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.8996, allocations: 326.4 kB / 0.5889 GB, free: 81.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.8997, allocations: 70.11 kB / 0.589 GB, free: 81.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.8999, allocations: 164.5 kB / 0.5892 GB, free: 81.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.9001, allocations: 94.95 kB / 0.5892 GB, free: 81.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.085e-06/0.9002, allocations: 4 kB / 0.5892 GB, free: 81.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005653/0.9007, allocations: 264.3 kB / 0.5895 GB, free: 81.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.9008, allocations: 12.06 kB / 0.5895 GB, free: 81.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.004e-06/0.9008, allocations: 4 kB / 0.5895 GB, free: 81.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.9008, allocations: 4 kB / 0.5895 GB, free: 81.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000458/0.9013, allocations: 87.5 kB / 0.5896 GB, free: 81.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.9013, allocations: 8 kB / 0.5896 GB, free: 81.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002778/0.9016, allocations: 19.38 kB / 0.5896 GB, free: 81.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.9017, allocations: 19.69 kB / 0.5896 GB, free: 81.11 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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 8.859e-05/0.9018, allocations: 120.3 kB / 0.5898 GB, free: 80.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.9018, allocations: 15.81 kB / 0.5898 GB, free: 80.97 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.9024, allocations: 210.5 kB / 0.59 GB, free: 80.81 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.183e-06/0.9024, allocations: 4 kB / 0.59 GB, free: 80.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.492e-06/0.9024, allocations: 0 / 0.59 GB, free: 80.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.226e-06/0.9024, allocations: 3.984 kB / 0.59 GB, free: 80.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.9036, allocations: 0.5544 MB / 0.5905 GB, free: 80.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.557e-06/0.9036, allocations: 4 kB / 0.5905 GB, free: 80.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/0.904, allocations: 55.2 kB / 0.5906 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.861e-06/0.904, allocations: 4 kB / 0.5906 GB, free: 80.19 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.904, allocations: 12.06 kB / 0.5906 GB, free: 80.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.9041, allocations: 7.938 kB / 0.5906 GB, free: 80.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.927e-06/0.9041, allocations: 0 / 0.5906 GB, free: 80.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000541/0.9046, allocations: 403.8 kB / 0.591 GB, free: 79.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.182e-05/0.9047, allocations: 88.95 kB / 0.5911 GB, free: 79.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.323e-05/0.9047, allocations: 7.562 kB / 0.5911 GB, free: 79.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.905, allocations: 15.55 kB / 0.5911 GB, free: 79.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.869e-05/0.9051, allocations: 19.94 kB / 0.5911 GB, free: 79.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.472e-05/0.9051, allocations: 15.42 kB / 0.5911 GB, free: 79.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.476e-05/0.9052, allocations: 106.2 kB / 0.5912 GB, free: 79.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.9052, allocations: 0 / 0.5912 GB, free: 79.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005416/0.9058, allocations: 70.94 kB / 0.5913 GB, free: 79.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002182/0.906, allocations: 138.6 kB / 0.5914 GB, free: 79.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004046/0.9064, allocations: 175.7 kB / 0.5916 GB, free: 79.21 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.862e-06/0.9065, allocations: 4.312 kB / 0.5916 GB, free: 79.21 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.9066, allocations: 77.81 kB / 0.5917 GB, free: 79.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.907, allocations: 31.5 kB / 0.5917 GB, free: 79.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000755/0.9078, allocations: 287.5 kB / 0.592 GB, free: 78.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.9079, allocations: 0.7165 MB / 0.5927 GB, free: 78.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003646/0.9083, allocations: 53.98 kB / 0.5927 GB, free: 78.05 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.9084, allocations: 27.42 kB / 0.5928 GB, free: 78.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.455e-06/0.9085, allocations: 0 / 0.5928 GB, free: 78.02 MB / 426.7 MB Notification: Performance of Templates: time 0.007406/0.9159, allocations: 2.793 MB / 0.5955 GB, free: 75.25 MB / 426.7 MB