Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.489/2.489, allocations: 270.1 MB / 283.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.058e-05/4.061e-05, allocations: 9.828 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 61.9 MB / 410.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.548, allocations: 89.27 MB / 499.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5483, allocations: 75.95 kB / 499.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02827/0.5766, allocations: 5.624 MB / 0.4934 GB, free: 9.125 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5767, allocations: 0 / 0.4934 GB, free: 9.125 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.5767, allocations: 4 kB / 0.4934 GB, free: 9.121 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.0005381/0.5773, allocations: 402.1 kB / 0.4938 GB, free: 8.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.5773, allocations: 8.031 kB / 0.4938 GB, free: 8.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.5774, allocations: 15.91 kB / 0.4938 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.5778, allocations: 214.8 kB / 0.494 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/0.5778, allocations: 7.953 kB / 0.494 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.5778, allocations: 4 kB / 0.4941 GB, free: 8.398 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.578, allocations: 45.69 kB / 0.4941 GB, free: 8.348 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.578, allocations: 8 kB / 0.4941 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.578, allocations: 3.984 kB / 0.4941 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.397e-06/0.5781, allocations: 0 / 0.4941 GB, free: 8.336 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.958e-05/0.5781, allocations: 23.88 kB / 0.4941 GB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.5786, allocations: 304.9 kB / 0.4944 GB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.5788, allocations: 50.69 kB / 0.4945 GB, free: 7.906 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.871e-05/0.5789, allocations: 20.98 kB / 0.4945 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.5789, allocations: 0 / 0.4945 GB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001537/0.5791, allocations: 71.33 kB / 0.4946 GB, free: 7.801 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.443e-06/0.5791, allocations: 0 / 0.4946 GB, free: 7.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005322/0.5796, allocations: 161.1 kB / 0.4947 GB, free: 7.637 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/0.5797, allocations: 55.41 kB / 0.4948 GB, free: 7.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.58, allocations: 194.9 kB / 0.4949 GB, free: 7.375 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.58, allocations: 29.7 kB / 0.495 GB, free: 7.34 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.771e-05/0.5801, allocations: 100.1 kB / 0.4951 GB, free: 7.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.587e-05/0.5802, allocations: 31.62 kB / 0.4951 GB, free: 7.207 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.132e-05/0.5802, allocations: 11.94 kB / 0.4951 GB, free: 7.195 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5804, allocations: 326.8 kB / 0.4954 GB, free: 6.867 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.5804, allocations: 20 kB / 0.4954 GB, free: 6.848 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.5805, allocations: 33.72 kB / 0.4955 GB, free: 6.809 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.632e-05/0.5806, allocations: 23.98 kB / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.791e-06/0.5806, allocations: 0 / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002263/0.5808, allocations: 89.53 kB / 0.4956 GB, free: 6.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5809, allocations: 8 kB / 0.4956 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.546e-06/0.5809, allocations: 8.016 kB / 0.4956 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.5809, allocations: 0 / 0.4956 GB, free: 6.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.5811, allocations: 20 kB / 0.4956 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.037e-06/0.5811, allocations: 0 / 0.4956 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.5811, allocations: 3.906 kB / 0.4956 GB, free: 6.652 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.5812, allocations: 7.984 kB / 0.4956 GB, free: 6.645 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 9.775e-05/0.5813, allocations: 112.9 kB / 0.4957 GB, free: 6.527 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.5813, allocations: 7.906 kB / 0.4957 GB, free: 6.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003085/0.5817, allocations: 119.1 kB / 0.4959 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.5817, allocations: 4 kB / 0.4959 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.909e-06/0.5817, allocations: 0 / 0.4959 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.354e-06/0.5817, allocations: 3.984 kB / 0.4959 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.5823, allocations: 419.2 kB / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.264e-06/0.5824, allocations: 0 / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/0.5824, allocations: 11.98 kB / 0.4963 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.568e-06/0.5825, allocations: 7.938 kB / 0.4963 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.5825, allocations: 4.031 kB / 0.4963 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.501e-06/0.5825, allocations: 288 / 0.4963 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.927e-06/0.5825, allocations: 3.938 kB / 0.4963 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.5828, allocations: 217.9 kB / 0.4965 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.383e-05/0.5829, allocations: 100.9 kB / 0.4966 GB, free: 5.531 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.529e-05/0.583, allocations: 4.188 kB / 0.4966 GB, free: 5.527 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.5831, allocations: 8 kB / 0.4966 GB, free: 5.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.5832, allocations: 15.88 kB / 0.4966 GB, free: 5.504 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.5832, allocations: 8 kB / 0.4966 GB, free: 5.496 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000203/0.5834, allocations: 155.2 kB / 0.4968 GB, free: 5.344 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.5834, allocations: 0 / 0.4968 GB, free: 5.344 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.5838, allocations: 35.92 kB / 0.4968 GB, free: 5.309 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.001596/0.5854, allocations: 455.3 kB / 0.4972 GB, free: 4.992 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.5856, allocations: 55.94 kB / 0.4973 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.793e-06/0.5856, allocations: 0 / 0.4973 GB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.174e-05/0.5857, allocations: 35.92 kB / 0.4973 GB, free: 4.902 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.5861, allocations: 24.23 kB / 0.4974 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.5866, allocations: 183 kB / 0.4975 GB, free: 4.676 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.587, allocations: 0.716 MB / 0.4982 GB, free: 3.934 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.952e-05/0.5871, allocations: 20.53 kB / 0.4983 GB, free: 3.914 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.5872, allocations: 19.44 kB / 0.4983 GB, free: 3.895 MB / 410.7 MB Notification: Performance of SimCode: time 1.393e-06/0.5872, allocations: 0 / 0.4983 GB, free: 3.895 MB / 410.7 MB Notification: Performance of Templates: time 0.006308/0.5935, allocations: 1.727 MB / 0.5 GB, free: 2.18 MB / 410.7 MB