Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadModel(Modelica): time 1.649/1.649, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.45e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2121, allocations: 38.76 MB / 263.8 MB, free: 9.703 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/0.913, allocations: 263.1 MB / 0.5145 GB, free: 139.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.9133, allocations: 63.16 kB / 0.5146 GB, free: 139.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02883/0.9421, allocations: 9.331 MB / 0.5237 GB, free: 130.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.468e-06/0.9422, allocations: 8 kB / 0.5237 GB, free: 130.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.9422, allocations: 0 / 0.5237 GB, free: 130.3 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007788/0.943, allocations: 446.7 kB / 0.5241 GB, free: 129.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.943, allocations: 8.031 kB / 0.5241 GB, free: 129.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00026/0.9433, allocations: 23.8 kB / 0.5242 GB, free: 129.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.9435, allocations: 210.8 kB / 0.5244 GB, free: 129.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.9436, allocations: 12.28 kB / 0.5244 GB, free: 129.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.721e-05/0.9436, allocations: 20 kB / 0.5244 GB, free: 129.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.944, allocations: 204.3 kB / 0.5246 GB, free: 129.3 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.944, allocations: 0 / 0.5246 GB, free: 129.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.944, allocations: 8 kB / 0.5246 GB, free: 129.3 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.228e-06/0.9441, allocations: 4 kB / 0.5246 GB, free: 129.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002604/0.9443, allocations: 127.9 kB / 0.5247 GB, free: 129.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.9462, allocations: 0.9401 MB / 0.5256 GB, free: 128.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004815/0.9467, allocations: 126.8 kB / 0.5258 GB, free: 128 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/0.9469, allocations: 48.78 kB / 0.5258 GB, free: 128 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009336/0.9479, allocations: 0.5113 MB / 0.5263 GB, free: 127.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.948, allocations: 34.56 kB / 0.5263 GB, free: 127.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 4.842e-06/0.948, allocations: 0 / 0.5263 GB, free: 127.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.003128/0.9511, allocations: 0.6287 MB / 0.5269 GB, free: 126.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.9512, allocations: 55.41 kB / 0.527 GB, free: 126.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.9514, allocations: 149.5 kB / 0.5271 GB, free: 126.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.9514, allocations: 25.7 kB / 0.5272 GB, free: 126.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.9515, allocations: 143.8 kB / 0.5273 GB, free: 126.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.534e-05/0.9516, allocations: 71 kB / 0.5274 GB, free: 126.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.315e-05/0.9517, allocations: 8 kB / 0.5274 GB, free: 126.2 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.163e-05/0.9518, allocations: 326.8 kB / 0.5277 GB, free: 125.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002442/0.952, allocations: 67.98 kB / 0.5278 GB, free: 125.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003582/0.9524, allocations: 169.6 kB / 0.5279 GB, free: 125.6 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.9528, allocations: 88.83 kB / 0.528 GB, free: 125.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.743e-06/0.9528, allocations: 0 / 0.528 GB, free: 125.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009307/0.9538, allocations: 278.6 kB / 0.5283 GB, free: 125.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.9538, allocations: 7.984 kB / 0.5283 GB, free: 125.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.9538, allocations: 4 kB / 0.5283 GB, free: 125.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.9539, allocations: 8 kB / 0.5283 GB, free: 125.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/0.9546, allocations: 84.36 kB / 0.5284 GB, free: 125.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.07e-05/0.9547, allocations: 7.938 kB / 0.5284 GB, free: 125.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.9552, allocations: 23.92 kB / 0.5284 GB, free: 125.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.9553, allocations: 12 kB / 0.5284 GB, free: 125.1 MB / 362.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 0.0001362/0.9555, allocations: 124.9 kB / 0.5285 GB, free: 124.9 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.9556, allocations: 19.81 kB / 0.5285 GB, free: 124.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008207/0.9564, allocations: 198.8 kB / 0.5287 GB, free: 124.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.71e-06/0.9565, allocations: 4 kB / 0.5287 GB, free: 124.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.532e-06/0.9565, allocations: 0 / 0.5287 GB, free: 124.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-06/0.9565, allocations: 7.922 kB / 0.5287 GB, free: 124.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.9584, allocations: 0.5639 MB / 0.5293 GB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.636e-06/0.9584, allocations: 0 / 0.5293 GB, free: 124.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006079/0.9591, allocations: 51.91 kB / 0.5293 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.861e-06/0.9591, allocations: 0 / 0.5293 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.9592, allocations: 11.98 kB / 0.5294 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.345e-06/0.9592, allocations: 11.89 kB / 0.5294 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.029e-06/0.9592, allocations: 0 / 0.5294 GB, free: 124 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000901/0.9601, allocations: 412.4 kB / 0.5298 GB, free: 123.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.389e-05/0.9602, allocations: 89.08 kB / 0.5298 GB, free: 123.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.225e-05/0.9603, allocations: 4 kB / 0.5298 GB, free: 123.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005342/0.9609, allocations: 15.98 kB / 0.5299 GB, free: 123.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.9609, allocations: 19.97 kB / 0.5299 GB, free: 123.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.961, allocations: 11.98 kB / 0.5299 GB, free: 123.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.9612, allocations: 107.2 kB / 0.53 GB, free: 123.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.285e-06/0.9612, allocations: 0 / 0.53 GB, free: 123.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009459/0.9621, allocations: 67.94 kB / 0.5301 GB, free: 123.2 MB / 362.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.0003188/0.9625, allocations: 151.1 kB / 0.5302 GB, free: 123.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007037/0.9632, allocations: 175.2 kB / 0.5304 GB, free: 122.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.188e-06/0.9633, allocations: 0 / 0.5304 GB, free: 122.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002547/0.9635, allocations: 79.91 kB / 0.5305 GB, free: 122.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006388/0.9642, allocations: 34.3 kB / 0.5305 GB, free: 122.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.9655, allocations: 289.9 kB / 0.5308 GB, free: 122.5 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.9657, allocations: 0.7204 MB / 0.5315 GB, free: 121.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006724/0.9664, allocations: 50 kB / 0.5315 GB, free: 121.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.9666, allocations: 23.42 kB / 0.5315 GB, free: 121.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.248e-06/0.9666, allocations: 3.938 kB / 0.5315 GB, free: 121.7 MB / 362.7 MB Notification: Performance of Templates: time 0.0125/0.9792, allocations: 2.792 MB / 0.5343 GB, free: 118.9 MB / 362.7 MB