Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 1.913/1.913, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.173e-05/3.193e-05, allocations: 4 kB / 273.1 MB, free: 228 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09451/0.09456, allocations: 48.69 MB / 321.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3634/0.458, allocations: 75.78 MB / 397.6 MB, free: 13.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003692/0.4584, allocations: 67.97 kB / 397.6 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0268/0.4853, allocations: 4.124 MB / 401.8 MB, free: 9.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4853, allocations: 4 kB / 401.8 MB, free: 9.719 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.4854, allocations: 4 kB / 401.8 MB, free: 9.715 MB / 330.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.0005396/0.4859, allocations: 419.9 kB / 402.2 MB, free: 9.254 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.486, allocations: 12.02 kB / 402.2 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.486, allocations: 7.906 kB / 402.2 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003076/0.4863, allocations: 208.6 kB / 402.4 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.4864, allocations: 8 kB / 402.4 MB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.301e-05/0.4864, allocations: 0 / 402.4 MB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.4865, allocations: 53.67 kB / 402.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.4866, allocations: 0 / 402.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4866, allocations: 0 / 402.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.043e-06/0.4866, allocations: 0 / 402.5 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.03e-05/0.4867, allocations: 15.98 kB / 402.5 MB, free: 8.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.4871, allocations: 292.9 kB / 402.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.4874, allocations: 42.98 kB / 402.8 MB, free: 8.523 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.373e-05/0.4874, allocations: 20.94 kB / 402.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.4875, allocations: 0 / 402.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001329/0.4876, allocations: 59.34 kB / 402.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.328e-06/0.4876, allocations: 0 / 402.9 MB, free: 8.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004354/0.4881, allocations: 117.2 kB / 403 MB, free: 8.309 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.4881, allocations: 55.36 kB / 403.1 MB, free: 8.242 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.4884, allocations: 177.3 kB / 403.2 MB, free: 8.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.4885, allocations: 37.69 kB / 403.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.938e-05/0.4886, allocations: 96.14 kB / 403.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.4886, allocations: 15.8 kB / 403.4 MB, free: 7.906 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.404e-06/0.4886, allocations: 4 kB / 403.4 MB, free: 7.902 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001929/0.4888, allocations: 318.8 kB / 403.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.4889, allocations: 31.92 kB / 403.7 MB, free: 7.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.489, allocations: 16 kB / 403.7 MB, free: 7.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001026/0.4891, allocations: 57.69 kB / 403.8 MB, free: 7.473 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.29e-06/0.4891, allocations: 0 / 403.8 MB, free: 7.473 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002723/0.4894, allocations: 131.2 kB / 403.9 MB, free: 7.332 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.684e-05/0.4895, allocations: 33.69 kB / 404 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.722e-06/0.4895, allocations: 0 / 404 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.4895, allocations: 0 / 404 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.4896, allocations: 8 kB / 404 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.735e-06/0.4896, allocations: 4 kB / 404 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.4897, allocations: 7.953 kB / 404 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.856e-05/0.4897, allocations: 7.984 kB / 404 MB, free: 7.266 MB / 330.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 9.829e-05/0.4898, allocations: 108.9 kB / 404.1 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.4899, allocations: 11.91 kB / 404.1 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002581/0.4901, allocations: 93.8 kB / 404.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.866e-06/0.4902, allocations: 96 / 404.2 MB, free: 7.043 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.853e-06/0.4902, allocations: 7.938 kB / 404.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.905e-06/0.4902, allocations: 0 / 404.2 MB, free: 7.035 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.4907, allocations: 366.4 kB / 404.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4907, allocations: 0 / 404.6 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.591e-05/0.4908, allocations: 4 kB / 404.6 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.705e-06/0.4908, allocations: 8 kB / 404.6 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.4908, allocations: 0 / 404.6 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.812e-06/0.4908, allocations: 3.984 kB / 404.6 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.179e-06/0.4909, allocations: 3.953 kB / 404.6 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002403/0.4911, allocations: 171.5 kB / 404.7 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.306e-05/0.4912, allocations: 93 kB / 404.8 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.4912, allocations: 0 / 404.8 MB, free: 6.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.782e-05/0.4913, allocations: 4 kB / 404.8 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.979e-05/0.4914, allocations: 12.09 kB / 404.8 MB, free: 6.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.4914, allocations: 11.92 kB / 404.9 MB, free: 6.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.4916, allocations: 148.9 kB / 405 MB, free: 6.137 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.4916, allocations: 0 / 405 MB, free: 6.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003806/0.492, allocations: 35.92 kB / 405 MB, free: 6.102 MB / 330.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.001139/0.4932, allocations: 348.1 kB / 405.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002474/0.4934, allocations: 107.4 kB / 405.5 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.11e-06/0.4935, allocations: 0 / 405.5 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.597e-05/0.4935, allocations: 19.94 kB / 405.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.4938, allocations: 15.98 kB / 405.5 MB, free: 5.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004398/0.4943, allocations: 165.7 kB / 405.7 MB, free: 5.473 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.4947, allocations: 0.7083 MB / 406.4 MB, free: 4.738 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.016e-05/0.4948, allocations: 16.11 kB / 406.4 MB, free: 4.723 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/0.4948, allocations: 11.44 kB / 406.4 MB, free: 4.711 MB / 330.7 MB Notification: Performance of SimCode: time 1.469e-06/0.4949, allocations: 4 kB / 406.4 MB, free: 4.707 MB / 330.7 MB Notification: Performance of Templates: time 0.005436/0.5003, allocations: 1.559 MB / 408 MB, free: 3.152 MB / 330.7 MB