Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.432e-05/5.443e-05, allocations: 8 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5238/0.6693, allocations: 89.23 MB / 499.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.6696, allocations: 74.16 kB / 499.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02325/0.6929, allocations: 5.414 MB / 0.4932 GB, free: 9.398 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.01e-06/0.6929, allocations: 0 / 0.4932 GB, free: 9.398 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.6929, allocations: 4 kB / 0.4932 GB, free: 9.395 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.0005262/0.6935, allocations: 390.3 kB / 0.4936 GB, free: 8.969 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.6935, allocations: 8.031 kB / 0.4936 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.6936, allocations: 7.906 kB / 0.4936 GB, free: 8.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.694, allocations: 218.8 kB / 0.4938 GB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.694, allocations: 3.953 kB / 0.4938 GB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/0.694, allocations: 11.91 kB / 0.4938 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.6942, allocations: 53.67 kB / 0.4938 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.6942, allocations: 0 / 0.4938 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.6942, allocations: 0 / 0.4938 GB, free: 8.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.383e-06/0.6943, allocations: 4 kB / 0.4939 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.943e-05/0.6943, allocations: 12 kB / 0.4939 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.6948, allocations: 300.9 kB / 0.4942 GB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.695, allocations: 62.56 kB / 0.4942 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.161e-05/0.6951, allocations: 20.98 kB / 0.4942 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.6951, allocations: 0 / 0.4942 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/0.6953, allocations: 63.39 kB / 0.4943 GB, free: 8.098 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 5.356e-06/0.6953, allocations: 4 kB / 0.4943 GB, free: 8.094 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005455/0.6958, allocations: 157.2 kB / 0.4944 GB, free: 7.934 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.6959, allocations: 55.41 kB / 0.4945 GB, free: 7.867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002444/0.6962, allocations: 177.9 kB / 0.4947 GB, free: 7.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.6962, allocations: 25.7 kB / 0.4947 GB, free: 7.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.6963, allocations: 100.1 kB / 0.4948 GB, free: 7.559 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.6963, allocations: 23.7 kB / 0.4948 GB, free: 7.535 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-06/0.6964, allocations: 0 / 0.4948 GB, free: 7.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.6966, allocations: 330.8 kB / 0.4951 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.641e-05/0.6966, allocations: 16 kB / 0.4951 GB, free: 7.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.483e-05/0.6967, allocations: 37.66 kB / 0.4952 GB, free: 7.145 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.26e-05/0.6968, allocations: 28.05 kB / 0.4952 GB, free: 7.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-06/0.6968, allocations: 0 / 0.4952 GB, free: 7.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002332/0.6971, allocations: 97.56 kB / 0.4953 GB, free: 7.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6971, allocations: 8 kB / 0.4953 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.215e-06/0.6971, allocations: 0 / 0.4953 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.6971, allocations: 0 / 0.4953 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.6973, allocations: 19.97 kB / 0.4953 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.6973, allocations: 4 kB / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.79e-05/0.6974, allocations: 11.92 kB / 0.4953 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.6974, allocations: 4 kB / 0.4953 GB, free: 6.969 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.92e-05/0.6975, allocations: 109.6 kB / 0.4954 GB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.6976, allocations: 11.81 kB / 0.4955 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000294/0.6979, allocations: 118.2 kB / 0.4956 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-06/0.6979, allocations: 0 / 0.4956 GB, free: 6.727 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-06/0.6979, allocations: 4 kB / 0.4956 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.042e-06/0.6979, allocations: 0 / 0.4956 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000638/0.6986, allocations: 407.3 kB / 0.496 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.294e-06/0.6986, allocations: 0 / 0.496 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.363e-05/0.6987, allocations: 12 kB / 0.496 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.6987, allocations: 0 / 0.496 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.931e-05/0.6987, allocations: 3.984 kB / 0.496 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.133e-06/0.6987, allocations: 7.938 kB / 0.496 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-06/0.6987, allocations: 4.031 kB / 0.496 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.6991, allocations: 226 kB / 0.4962 GB, free: 5.992 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.415e-05/0.6992, allocations: 89.02 kB / 0.4963 GB, free: 5.887 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.6992, allocations: 3.984 kB / 0.4963 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.6993, allocations: 4 kB / 0.4963 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.6994, allocations: 15.95 kB / 0.4963 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.6994, allocations: 7.984 kB / 0.4963 GB, free: 5.855 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001809/0.6996, allocations: 139.9 kB / 0.4965 GB, free: 5.723 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.6996, allocations: 0 / 0.4965 GB, free: 5.723 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.7, allocations: 31.98 kB / 0.4965 GB, free: 5.691 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.001636/0.7016, allocations: 464.8 kB / 0.4969 GB, free: 5.359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.7019, allocations: 59.94 kB / 0.497 GB, free: 5.301 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.9e-06/0.7019, allocations: 0 / 0.497 GB, free: 5.301 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.014e-05/0.702, allocations: 31.98 kB / 0.497 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.7023, allocations: 27.73 kB / 0.497 GB, free: 5.246 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004692/0.7028, allocations: 166.2 kB / 0.4972 GB, free: 5.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.7032, allocations: 0.7045 MB / 0.4979 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.788e-05/0.7033, allocations: 28.7 kB / 0.4979 GB, free: 4.293 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.6e-05/0.7034, allocations: 19.38 kB / 0.4979 GB, free: 4.273 MB / 410.7 MB Notification: Performance of SimCode: time 1.697e-06/0.7034, allocations: 0 / 0.4979 GB, free: 4.273 MB / 410.7 MB Notification: Performance of Templates: time 0.005992/0.7094, allocations: 1.67 MB / 0.4996 GB, free: 2.609 MB / 410.7 MB