Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 270.1 MB / 283.6 MB, free: 3.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.766e-05, allocations: 5.969 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 61.9 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.5875, allocations: 89.08 MB / 499.4 MB, free: 15.04 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.5878, allocations: 76.55 kB / 499.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02204/0.6099, allocations: 5.355 MB / 0.493 GB, free: 9.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.05e-06/0.6099, allocations: 4 kB / 0.493 GB, free: 9.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.61, allocations: 3.938 kB / 0.493 GB, free: 9.605 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000512/0.6105, allocations: 390.2 kB / 0.4934 GB, free: 9.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.6105, allocations: 8.031 kB / 0.4934 GB, free: 9.172 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.858e-05/0.6106, allocations: 7.906 kB / 0.4934 GB, free: 9.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.611, allocations: 202.9 kB / 0.4936 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.611, allocations: 0 / 0.4936 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.913e-05/0.611, allocations: 11.89 kB / 0.4936 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.6112, allocations: 45.69 kB / 0.4936 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.778e-06/0.6112, allocations: 0 / 0.4936 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.6112, allocations: 0 / 0.4936 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.386e-06/0.6112, allocations: 0 / 0.4936 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.664e-05/0.6113, allocations: 19.98 kB / 0.4936 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002414/0.6116, allocations: 177.7 kB / 0.4938 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000135/0.6117, allocations: 50.62 kB / 0.4939 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.6118, allocations: 20.86 kB / 0.4939 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.6118, allocations: 3.938 kB / 0.4939 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.612, allocations: 67.34 kB / 0.4939 GB, free: 8.457 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.583e-06/0.612, allocations: 0 / 0.4939 GB, free: 8.457 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002419/0.6122, allocations: 85.52 kB / 0.494 GB, free: 8.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.6123, allocations: 55.34 kB / 0.4941 GB, free: 8.301 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002389/0.6126, allocations: 178 kB / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.6126, allocations: 29.7 kB / 0.4943 GB, free: 8.09 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.257e-05/0.6127, allocations: 100.1 kB / 0.4944 GB, free: 7.988 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.6127, allocations: 19.83 kB / 0.4944 GB, free: 7.969 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.325e-06/0.6127, allocations: 0 / 0.4944 GB, free: 7.969 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.6129, allocations: 318.8 kB / 0.4947 GB, free: 7.648 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.856e-05/0.613, allocations: 12 kB / 0.4947 GB, free: 7.637 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.6131, allocations: 33.64 kB / 0.4947 GB, free: 7.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.588e-05/0.6131, allocations: 20 kB / 0.4948 GB, free: 7.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.361e-06/0.6131, allocations: 0 / 0.4948 GB, free: 7.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000179/0.6133, allocations: 77.56 kB / 0.4948 GB, free: 7.496 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.6134, allocations: 11.95 kB / 0.4948 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.484e-06/0.6134, allocations: 0 / 0.4948 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.6134, allocations: 0 / 0.4948 GB, free: 7.484 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.6135, allocations: 15.92 kB / 0.4949 GB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.309e-06/0.6135, allocations: 4 kB / 0.4949 GB, free: 7.465 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/0.6136, allocations: 4 kB / 0.4949 GB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.6136, allocations: 4 kB / 0.4949 GB, free: 7.457 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 (7): * Single equations (assignments): 7 * 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.38e-05/0.6137, allocations: 109 kB / 0.495 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.022e-05/0.6138, allocations: 11.89 kB / 0.495 GB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.614, allocations: 89.72 kB / 0.4951 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.614, allocations: 0 / 0.4951 GB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.192e-06/0.6141, allocations: 4 kB / 0.4951 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-06/0.6141, allocations: 0 / 0.4951 GB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.6143, allocations: 193.5 kB / 0.4953 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-06/0.6143, allocations: 7.922 kB / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-05/0.6144, allocations: 4 kB / 0.4953 GB, free: 6.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.603e-06/0.6144, allocations: 4 kB / 0.4953 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.6144, allocations: 0 / 0.4953 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.065e-06/0.6144, allocations: 7.953 kB / 0.4953 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.6144, allocations: 0 / 0.4953 GB, free: 6.969 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000213/0.6147, allocations: 105 kB / 0.4954 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.093e-05/0.6148, allocations: 96.94 kB / 0.4955 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.6148, allocations: 0 / 0.4955 GB, free: 6.734 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.927e-05/0.6149, allocations: 8 kB / 0.4955 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.769e-05/0.6149, allocations: 11.88 kB / 0.4955 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.615, allocations: 8.188 kB / 0.4955 GB, free: 6.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.6152, allocations: 139.8 kB / 0.4956 GB, free: 6.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.6e-07/0.6152, allocations: 0 / 0.4956 GB, free: 6.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000317/0.6155, allocations: 24 kB / 0.4957 GB, free: 6.551 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.00144/0.617, allocations: 412.9 kB / 0.4961 GB, free: 6.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.6172, allocations: 40 kB / 0.4961 GB, free: 6.219 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.64e-06/0.6172, allocations: 0 / 0.4961 GB, free: 6.219 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.163e-05/0.6173, allocations: 23.92 kB / 0.4961 GB, free: 6.195 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.6176, allocations: 28.17 kB / 0.4961 GB, free: 6.168 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.618, allocations: 149.1 kB / 0.4963 GB, free: 6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000389/0.6184, allocations: 0.7082 MB / 0.497 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.006e-05/0.6185, allocations: 16.42 kB / 0.497 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.6186, allocations: 15.42 kB / 0.497 GB, free: 5.234 MB / 410.7 MB Notification: Performance of SimCode: time 1.8e-06/0.6186, allocations: 0 / 0.497 GB, free: 5.234 MB / 410.7 MB Notification: Performance of Templates: time 0.005523/0.6241, allocations: 1.453 MB / 0.4984 GB, free: 3.789 MB / 410.7 MB