Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.521/2.521, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.44e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1361, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4339/0.5701, allocations: 89.28 MB / 499.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.5704, allocations: 71.95 kB / 499.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02291/0.5933, allocations: 5.522 MB / 0.4933 GB, free: 9.223 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.927e-06/0.5934, allocations: 4 kB / 0.4933 GB, free: 9.219 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.5934, allocations: 0 / 0.4933 GB, free: 9.219 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.0005313/0.5939, allocations: 390.3 kB / 0.4937 GB, free: 8.793 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.594, allocations: 8.031 kB / 0.4937 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.514e-05/0.594, allocations: 7.906 kB / 0.4937 GB, free: 8.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.5944, allocations: 210.8 kB / 0.4939 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5944, allocations: 7.953 kB / 0.4939 GB, free: 8.523 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.347e-05/0.5945, allocations: 3.906 kB / 0.4939 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.5946, allocations: 57.67 kB / 0.494 GB, free: 8.457 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5946, allocations: 4 kB / 0.494 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5947, allocations: 0 / 0.494 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-06/0.5947, allocations: 0 / 0.494 GB, free: 8.453 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.34e-05/0.5948, allocations: 20 kB / 0.494 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.5953, allocations: 296.8 kB / 0.4943 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.5954, allocations: 58.69 kB / 0.4943 GB, free: 8.027 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.458e-05/0.5955, allocations: 20.92 kB / 0.4944 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.5955, allocations: 0 / 0.4944 GB, free: 8.004 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.5957, allocations: 71.38 kB / 0.4944 GB, free: 7.922 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.636e-06/0.5957, allocations: 0 / 0.4944 GB, free: 7.922 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.5963, allocations: 153.2 kB / 0.4946 GB, free: 7.766 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.5963, allocations: 51.41 kB / 0.4946 GB, free: 7.703 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.5966, allocations: 177.9 kB / 0.4948 GB, free: 7.527 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.6e-05/0.5966, allocations: 33.7 kB / 0.4948 GB, free: 7.488 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.742e-05/0.5967, allocations: 96.14 kB / 0.4949 GB, free: 7.391 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.5968, allocations: 23.7 kB / 0.4949 GB, free: 7.367 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.5968, allocations: 0 / 0.4949 GB, free: 7.367 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.597, allocations: 326.8 kB / 0.4953 GB, free: 7.039 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.955e-05/0.597, allocations: 20 kB / 0.4953 GB, free: 7.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.259e-05/0.5971, allocations: 37.64 kB / 0.4953 GB, free: 6.977 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.754e-05/0.5972, allocations: 28.06 kB / 0.4953 GB, free: 6.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-06/0.5972, allocations: 0 / 0.4953 GB, free: 6.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002418/0.5975, allocations: 101.8 kB / 0.4954 GB, free: 6.844 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5975, allocations: 4 kB / 0.4954 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.5975, allocations: 0 / 0.4954 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.5975, allocations: 4 kB / 0.4954 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001211/0.5977, allocations: 19.94 kB / 0.4955 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.092e-06/0.5977, allocations: 0 / 0.4955 GB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.5978, allocations: 15.95 kB / 0.4955 GB, free: 6.801 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.5978, allocations: 0 / 0.4955 GB, free: 6.801 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.0001008/0.5979, allocations: 112.9 kB / 0.4956 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.5979, allocations: 11.81 kB / 0.4956 GB, free: 6.672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.5982, allocations: 122.2 kB / 0.4957 GB, free: 6.551 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.5983, allocations: 4 kB / 0.4957 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.174e-06/0.5983, allocations: 0 / 0.4957 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.176e-06/0.5983, allocations: 0 / 0.4957 GB, free: 6.547 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006294/0.5989, allocations: 411.3 kB / 0.4961 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.439e-06/0.599, allocations: 0 / 0.4961 GB, free: 6.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.904e-05/0.599, allocations: 8 kB / 0.4961 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.384e-06/0.599, allocations: 0 / 0.4961 GB, free: 6.078 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.5991, allocations: 7.984 kB / 0.4961 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.092e-06/0.5991, allocations: 0 / 0.4961 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.017e-06/0.5991, allocations: 3.938 kB / 0.4961 GB, free: 6.066 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003101/0.5994, allocations: 230.1 kB / 0.4963 GB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.5995, allocations: 85.02 kB / 0.4964 GB, free: 5.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.882e-05/0.5995, allocations: 11.98 kB / 0.4964 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.5997, allocations: 0 / 0.4964 GB, free: 5.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.859e-05/0.5997, allocations: 11.94 kB / 0.4964 GB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.5997, allocations: 4 kB / 0.4965 GB, free: 5.688 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.5999, allocations: 147.8 kB / 0.4966 GB, free: 5.547 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.86e-07/0.6, allocations: 4 kB / 0.4966 GB, free: 5.543 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003699/0.6003, allocations: 31.98 kB / 0.4966 GB, free: 5.512 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.001811/0.6022, allocations: 456.8 kB / 0.4971 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.6024, allocations: 55.92 kB / 0.4971 GB, free: 5.133 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.255e-06/0.6025, allocations: 0 / 0.4971 GB, free: 5.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.569e-05/0.6026, allocations: 32.06 kB / 0.4971 GB, free: 5.102 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.6029, allocations: 31.73 kB / 0.4972 GB, free: 5.074 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.6034, allocations: 166.2 kB / 0.4973 GB, free: 4.879 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.6038, allocations: 0.7043 MB / 0.498 GB, free: 4.148 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.989e-05/0.6039, allocations: 24.77 kB / 0.498 GB, free: 4.125 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.537e-05/0.604, allocations: 23.38 kB / 0.4981 GB, free: 4.102 MB / 410.7 MB Notification: Performance of SimCode: time 1.484e-06/0.604, allocations: 0 / 0.4981 GB, free: 4.102 MB / 410.7 MB Notification: Performance of Templates: time 0.005624/0.6096, allocations: 1.666 MB / 0.4997 GB, free: 2.441 MB / 410.7 MB