Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.016e-05/4.039e-05, allocations: 8 kB / 273.1 MB, free: 3.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08689/0.08695, allocations: 48.69 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3729/0.4599, allocations: 75.78 MB / 397.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003994/0.4604, allocations: 69.23 kB / 397.6 MB, free: 7.477 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02163/0.482, allocations: 4.322 MB / 402 MB, free: 6.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.831e-06/0.4821, allocations: 0 / 402 MB, free: 6.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.4821, allocations: 4 kB / 402 MB, free: 6.266 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003777/0.4825, allocations: 433.2 kB / 402.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4826, allocations: 11.53 kB / 402.4 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.4826, allocations: 7.75 kB / 402.4 MB, free: 5.824 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.4828, allocations: 220 kB / 402.6 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4829, allocations: 0 / 402.6 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.4829, allocations: 3.844 kB / 402.6 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.836e-05/0.483, allocations: 44.19 kB / 402.7 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4831, allocations: 4 kB / 402.7 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4831, allocations: 0 / 402.7 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.4831, allocations: 3.844 kB / 402.7 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.878e-05/0.4832, allocations: 18.61 kB / 402.7 MB, free: 5.555 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003463/0.4835, allocations: 305.5 kB / 403 MB, free: 5.266 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4837, allocations: 41.64 kB / 403 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.622e-05/0.4838, allocations: 16.08 kB / 403 MB, free: 5.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.4838, allocations: 7.281 kB / 403.1 MB, free: 5.223 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/0.4839, allocations: 58.89 kB / 403.1 MB, free: 5.164 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.563e-06/0.4839, allocations: 3.5 kB / 403.1 MB, free: 5.164 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000389/0.4843, allocations: 117.8 kB / 403.2 MB, free: 5.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.4844, allocations: 51.41 kB / 403.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.4846, allocations: 220 kB / 403.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4847, allocations: 32.67 kB / 403.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/0.4847, allocations: 112.8 kB / 403.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.4848, allocations: 14.75 kB / 403.6 MB, free: 4.789 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.491e-06/0.4848, allocations: 3.938 kB / 403.7 MB, free: 4.789 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.4849, allocations: 328.3 kB / 404 MB, free: 4.469 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.158e-05/0.4849, allocations: 28.28 kB / 404 MB, free: 4.461 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.204e-05/0.485, allocations: 22.56 kB / 404 MB, free: 4.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.544e-05/0.4851, allocations: 48.16 kB / 404.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-06/0.4851, allocations: 0 / 404.1 MB, free: 4.426 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002356/0.4853, allocations: 128.7 kB / 404.2 MB, free: 4.355 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.4854, allocations: 45.28 kB / 404.2 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.42e-06/0.4854, allocations: 0 / 404.2 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.4854, allocations: 3.938 kB / 404.2 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.98e-05/0.4855, allocations: 7.844 kB / 404.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.835e-06/0.4855, allocations: 0 / 404.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.142e-05/0.4856, allocations: 3.844 kB / 404.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.4856, allocations: 15.09 kB / 404.3 MB, free: 4.301 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 5.292e-05/0.4857, allocations: 101 kB / 404.4 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.4857, allocations: 15.62 kB / 404.4 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002158/0.486, allocations: 94.27 kB / 404.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-06/0.486, allocations: 0 / 404.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.023e-06/0.486, allocations: 3.969 kB / 404.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.063e-06/0.486, allocations: 3.938 kB / 404.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.4864, allocations: 381.6 kB / 404.9 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-06/0.4864, allocations: 4 kB / 404.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.4865, allocations: 3.812 kB / 404.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.932e-06/0.4865, allocations: 0 / 404.9 MB, free: 3.801 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.4865, allocations: 15.2 kB / 404.9 MB, free: 3.793 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.674e-06/0.4865, allocations: 3.938 kB / 404.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.808e-06/0.4865, allocations: 0 / 404.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.4867, allocations: 179.7 kB / 405.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.4868, allocations: 99.94 kB / 405.2 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.4868, allocations: 3.875 kB / 405.2 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.577e-05/0.4869, allocations: 0 / 405.2 MB, free: 3.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.487, allocations: 11.45 kB / 405.2 MB, free: 3.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.487, allocations: 7.844 kB / 405.2 MB, free: 3.527 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001712/0.4872, allocations: 185 kB / 405.4 MB, free: 3.434 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.4872, allocations: 0 / 405.4 MB, free: 3.434 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003646/0.4876, allocations: 31.06 kB / 405.4 MB, free: 3.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001015/0.4886, allocations: 349.5 kB / 405.7 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.4888, allocations: 114.6 kB / 405.8 MB, free: 3.121 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.666e-06/0.4888, allocations: 3.938 kB / 405.8 MB, free: 3.117 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.4889, allocations: 18.56 kB / 405.9 MB, free: 3.117 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.4892, allocations: 15.67 kB / 405.9 MB, free: 3.109 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/0.4896, allocations: 188.6 kB / 406.1 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00042/0.4901, allocations: 0.7191 MB / 406.8 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.4901, allocations: 11.53 kB / 406.8 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.4902, allocations: 15.25 kB / 406.8 MB, free: 18.28 MB / 330.7 MB Notification: Performance of SimCode: time 2.959e-06/0.4902, allocations: 0 / 406.8 MB, free: 18.28 MB / 330.7 MB Notification: Performance of Templates: time 0.005003/0.4952, allocations: 1.673 MB / 408.5 MB, free: 17.44 MB / 330.7 MB