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_cpp_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadModel(ModelicaTest): time 1.837/1.837, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.739e-05/6.745e-05, allocations: 8 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1355, allocations: 48.69 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3375/0.4731, allocations: 75.78 MB / 397.5 MB, free: 6.527 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.4734, allocations: 72.25 kB / 397.6 MB, free: 6.523 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01557/0.489, allocations: 4.319 MB / 401.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.916e-06/0.489, allocations: 0 / 401.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.368e-05/0.489, allocations: 3.844 kB / 401.9 MB, free: 5.445 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.0003893/0.4894, allocations: 437.7 kB / 402.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.4895, allocations: 7.812 kB / 402.4 MB, free: 5.004 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.032e-05/0.4895, allocations: 7.781 kB / 402.4 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.4898, allocations: 213.3 kB / 402.6 MB, free: 4.781 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.4898, allocations: 7.875 kB / 402.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.4898, allocations: 3.844 kB / 402.6 MB, free: 4.777 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.4899, allocations: 44.97 kB / 402.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.49, allocations: 0 / 402.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.49, allocations: 0 / 402.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.166e-06/0.49, allocations: 0 / 402.6 MB, free: 4.742 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.563e-05/0.4901, allocations: 19.33 kB / 402.7 MB, free: 4.734 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003414/0.4904, allocations: 302.6 kB / 402.9 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.4906, allocations: 49.47 kB / 403 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.4907, allocations: 8.828 kB / 403 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.4907, allocations: 0 / 403 MB, free: 4.406 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.4908, allocations: 70.89 kB / 403.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.527e-06/0.4908, allocations: 0 / 403.1 MB, free: 4.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003754/0.4912, allocations: 119 kB / 403.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.4913, allocations: 59.39 kB / 403.2 MB, free: 4.207 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002521/0.4915, allocations: 218.8 kB / 403.5 MB, free: 4.094 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4916, allocations: 33.53 kB / 403.5 MB, free: 4.059 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.4916, allocations: 169.8 kB / 403.7 MB, free: 3.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.11e-05/0.4917, allocations: 11.75 kB / 403.7 MB, free: 3.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-06/0.4917, allocations: 3.844 kB / 403.7 MB, free: 3.902 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.59e-05/0.4917, allocations: 310.8 kB / 404 MB, free: 3.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.101e-05/0.4918, allocations: 26.98 kB / 404 MB, free: 3.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.046e-05/0.4919, allocations: 23.41 kB / 404 MB, free: 3.582 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.514e-05/0.492, allocations: 56.59 kB / 404.1 MB, free: 3.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.762e-06/0.492, allocations: 0 / 404.1 MB, free: 3.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003243/0.4923, allocations: 116.6 kB / 404.2 MB, free: 19.48 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.4924, allocations: 45.19 kB / 404.2 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.537e-06/0.4924, allocations: 3.875 kB / 404.2 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.4924, allocations: 0 / 404.2 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.697e-05/0.4925, allocations: 7.688 kB / 404.3 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.23e-06/0.4925, allocations: 0 / 404.3 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.4926, allocations: 3.812 kB / 404.3 MB, free: 19.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.4926, allocations: 11.81 kB / 404.3 MB, free: 19.43 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.235e-05/0.4927, allocations: 113 kB / 404.4 MB, free: 19.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.109e-05/0.4927, allocations: 19.48 kB / 404.4 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.493, allocations: 89.05 kB / 404.5 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.533e-06/0.493, allocations: 4.031 kB / 404.5 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.345e-06/0.493, allocations: 7.781 kB / 404.5 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.403e-06/0.493, allocations: 0 / 404.5 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.4935, allocations: 379.1 kB / 404.9 MB, free: 18.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.783e-06/0.4935, allocations: 4 kB / 404.9 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.445e-05/0.4936, allocations: 7.688 kB / 404.9 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.812e-06/0.4936, allocations: 0 / 404.9 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.4936, allocations: 3.984 kB / 404.9 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.523e-06/0.4936, allocations: 3.969 kB / 404.9 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.577e-06/0.4936, allocations: 0 / 404.9 MB, free: 18.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002191/0.4938, allocations: 182.1 kB / 405.1 MB, free: 18.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.836e-05/0.494, allocations: 93.56 kB / 405.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.494, allocations: 5.5 kB / 405.2 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.4941, allocations: 10.44 kB / 405.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.478e-05/0.4942, allocations: 2.562 kB / 405.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.4942, allocations: 6.641 kB / 405.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002109/0.4944, allocations: 184.9 kB / 405.4 MB, free: 18.56 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.33e-07/0.4944, allocations: 0 / 405.4 MB, free: 18.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.4948, allocations: 38.95 kB / 405.4 MB, free: 18.55 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.001037/0.4959, allocations: 353.9 kB / 405.7 MB, free: 18.31 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002078/0.4961, allocations: 116.8 kB / 405.9 MB, free: 18.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.4961, allocations: 3.938 kB / 405.9 MB, free: 18.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.2e-05/0.4962, allocations: 15.53 kB / 405.9 MB, free: 18.23 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.4964, allocations: 19.83 kB / 405.9 MB, free: 18.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004168/0.4969, allocations: 215.5 kB / 406.1 MB, free: 18.09 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.4973, allocations: 0.7152 MB / 406.8 MB, free: 17.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.4974, allocations: 15.25 kB / 406.8 MB, free: 17.37 MB / 330.7 MB Notification: Performance of SimCode: time 1.41e-06/0.4974, allocations: 3.938 kB / 406.8 MB, free: 17.36 MB / 330.7 MB Notification: Performance of Templates: time 0.003872/0.5012, allocations: 1.921 MB / 408.8 MB, free: 16.4 MB / 330.7 MB