Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.724/2.724, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.211e-05, allocations: 4 kB / 348.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.3261, allocations: 61.89 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.4779, allocations: 89.28 MB / 499.6 MB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.4782, allocations: 71.97 kB / 499.7 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.5015, allocations: 5.496 MB / 0.4933 GB, free: 11.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.061e-06/0.5015, allocations: 0 / 0.4933 GB, free: 11.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.5015, allocations: 0 / 0.4933 GB, free: 11.75 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.0005544/0.5021, allocations: 398.2 kB / 0.4937 GB, free: 11.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.5022, allocations: 8.031 kB / 0.4937 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.777e-05/0.5022, allocations: 15.91 kB / 0.4937 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003613/0.5026, allocations: 207.8 kB / 0.4939 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.214e-05/0.5026, allocations: 11.89 kB / 0.4939 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.605e-05/0.5027, allocations: 7.906 kB / 0.4939 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001342/0.5028, allocations: 53.69 kB / 0.494 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5028, allocations: 0 / 0.494 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5029, allocations: 0 / 0.494 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-06/0.5029, allocations: 0 / 0.494 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.771e-05/0.503, allocations: 23.92 kB / 0.494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004692/0.5034, allocations: 296.9 kB / 0.4943 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.5036, allocations: 50.7 kB / 0.4943 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.5037, allocations: 20.97 kB / 0.4944 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.5037, allocations: 0 / 0.4944 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.5039, allocations: 79.31 kB / 0.4944 GB, free: 10.44 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.5039, allocations: 0 / 0.4944 GB, free: 10.44 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005349/0.5045, allocations: 149.2 kB / 0.4946 GB, free: 10.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.5045, allocations: 51.41 kB / 0.4946 GB, free: 10.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002461/0.5048, allocations: 171.6 kB / 0.4948 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.5048, allocations: 25.7 kB / 0.4948 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.88e-05/0.5049, allocations: 100.1 kB / 0.4949 GB, free: 9.918 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.505, allocations: 23.7 kB / 0.4949 GB, free: 9.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-06/0.505, allocations: 3.938 kB / 0.4949 GB, free: 9.891 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.5052, allocations: 334.8 kB / 0.4953 GB, free: 9.555 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.708e-05/0.5052, allocations: 19.94 kB / 0.4953 GB, free: 9.535 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.401e-05/0.5053, allocations: 33.72 kB / 0.4953 GB, free: 9.496 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.871e-05/0.5054, allocations: 23.98 kB / 0.4953 GB, free: 9.473 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.89e-06/0.5054, allocations: 0 / 0.4953 GB, free: 9.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002452/0.5057, allocations: 97.52 kB / 0.4954 GB, free: 9.371 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5057, allocations: 4 kB / 0.4954 GB, free: 9.367 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.963e-06/0.5057, allocations: 4.031 kB / 0.4954 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5058, allocations: 4 kB / 0.4954 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.5059, allocations: 15.98 kB / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.548e-06/0.5059, allocations: 0 / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.506, allocations: 11.94 kB / 0.4955 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.506, allocations: 4 kB / 0.4955 GB, free: 9.328 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.0001009/0.5061, allocations: 108.9 kB / 0.4956 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.5062, allocations: 19.81 kB / 0.4956 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.5065, allocations: 126.5 kB / 0.4957 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-06/0.5065, allocations: 0 / 0.4957 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5065, allocations: 0 / 0.4957 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.334e-06/0.5065, allocations: 0 / 0.4957 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000632/0.5072, allocations: 407.3 kB / 0.4961 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-06/0.5072, allocations: 0 / 0.4961 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.946e-05/0.5073, allocations: 8 kB / 0.4961 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-06/0.5073, allocations: 4 kB / 0.4961 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.5073, allocations: 4.031 kB / 0.4961 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.662e-06/0.5073, allocations: 192 / 0.4961 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.5074, allocations: 11.92 kB / 0.4961 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.5077, allocations: 221.9 kB / 0.4963 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.741e-05/0.5078, allocations: 93.02 kB / 0.4964 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.5078, allocations: 0 / 0.4964 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.508, allocations: 11.98 kB / 0.4964 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.242e-05/0.508, allocations: 15.89 kB / 0.4964 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.508, allocations: 0 / 0.4964 GB, free: 8.207 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001889/0.5082, allocations: 146.3 kB / 0.4966 GB, free: 8.066 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.5083, allocations: 0 / 0.4966 GB, free: 8.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003758/0.5086, allocations: 28 kB / 0.4966 GB, free: 8.039 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.001641/0.5103, allocations: 467.1 kB / 0.4971 GB, free: 7.723 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.5105, allocations: 55.94 kB / 0.4971 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.258e-06/0.5105, allocations: 0 / 0.4971 GB, free: 7.668 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.888e-05/0.5106, allocations: 31.94 kB / 0.4971 GB, free: 7.637 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003277/0.511, allocations: 27.02 kB / 0.4972 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004672/0.5114, allocations: 155.3 kB / 0.4973 GB, free: 7.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.5119, allocations: 0.7123 MB / 0.498 GB, free: 6.691 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.47e-05/0.512, allocations: 20.41 kB / 0.498 GB, free: 6.672 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.512, allocations: 15.44 kB / 0.498 GB, free: 6.656 MB / 426.7 MB Notification: Performance of SimCode: time 1.628e-06/0.5121, allocations: 3.938 kB / 0.498 GB, free: 6.652 MB / 426.7 MB Notification: Performance of Templates: time 0.006088/0.5182, allocations: 1.682 MB / 0.4997 GB, free: 4.98 MB / 426.7 MB