Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.536/2.536, allocations: 270.1 MB / 283.6 MB, free: 3.039 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.802e-05, allocations: 9.969 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.111, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4496/0.5607, allocations: 89.24 MB / 499.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/0.5609, allocations: 72.47 kB / 499.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02293/0.5839, allocations: 5.411 MB / 0.4932 GB, free: 9.418 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.438e-06/0.5839, allocations: 0 / 0.4932 GB, free: 9.418 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.788e-05/0.584, allocations: 0 / 0.4932 GB, free: 9.418 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.000547/0.5845, allocations: 394.2 kB / 0.4936 GB, free: 8.988 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.5846, allocations: 8.031 kB / 0.4936 GB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.696e-05/0.5846, allocations: 7.906 kB / 0.4936 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.585, allocations: 210.9 kB / 0.4938 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.5851, allocations: 7.953 kB / 0.4938 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.5851, allocations: 3.906 kB / 0.4938 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.5852, allocations: 57.67 kB / 0.4938 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5853, allocations: 0 / 0.4938 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.167e-05/0.5853, allocations: 0 / 0.4938 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.371e-06/0.5853, allocations: 0 / 0.4938 GB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.153e-05/0.5854, allocations: 27.92 kB / 0.4939 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.5859, allocations: 288.9 kB / 0.4941 GB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001548/0.586, allocations: 54.69 kB / 0.4942 GB, free: 8.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.5861, allocations: 20.92 kB / 0.4942 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.5861, allocations: 0 / 0.4942 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001616/0.5863, allocations: 79.33 kB / 0.4943 GB, free: 8.117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.608e-06/0.5863, allocations: 0 / 0.4943 GB, free: 8.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005438/0.5869, allocations: 157.1 kB / 0.4944 GB, free: 7.957 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.587, allocations: 59.39 kB / 0.4945 GB, free: 7.887 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.5872, allocations: 170 kB / 0.4947 GB, free: 7.719 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.5873, allocations: 25.7 kB / 0.4947 GB, free: 7.688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.682e-05/0.5873, allocations: 104.1 kB / 0.4948 GB, free: 7.582 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.5874, allocations: 23.72 kB / 0.4948 GB, free: 7.559 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.478e-06/0.5874, allocations: 4 kB / 0.4948 GB, free: 7.555 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000173/0.5876, allocations: 326.8 kB / 0.4951 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.87e-05/0.5877, allocations: 20 kB / 0.4951 GB, free: 7.207 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-05/0.5878, allocations: 33.7 kB / 0.4952 GB, free: 7.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.622e-05/0.5878, allocations: 20.06 kB / 0.4952 GB, free: 7.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-06/0.5879, allocations: 0 / 0.4952 GB, free: 7.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002409/0.5881, allocations: 105.5 kB / 0.4953 GB, free: 7.039 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.5881, allocations: 4 kB / 0.4953 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.783e-06/0.5881, allocations: 0 / 0.4953 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5882, allocations: 4 kB / 0.4953 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.5883, allocations: 16 kB / 0.4953 GB, free: 7.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.108e-05/0.5883, allocations: 3.984 kB / 0.4953 GB, free: 7.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.422e-05/0.5884, allocations: 7.938 kB / 0.4953 GB, free: 7.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.5884, allocations: 0 / 0.4953 GB, free: 7.004 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.794e-05/0.5885, allocations: 112.9 kB / 0.4954 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.5886, allocations: 19.84 kB / 0.4954 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002904/0.5889, allocations: 110.2 kB / 0.4956 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.976e-06/0.5889, allocations: 7.984 kB / 0.4956 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.5889, allocations: 0 / 0.4956 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.186e-06/0.5889, allocations: 0 / 0.4956 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.5896, allocations: 407.3 kB / 0.4959 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-06/0.5896, allocations: 0 / 0.4959 GB, free: 6.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-05/0.5897, allocations: 11.98 kB / 0.496 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.359e-06/0.5897, allocations: 4.031 kB / 0.496 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.5897, allocations: 8 kB / 0.496 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.652e-06/0.5897, allocations: 4.219 kB / 0.496 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.176e-06/0.5898, allocations: 3.938 kB / 0.496 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.5901, allocations: 221.8 kB / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.572e-05/0.5902, allocations: 89 kB / 0.4963 GB, free: 5.914 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.5902, allocations: 11.94 kB / 0.4963 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.5904, allocations: 8 kB / 0.4963 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.5904, allocations: 7.938 kB / 0.4963 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.5904, allocations: 4 kB / 0.4963 GB, free: 5.883 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.5906, allocations: 143.9 kB / 0.4964 GB, free: 5.746 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.8e-07/0.5906, allocations: 0 / 0.4964 GB, free: 5.746 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.591, allocations: 31.98 kB / 0.4965 GB, free: 5.715 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.001672/0.5927, allocations: 463.7 kB / 0.4969 GB, free: 5.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002203/0.593, allocations: 63.91 kB / 0.497 GB, free: 5.324 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.614e-06/0.593, allocations: 0 / 0.497 GB, free: 5.324 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.618e-05/0.5931, allocations: 31.94 kB / 0.497 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.5934, allocations: 23.98 kB / 0.497 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.5939, allocations: 162.4 kB / 0.4972 GB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004104/0.5944, allocations: 0.716 MB / 0.4979 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.122e-05/0.5945, allocations: 16.72 kB / 0.4979 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.304e-05/0.5945, allocations: 19.42 kB / 0.4979 GB, free: 4.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.726e-06/0.5946, allocations: 0 / 0.4979 GB, free: 4.301 MB / 410.7 MB Notification: Performance of Templates: time 0.006845/0.6014, allocations: 1.67 MB / 0.4995 GB, free: 2.641 MB / 410.7 MB