Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.965e-05/4.166e-05, allocations: 7.938 kB / 348.4 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1353, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5088/0.6442, allocations: 89.5 MB / 499.8 MB, free: 14.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.6445, allocations: 72.53 kB / 499.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02362/0.6681, allocations: 5.91 MB / 0.4939 GB, free: 8.629 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.6681, allocations: 0 / 0.4939 GB, free: 8.629 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.6682, allocations: 4 kB / 0.4939 GB, free: 8.625 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.0004911/0.6687, allocations: 394.2 kB / 0.4943 GB, free: 8.195 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.6687, allocations: 8.031 kB / 0.4943 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.158e-05/0.6688, allocations: 7.906 kB / 0.4943 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.6691, allocations: 206.8 kB / 0.4945 GB, free: 7.938 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.6691, allocations: 7.938 kB / 0.4945 GB, free: 7.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.6691, allocations: 7.984 kB / 0.4945 GB, free: 7.922 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.6693, allocations: 67.41 kB / 0.4946 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.953e-06/0.6693, allocations: 0 / 0.4946 GB, free: 7.844 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.6694, allocations: 3.984 kB / 0.4946 GB, free: 7.84 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.533e-06/0.6694, allocations: 7.938 kB / 0.4946 GB, free: 7.832 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.895e-05/0.6695, allocations: 12 kB / 0.4946 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.6699, allocations: 292.9 kB / 0.4949 GB, free: 7.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.67, allocations: 58.61 kB / 0.495 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.558e-05/0.6701, allocations: 24.97 kB / 0.495 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.6701, allocations: 0 / 0.495 GB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001422/0.6703, allocations: 67.34 kB / 0.495 GB, free: 7.312 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.554e-06/0.6703, allocations: 0 / 0.495 GB, free: 7.312 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.000682/0.671, allocations: 153.3 kB / 0.4952 GB, free: 7.156 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.611e-05/0.6711, allocations: 77.11 kB / 0.4953 GB, free: 7.062 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.6714, allocations: 147.3 kB / 0.4954 GB, free: 6.914 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.968e-05/0.6714, allocations: 33.7 kB / 0.4954 GB, free: 6.875 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.891e-05/0.6715, allocations: 100 kB / 0.4955 GB, free: 6.773 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.6716, allocations: 23.73 kB / 0.4956 GB, free: 6.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.488e-06/0.6716, allocations: 0 / 0.4956 GB, free: 6.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.6718, allocations: 318.8 kB / 0.4959 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.237e-05/0.6718, allocations: 23.98 kB / 0.4959 GB, free: 6.406 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.6719, allocations: 42.52 kB / 0.4959 GB, free: 6.355 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.979e-05/0.672, allocations: 23.98 kB / 0.4959 GB, free: 6.332 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.976e-06/0.672, allocations: 0 / 0.4959 GB, free: 6.332 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002344/0.6723, allocations: 101.5 kB / 0.496 GB, free: 6.227 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.6723, allocations: 14.88 kB / 0.4961 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-06/0.6723, allocations: 0 / 0.4961 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.545e-06/0.6723, allocations: 0 / 0.4961 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.6725, allocations: 19.92 kB / 0.4961 GB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.6725, allocations: 4 kB / 0.4961 GB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.6726, allocations: 3.953 kB / 0.4961 GB, free: 6.188 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.6726, allocations: 4 kB / 0.4961 GB, free: 6.184 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.618e-05/0.6727, allocations: 109 kB / 0.4962 GB, free: 6.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.6727, allocations: 11.89 kB / 0.4962 GB, free: 6.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003067/0.6731, allocations: 114.2 kB / 0.4963 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.323e-06/0.6731, allocations: 0 / 0.4963 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.318e-06/0.6731, allocations: 0 / 0.4963 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6731, allocations: 3.984 kB / 0.4963 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009424/0.6741, allocations: 391.3 kB / 0.4967 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.6741, allocations: 0 / 0.4967 GB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.6743, allocations: 19.92 kB / 0.4967 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.216e-05/0.6743, allocations: 4.312 kB / 0.4967 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.206e-05/0.6743, allocations: 4 kB / 0.4967 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.038e-05/0.6744, allocations: 7.953 kB / 0.4967 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.908e-06/0.6744, allocations: 3.938 kB / 0.4967 GB, free: 5.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000472/0.6749, allocations: 213.8 kB / 0.4969 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.675, allocations: 93 kB / 0.497 GB, free: 5.113 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.6751, allocations: 12.14 kB / 0.497 GB, free: 5.102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.6753, allocations: 12 kB / 0.497 GB, free: 5.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.6754, allocations: 7.984 kB / 0.497 GB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.6754, allocations: 0 / 0.497 GB, free: 5.082 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002068/0.6756, allocations: 122.5 kB / 0.4972 GB, free: 4.965 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.6757, allocations: 0 / 0.4972 GB, free: 4.965 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007201/0.6764, allocations: 43.92 kB / 0.4972 GB, free: 4.922 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.002802/0.6792, allocations: 0.4922 MB / 0.4977 GB, free: 4.566 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.6795, allocations: 59.92 kB / 0.4977 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.87e-06/0.6796, allocations: 4.062 kB / 0.4977 GB, free: 4.504 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.6797, allocations: 28 kB / 0.4978 GB, free: 4.477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005778/0.6803, allocations: 24.23 kB / 0.4978 GB, free: 4.453 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.681, allocations: 146.7 kB / 0.4979 GB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006894/0.6817, allocations: 0.7004 MB / 0.4986 GB, free: 3.555 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001773/0.6819, allocations: 20.59 kB / 0.4986 GB, free: 3.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.6821, allocations: 15.44 kB / 0.4987 GB, free: 3.52 MB / 410.7 MB Notification: Performance of SimCode: time 2.506e-06/0.6821, allocations: 0 / 0.4987 GB, free: 3.52 MB / 410.7 MB Notification: Performance of Templates: time 0.01246/0.6946, allocations: 1.884 MB / 0.5005 GB, free: 1.648 MB / 410.7 MB