Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.816/1.816, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.299e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0863/0.08635, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4006/0.487, allocations: 75.74 MB / 397.5 MB, free: 7.008 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.4872, allocations: 66.12 kB / 397.6 MB, free: 7.008 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01428/0.5015, allocations: 3.822 MB / 401.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.936e-06/0.5016, allocations: 0 / 401.4 MB, free: 6.113 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.5016, allocations: 1.5 kB / 401.4 MB, free: 6.113 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.0003584/0.502, allocations: 407.1 kB / 401.8 MB, free: 5.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.502, allocations: 10.16 kB / 401.8 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.5021, allocations: 11.81 kB / 401.8 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.5023, allocations: 202.9 kB / 402 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.5023, allocations: 2.625 kB / 402 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.5023, allocations: 2.688 kB / 402 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001048/0.5025, allocations: 53.42 kB / 402.1 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.5025, allocations: 3.984 kB / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.776e-06/0.5025, allocations: 0 / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.5025, allocations: 1.344 kB / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.642e-05/0.5026, allocations: 11.19 kB / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.5029, allocations: 287.7 kB / 402.4 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001908/0.5031, allocations: 44.73 kB / 402.4 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.5032, allocations: 15.88 kB / 402.4 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.003e-05/0.5032, allocations: 3.844 kB / 402.4 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001059/0.5033, allocations: 53.47 kB / 402.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.854e-06/0.5033, allocations: 0 / 402.5 MB, free: 5.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003651/0.5037, allocations: 107.5 kB / 402.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.326e-05/0.5038, allocations: 58.81 kB / 402.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.5039, allocations: 140.1 kB / 402.8 MB, free: 4.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.554e-05/0.5039, allocations: 29.55 kB / 402.8 MB, free: 4.773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.504, allocations: 161.7 kB / 403 MB, free: 4.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.087e-05/0.504, allocations: 15.59 kB / 403 MB, free: 4.609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-06/0.504, allocations: 3.188 kB / 403 MB, free: 4.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.633e-05/0.5041, allocations: 314.8 kB / 403.3 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.069e-05/0.5041, allocations: 23 kB / 403.3 MB, free: 4.293 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.141e-05/0.5042, allocations: 21.83 kB / 403.3 MB, free: 4.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.617e-05/0.5043, allocations: 54.59 kB / 403.4 MB, free: 4.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.786e-06/0.5043, allocations: 4 kB / 403.4 MB, free: 4.25 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002089/0.5045, allocations: 123.1 kB / 403.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.5046, allocations: 45.53 kB / 403.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.161e-06/0.5046, allocations: 0 / 403.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.5046, allocations: 0 / 403.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.786e-05/0.5047, allocations: 7.844 kB / 403.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.32e-06/0.5047, allocations: 0 / 403.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.5048, allocations: 3.875 kB / 403.6 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5048, allocations: 7.859 kB / 403.6 MB, free: 4.133 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.686e-05/0.5049, allocations: 119.9 kB / 403.7 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.5049, allocations: 3.969 kB / 403.7 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.5051, allocations: 87.17 kB / 403.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.5051, allocations: 0 / 403.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.18e-06/0.5052, allocations: 0 / 403.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.936e-06/0.5052, allocations: 0 / 403.8 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003302/0.5055, allocations: 351.4 kB / 404.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-06/0.5055, allocations: 0 / 404.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.5056, allocations: 10.94 kB / 404.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.851e-06/0.5056, allocations: 4.188 kB / 404.1 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.5056, allocations: 7.844 kB / 404.1 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.854e-06/0.5056, allocations: 0 / 404.1 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.779e-06/0.5057, allocations: 96 / 404.1 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.5058, allocations: 176.5 kB / 404.3 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.506, allocations: 88.42 kB / 404.4 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.613e-05/0.5061, allocations: 144 / 404.4 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.123e-05/0.5062, allocations: 3.844 kB / 404.4 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.489e-05/0.5062, allocations: 11.97 kB / 404.4 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.5062, allocations: 3.844 kB / 404.4 MB, free: 19.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.5064, allocations: 118.1 kB / 404.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.398e-06/0.5064, allocations: 0 / 404.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003488/0.5067, allocations: 34.44 kB / 404.6 MB, free: 19.29 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.001036/0.5078, allocations: 346.3 kB / 404.9 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.508, allocations: 114.1 kB / 405 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.508, allocations: 3.938 kB / 405 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.425e-05/0.5081, allocations: 19.31 kB / 405 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.5083, allocations: 14.92 kB / 405.1 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.5087, allocations: 141.8 kB / 405.2 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.5091, allocations: 0.696 MB / 405.9 MB, free: 18.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.5091, allocations: 18.38 kB / 405.9 MB, free: 18.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.32e-06/0.5091, allocations: 0 / 405.9 MB, free: 18.13 MB / 330.7 MB Notification: Performance of Templates: time 0.00337/0.5125, allocations: 1.635 MB / 407.5 MB, free: 17.3 MB / 330.7 MB