Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.745e-05/3.757e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4252/0.5374, allocations: 89.3 MB / 499.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5377, allocations: 67.97 kB / 499.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02342/0.5611, allocations: 5.795 MB / 0.4936 GB, free: 8.977 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.037e-06/0.5612, allocations: 4 kB / 0.4936 GB, free: 8.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.135e-05/0.5612, allocations: 7.938 kB / 0.4936 GB, free: 8.965 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006345/0.5618, allocations: 426 kB / 0.494 GB, free: 8.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.5619, allocations: 12.03 kB / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.42e-05/0.562, allocations: 11.91 kB / 0.4941 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004883/0.5625, allocations: 254.3 kB / 0.4943 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.5625, allocations: 11.94 kB / 0.4943 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.5625, allocations: 8 kB / 0.4943 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.5628, allocations: 97.14 kB / 0.4944 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.5628, allocations: 3.938 kB / 0.4944 GB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.5628, allocations: 8 kB / 0.4944 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.786e-06/0.5628, allocations: 0 / 0.4944 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001012/0.563, allocations: 31.98 kB / 0.4944 GB, free: 8.016 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.5633, allocations: 218.5 kB / 0.4947 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002254/0.5635, allocations: 93.28 kB / 0.4947 GB, free: 7.641 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.167e-05/0.5636, allocations: 41.67 kB / 0.4948 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.5637, allocations: 4 kB / 0.4948 GB, free: 7.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.5639, allocations: 113 kB / 0.4949 GB, free: 7.461 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.474e-06/0.5639, allocations: 0 / 0.4949 GB, free: 7.461 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003732/0.5643, allocations: 129.5 kB / 0.495 GB, free: 7.328 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.589e-05/0.5644, allocations: 132.5 kB / 0.4951 GB, free: 7.168 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.5647, allocations: 199.1 kB / 0.4953 GB, free: 6.965 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.979e-05/0.5648, allocations: 29.7 kB / 0.4954 GB, free: 6.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.119e-05/0.5649, allocations: 116.1 kB / 0.4955 GB, free: 6.812 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.667e-05/0.5649, allocations: 23.66 kB / 0.4955 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.031e-06/0.565, allocations: 0 / 0.4955 GB, free: 6.789 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5651, allocations: 330.8 kB / 0.4958 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.008e-05/0.5652, allocations: 24 kB / 0.4958 GB, free: 6.434 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.5654, allocations: 69.08 kB / 0.4959 GB, free: 6.348 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.552e-05/0.5655, allocations: 40.02 kB / 0.4959 GB, free: 6.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.827e-06/0.5655, allocations: 0 / 0.4959 GB, free: 6.309 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003023/0.5658, allocations: 129.3 kB / 0.4961 GB, free: 6.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.5658, allocations: 8 kB / 0.4961 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5658, allocations: 0 / 0.4961 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5659, allocations: 3.984 kB / 0.4961 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000162/0.566, allocations: 27.98 kB / 0.4961 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.5661, allocations: 4 kB / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.5662, allocations: 15.98 kB / 0.4961 GB, free: 6.117 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.858e-05/0.5662, allocations: 4 kB / 0.4961 GB, free: 6.113 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001139/0.5663, allocations: 119.7 kB / 0.4962 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.5664, allocations: 19.77 kB / 0.4963 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.5668, allocations: 154.6 kB / 0.4964 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-06/0.5668, allocations: 0 / 0.4964 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.932e-06/0.5668, allocations: 8 kB / 0.4964 GB, free: 5.801 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1e-05/0.5669, allocations: 3.984 kB / 0.4964 GB, free: 5.797 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.5671, allocations: 225.5 kB / 0.4966 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.306e-06/0.5672, allocations: 4 kB / 0.4966 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.5672, allocations: 8 kB / 0.4966 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.951e-06/0.5672, allocations: 0 / 0.4966 GB, free: 5.516 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.5673, allocations: 7.953 kB / 0.4966 GB, free: 5.508 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.5673, allocations: 3.938 kB / 0.4967 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-06/0.5673, allocations: 0 / 0.4967 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.5677, allocations: 188 kB / 0.4968 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5678, allocations: 100.9 kB / 0.4969 GB, free: 5.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.464e-05/0.5678, allocations: 4 kB / 0.4969 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.568, allocations: 8 kB / 0.4969 GB, free: 5.164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.568, allocations: 15.86 kB / 0.497 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.5681, allocations: 7.984 kB / 0.497 GB, free: 5.141 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002255/0.5683, allocations: 169.5 kB / 0.4971 GB, free: 4.977 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-07/0.5683, allocations: 0 / 0.4971 GB, free: 4.977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003723/0.5687, allocations: 47.94 kB / 0.4972 GB, free: 4.93 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001576/0.5703, allocations: 459.4 kB / 0.4976 GB, free: 4.602 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002711/0.5706, allocations: 83.86 kB / 0.4977 GB, free: 4.52 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.259e-06/0.5706, allocations: 0 / 0.4977 GB, free: 4.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.5707, allocations: 48.3 kB / 0.4977 GB, free: 4.473 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.5711, allocations: 54.42 kB / 0.4978 GB, free: 4.422 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.5717, allocations: 187.5 kB / 0.498 GB, free: 4.215 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.5721, allocations: 0.7283 MB / 0.4987 GB, free: 3.461 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001277/0.5723, allocations: 25.31 kB / 0.4987 GB, free: 3.434 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.923e-05/0.5723, allocations: 19.44 kB / 0.4987 GB, free: 3.414 MB / 410.7 MB Notification: Performance of SimCode: time 1.527e-06/0.5724, allocations: 0 / 0.4987 GB, free: 3.414 MB / 410.7 MB Notification: Performance of Templates: time 0.007867/0.5802, allocations: 2.542 MB / 0.5012 GB, free: 0.8867 MB / 410.7 MB