Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.564/2.564, allocations: 270 MB / 283.6 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.468e-05, allocations: 8 kB / 348.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3293/0.3293, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.4764, allocations: 89.28 MB / 499.6 MB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.4767, allocations: 75.95 kB / 499.6 MB, free: 1.227 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0243/0.501, allocations: 5.819 MB / 0.4936 GB, free: 11.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.317e-06/0.5011, allocations: 4 kB / 0.4936 GB, free: 11.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.5011, allocations: 0 / 0.4936 GB, free: 11.4 MB / 426.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.0005813/0.5017, allocations: 413 kB / 0.494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.5017, allocations: 8.031 kB / 0.494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.152e-05/0.5018, allocations: 15.81 kB / 0.494 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004005/0.5022, allocations: 230.5 kB / 0.4943 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.5023, allocations: 3.953 kB / 0.4943 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.5023, allocations: 12 kB / 0.4943 GB, free: 10.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.5025, allocations: 53.61 kB / 0.4943 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.5025, allocations: 0 / 0.4943 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.5025, allocations: 4 kB / 0.4943 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.57e-06/0.5025, allocations: 0 / 0.4943 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.784e-05/0.5026, allocations: 19.94 kB / 0.4943 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.5031, allocations: 312.9 kB / 0.4946 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.5033, allocations: 58.62 kB / 0.4947 GB, free: 10.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.32e-05/0.5034, allocations: 20.98 kB / 0.4947 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.138e-05/0.5034, allocations: 3.938 kB / 0.4947 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000151/0.5036, allocations: 63.39 kB / 0.4948 GB, free: 10.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.693e-06/0.5036, allocations: 0 / 0.4948 GB, free: 10.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005652/0.5042, allocations: 165 kB / 0.4949 GB, free: 9.875 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.5042, allocations: 55.41 kB / 0.495 GB, free: 9.809 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003706/0.5046, allocations: 237.8 kB / 0.4952 GB, free: 9.562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.5047, allocations: 25.7 kB / 0.4953 GB, free: 9.531 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.122e-05/0.5048, allocations: 112.1 kB / 0.4954 GB, free: 9.418 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.5048, allocations: 27.64 kB / 0.4954 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-06/0.5048, allocations: 0 / 0.4954 GB, free: 9.391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.505, allocations: 330.8 kB / 0.4957 GB, free: 9.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.986e-05/0.5051, allocations: 16 kB / 0.4957 GB, free: 9.043 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.981e-05/0.5052, allocations: 45.7 kB / 0.4958 GB, free: 8.992 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.843e-05/0.5053, allocations: 16 kB / 0.4958 GB, free: 8.977 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.5053, allocations: 0 / 0.4958 GB, free: 8.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000246/0.5055, allocations: 105.4 kB / 0.4959 GB, free: 8.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.5056, allocations: 4 kB / 0.4959 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-06/0.5056, allocations: 0 / 0.4959 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.5056, allocations: 0 / 0.4959 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.5058, allocations: 20.17 kB / 0.4959 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.916e-06/0.5058, allocations: 0 / 0.4959 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.216e-05/0.5059, allocations: 16.03 kB / 0.4959 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.5059, allocations: 0 / 0.4959 GB, free: 8.828 MB / 426.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.0001078/0.506, allocations: 116.9 kB / 0.496 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.975e-05/0.5061, allocations: 15.81 kB / 0.496 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.5064, allocations: 115.1 kB / 0.4961 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.116e-06/0.5064, allocations: 4 kB / 0.4962 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.476e-06/0.5064, allocations: 288 / 0.4962 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.5065, allocations: 0 / 0.4962 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006929/0.5072, allocations: 439.2 kB / 0.4966 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.391e-06/0.5072, allocations: 3.938 kB / 0.4966 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.749e-05/0.5073, allocations: 8 kB / 0.4966 GB, free: 8.066 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.974e-06/0.5073, allocations: 4 kB / 0.4966 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.5073, allocations: 3.984 kB / 0.4966 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.079e-06/0.5073, allocations: 0 / 0.4966 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.077e-06/0.5073, allocations: 4 kB / 0.4966 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.5077, allocations: 233.8 kB / 0.4968 GB, free: 7.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.917e-05/0.5078, allocations: 92.92 kB / 0.4969 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.189e-05/0.5078, allocations: 11.98 kB / 0.4969 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001216/0.508, allocations: 4 kB / 0.4969 GB, free: 7.676 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.508, allocations: 11.94 kB / 0.4969 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.5081, allocations: 0 / 0.4969 GB, free: 7.664 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002777/0.5083, allocations: 200.2 kB / 0.4971 GB, free: 7.469 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.68e-07/0.5084, allocations: 0 / 0.4971 GB, free: 7.469 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004014/0.5088, allocations: 35.94 kB / 0.4972 GB, free: 7.434 MB / 426.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.001685/0.5105, allocations: 457.9 kB / 0.4976 GB, free: 7.125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002129/0.5107, allocations: 51.98 kB / 0.4976 GB, free: 7.074 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.658e-06/0.5107, allocations: 4.062 kB / 0.4976 GB, free: 7.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001073/0.5109, allocations: 35.92 kB / 0.4977 GB, free: 7.035 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.5112, allocations: 36 kB / 0.4977 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005799/0.5118, allocations: 219.2 kB / 0.4979 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.5123, allocations: 0.7199 MB / 0.4986 GB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.155e-05/0.5124, allocations: 28.45 kB / 0.4987 GB, free: 5.984 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.287e-05/0.5125, allocations: 19.44 kB / 0.4987 GB, free: 5.965 MB / 426.7 MB Notification: Performance of SimCode: time 2.067e-06/0.5125, allocations: 0 / 0.4987 GB, free: 5.965 MB / 426.7 MB Notification: Performance of Templates: time 0.0103/0.5228, allocations: 1.826 MB / 0.5005 GB, free: 4.152 MB / 426.7 MB