Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.387/2.387, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.608e-05/3.626e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1195, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5161/0.6356, allocations: 89.27 MB / 499.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.6359, allocations: 78.83 kB / 499.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03834/0.6743, allocations: 5.461 MB / 0.4933 GB, free: 9.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.259e-06/0.6743, allocations: 0 / 0.4933 GB, free: 9.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/0.6744, allocations: 0 / 0.4933 GB, free: 9.316 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.0007831/0.6752, allocations: 410.1 kB / 0.4937 GB, free: 8.871 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/0.6753, allocations: 8.031 kB / 0.4937 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.73e-05/0.6754, allocations: 7.906 kB / 0.4937 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000532/0.6759, allocations: 209.3 kB / 0.4939 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.676, allocations: 7.891 kB / 0.4939 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.676, allocations: 4 kB / 0.4939 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.6763, allocations: 49.69 kB / 0.4939 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.6763, allocations: 3.984 kB / 0.4939 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.904e-05/0.6763, allocations: 0 / 0.4939 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.084e-06/0.6764, allocations: 4 kB / 0.4939 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.6765, allocations: 19.94 kB / 0.494 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000684/0.6772, allocations: 304.7 kB / 0.4942 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.6775, allocations: 54.64 kB / 0.4943 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-05/0.6776, allocations: 20.97 kB / 0.4943 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.505e-05/0.6777, allocations: 0 / 0.4943 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.6779, allocations: 71.39 kB / 0.4944 GB, free: 8.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.497e-06/0.678, allocations: 0 / 0.4944 GB, free: 8.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008635/0.6788, allocations: 149.3 kB / 0.4945 GB, free: 7.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/0.6789, allocations: 55.41 kB / 0.4946 GB, free: 7.785 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.6793, allocations: 158.4 kB / 0.4947 GB, free: 7.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.6794, allocations: 29.7 kB / 0.4948 GB, free: 7.59 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.6795, allocations: 104 kB / 0.4949 GB, free: 7.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.68e-05/0.6796, allocations: 23.75 kB / 0.4949 GB, free: 7.461 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.028e-05/0.6796, allocations: 0 / 0.4949 GB, free: 7.461 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.6798, allocations: 326.8 kB / 0.4952 GB, free: 7.133 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.68, allocations: 20 kB / 0.4952 GB, free: 7.113 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.6801, allocations: 37.7 kB / 0.4953 GB, free: 7.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.6803, allocations: 19.98 kB / 0.4953 GB, free: 7.051 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.345e-06/0.6803, allocations: 7.938 kB / 0.4953 GB, free: 7.043 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004095/0.6807, allocations: 97.56 kB / 0.4954 GB, free: 6.941 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.6808, allocations: 4 kB / 0.4954 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.114e-06/0.6808, allocations: 80 / 0.4954 GB, free: 6.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.6809, allocations: 4 kB / 0.4954 GB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002107/0.6811, allocations: 19.98 kB / 0.4954 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.6811, allocations: 7.922 kB / 0.4954 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.6813, allocations: 4 kB / 0.4954 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.314e-05/0.6813, allocations: 4 kB / 0.4954 GB, free: 6.898 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.0001477/0.6815, allocations: 115.7 kB / 0.4955 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.6816, allocations: 11.91 kB / 0.4955 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004737/0.682, allocations: 110.2 kB / 0.4956 GB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.6821, allocations: 4 kB / 0.4956 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.824e-06/0.6821, allocations: 288 / 0.4956 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.256e-06/0.6821, allocations: 0 / 0.4956 GB, free: 6.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009715/0.6831, allocations: 407.2 kB / 0.496 GB, free: 6.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.6832, allocations: 3.938 kB / 0.496 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.6833, allocations: 12.03 kB / 0.496 GB, free: 6.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.427e-05/0.6833, allocations: 4 kB / 0.496 GB, free: 6.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.6834, allocations: 11.92 kB / 0.4961 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.377e-06/0.6834, allocations: 0 / 0.4961 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6834, allocations: 0 / 0.4961 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.6839, allocations: 213.9 kB / 0.4963 GB, free: 5.934 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.6841, allocations: 97 kB / 0.4964 GB, free: 5.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.64e-05/0.6842, allocations: 7.984 kB / 0.4964 GB, free: 5.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.6844, allocations: 4 kB / 0.4964 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.189e-05/0.6845, allocations: 15.94 kB / 0.4964 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.6845, allocations: 0 / 0.4964 GB, free: 5.793 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002655/0.6848, allocations: 129.9 kB / 0.4965 GB, free: 5.668 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.52e-06/0.6848, allocations: 4 kB / 0.4965 GB, free: 5.664 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007287/0.6856, allocations: 35.92 kB / 0.4965 GB, free: 5.629 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.002624/0.6882, allocations: 458.6 kB / 0.497 GB, free: 5.305 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003166/0.6886, allocations: 52 kB / 0.497 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.526e-06/0.6886, allocations: 3.938 kB / 0.497 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001522/0.6888, allocations: 31.98 kB / 0.4971 GB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.6893, allocations: 23.92 kB / 0.4971 GB, free: 5.195 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006973/0.6901, allocations: 155.3 kB / 0.4972 GB, free: 5.012 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.6906, allocations: 0.7081 MB / 0.4979 GB, free: 4.277 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.6908, allocations: 20.72 kB / 0.4979 GB, free: 4.258 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.83e-05/0.6909, allocations: 23.42 kB / 0.498 GB, free: 4.234 MB / 410.7 MB Notification: Performance of SimCode: time 5.976e-06/0.6909, allocations: 0 / 0.498 GB, free: 4.234 MB / 410.7 MB Notification: Performance of Templates: time 0.01965/0.7106, allocations: 1.653 MB / 0.4996 GB, free: 2.594 MB / 410.7 MB