Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.459/2.459, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.305e-05/5.319e-05, allocations: 8 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4195/0.5372, allocations: 89.29 MB / 499.6 MB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5375, allocations: 79.95 kB / 499.7 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02399/0.5615, allocations: 5.816 MB / 0.4936 GB, free: 8.996 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.296e-06/0.5615, allocations: 4 kB / 0.4936 GB, free: 8.992 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/0.5616, allocations: 4 kB / 0.4936 GB, free: 8.988 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005868/0.5622, allocations: 418.1 kB / 0.494 GB, free: 8.535 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5622, allocations: 12.03 kB / 0.494 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.5623, allocations: 11.81 kB / 0.4941 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003995/0.5627, allocations: 230.5 kB / 0.4943 GB, free: 8.246 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.5628, allocations: 3.953 kB / 0.4943 GB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.4e-05/0.5628, allocations: 7.984 kB / 0.4943 GB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.5629, allocations: 57.67 kB / 0.4943 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.563, allocations: 0 / 0.4943 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.563, allocations: 0 / 0.4943 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.297e-06/0.563, allocations: 4 kB / 0.4943 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001037/0.5631, allocations: 15.94 kB / 0.4944 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007134/0.5639, allocations: 312.9 kB / 0.4947 GB, free: 7.797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.5641, allocations: 46.69 kB / 0.4947 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.183e-05/0.5642, allocations: 32.91 kB / 0.4947 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.935e-05/0.5643, allocations: 0 / 0.4947 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002298/0.5645, allocations: 63.34 kB / 0.4948 GB, free: 7.633 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.259e-06/0.5645, allocations: 0 / 0.4948 GB, free: 7.633 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007013/0.5652, allocations: 173 kB / 0.495 GB, free: 7.457 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.5653, allocations: 51.41 kB / 0.495 GB, free: 7.395 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.5657, allocations: 237.8 kB / 0.4952 GB, free: 7.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.5657, allocations: 29.7 kB / 0.4953 GB, free: 7.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.5659, allocations: 108.1 kB / 0.4954 GB, free: 7.004 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.5659, allocations: 27.64 kB / 0.4954 GB, free: 6.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.404e-06/0.5659, allocations: 7.938 kB / 0.4954 GB, free: 6.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001777/0.5661, allocations: 326.8 kB / 0.4957 GB, free: 6.641 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.111e-05/0.5662, allocations: 20 kB / 0.4957 GB, free: 6.621 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.141e-05/0.5663, allocations: 37.7 kB / 0.4958 GB, free: 6.578 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.388e-05/0.5664, allocations: 32.05 kB / 0.4958 GB, free: 6.547 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5664, allocations: 0 / 0.4958 GB, free: 6.547 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002534/0.5666, allocations: 105.4 kB / 0.4959 GB, free: 6.438 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.5667, allocations: 4 kB / 0.4959 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.243e-06/0.5667, allocations: 0 / 0.4959 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5667, allocations: 0 / 0.4959 GB, free: 6.434 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001358/0.5669, allocations: 16 kB / 0.4959 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.909e-06/0.5669, allocations: 0 / 0.4959 GB, free: 6.418 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.9e-05/0.567, allocations: 7.984 kB / 0.4959 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.567, allocations: 4.031 kB / 0.4959 GB, free: 6.406 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001053/0.5671, allocations: 112.9 kB / 0.496 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.492e-05/0.5672, allocations: 15.81 kB / 0.4961 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003304/0.5675, allocations: 119.1 kB / 0.4962 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.5675, allocations: 4 kB / 0.4962 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.382e-06/0.5676, allocations: 0 / 0.4962 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.232e-06/0.5676, allocations: 0 / 0.4962 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007053/0.5683, allocations: 435.2 kB / 0.4966 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.619e-06/0.5683, allocations: 0 / 0.4966 GB, free: 5.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.006e-05/0.5684, allocations: 12 kB / 0.4966 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.462e-06/0.5684, allocations: 0 / 0.4966 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.5684, allocations: 0 / 0.4966 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.273e-06/0.5685, allocations: 288 / 0.4966 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.503e-06/0.5685, allocations: 11.88 kB / 0.4966 GB, free: 5.637 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.5688, allocations: 229.8 kB / 0.4968 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.5689, allocations: 96.92 kB / 0.4969 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.489e-05/0.569, allocations: 4 kB / 0.4969 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.5691, allocations: 11.98 kB / 0.4969 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.5692, allocations: 11.89 kB / 0.4969 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.5692, allocations: 3.984 kB / 0.4969 GB, free: 5.242 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.5695, allocations: 196.2 kB / 0.4971 GB, free: 5.051 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.5695, allocations: 0 / 0.4971 GB, free: 5.051 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004034/0.5699, allocations: 39.94 kB / 0.4972 GB, free: 5.012 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001646/0.5716, allocations: 456.9 kB / 0.4976 GB, free: 4.691 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.5718, allocations: 59.92 kB / 0.4977 GB, free: 4.633 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.729e-06/0.5719, allocations: 0 / 0.4977 GB, free: 4.633 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.056e-05/0.572, allocations: 31.94 kB / 0.4977 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.5723, allocations: 27.89 kB / 0.4977 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005938/0.5729, allocations: 226.9 kB / 0.4979 GB, free: 4.328 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.5734, allocations: 0.7277 MB / 0.4987 GB, free: 3.574 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.525e-05/0.5735, allocations: 24.7 kB / 0.4987 GB, free: 3.547 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.94e-05/0.5736, allocations: 19.44 kB / 0.4987 GB, free: 3.527 MB / 410.7 MB Notification: Performance of SimCode: time 1.625e-06/0.5736, allocations: 0 / 0.4987 GB, free: 3.527 MB / 410.7 MB Notification: Performance of Templates: time 0.006299/0.5799, allocations: 1.818 MB / 0.5005 GB, free: 1.723 MB / 410.7 MB