Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.792/1.792, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.795e-05/5.807e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.08703, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4008/0.4879, allocations: 75.74 MB / 397.5 MB, free: 6.938 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000197/0.4881, allocations: 75.75 kB / 397.6 MB, free: 6.934 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01426/0.5024, allocations: 3.902 MB / 401.5 MB, free: 5.996 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.186e-06/0.5024, allocations: 0 / 401.5 MB, free: 5.996 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.5025, allocations: 3.688 kB / 401.5 MB, free: 5.996 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.000342/0.5028, allocations: 418.2 kB / 401.9 MB, free: 5.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.5029, allocations: 11.72 kB / 401.9 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.5029, allocations: 7.781 kB / 401.9 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.5031, allocations: 194.3 kB / 402.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.5032, allocations: 7.688 kB / 402.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.267e-05/0.5032, allocations: 0 / 402.1 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.637e-05/0.5033, allocations: 49.3 kB / 402.2 MB, free: 5.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5033, allocations: 3.938 kB / 402.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.5033, allocations: 0 / 402.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.781e-06/0.5034, allocations: 0 / 402.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.235e-05/0.5034, allocations: 11.5 kB / 402.2 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003152/0.5038, allocations: 298.8 kB / 402.5 MB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.504, allocations: 44.97 kB / 402.5 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/0.504, allocations: 8.703 kB / 402.5 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.504, allocations: 0 / 402.5 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.5041, allocations: 74.89 kB / 402.6 MB, free: 4.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.334e-06/0.5042, allocations: 0 / 402.6 MB, free: 4.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003571/0.5045, allocations: 106.5 kB / 402.7 MB, free: 4.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.491e-05/0.5046, allocations: 55.25 kB / 402.7 MB, free: 4.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.5047, allocations: 157.4 kB / 402.9 MB, free: 4.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.5048, allocations: 29.64 kB / 402.9 MB, free: 4.652 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/0.5048, allocations: 173.6 kB / 403.1 MB, free: 4.496 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/0.5048, allocations: 11.69 kB / 403.1 MB, free: 4.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.5049, allocations: 3.969 kB / 403.1 MB, free: 4.488 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.569e-05/0.5049, allocations: 314.8 kB / 403.4 MB, free: 4.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.978e-05/0.505, allocations: 18.41 kB / 403.4 MB, free: 4.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.192e-05/0.5051, allocations: 27.11 kB / 403.5 MB, free: 4.168 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.505e-05/0.5051, allocations: 56.38 kB / 403.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.792e-06/0.5052, allocations: 0 / 403.5 MB, free: 4.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002039/0.5054, allocations: 116.6 kB / 403.6 MB, free: 4.062 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.5054, allocations: 45.25 kB / 403.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.74e-06/0.5054, allocations: 0 / 403.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.5054, allocations: 0 / 403.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.736e-05/0.5055, allocations: 7.844 kB / 403.7 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.5055, allocations: 11.95 kB / 403.7 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.612e-05/0.5056, allocations: 3.844 kB / 403.7 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.5056, allocations: 3.844 kB / 403.7 MB, free: 4.012 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 4.97e-05/0.5057, allocations: 104.9 kB / 403.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.5057, allocations: 15.64 kB / 403.8 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.5059, allocations: 87.92 kB / 403.9 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.338e-06/0.506, allocations: 96 / 403.9 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.354e-06/0.506, allocations: 7.938 kB / 403.9 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.947e-06/0.506, allocations: 7.797 kB / 403.9 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.5063, allocations: 351.2 kB / 404.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.576e-06/0.5063, allocations: 0 / 404.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.5064, allocations: 3.812 kB / 404.3 MB, free: 3.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.316e-06/0.5064, allocations: 7.859 kB / 404.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.372e-06/0.5064, allocations: 0 / 404.3 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.947e-06/0.5064, allocations: 3.953 kB / 404.3 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.793e-06/0.5064, allocations: 3.938 kB / 404.3 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.5066, allocations: 169.9 kB / 404.5 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.5068, allocations: 92.69 kB / 404.5 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.5068, allocations: 3.875 kB / 404.5 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.103e-05/0.507, allocations: 3.844 kB / 404.6 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.131e-05/0.507, allocations: 3.953 kB / 404.6 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.507, allocations: 7.797 kB / 404.6 MB, free: 19.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001271/0.5072, allocations: 129.3 kB / 404.7 MB, free: 19.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5072, allocations: 0 / 404.7 MB, free: 19.18 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003496/0.5075, allocations: 42.7 kB / 404.7 MB, free: 19.16 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.001024/0.5086, allocations: 354 kB / 405.1 MB, free: 18.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.5088, allocations: 113.6 kB / 405.2 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.76e-06/0.5088, allocations: 3.938 kB / 405.2 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.412e-05/0.5089, allocations: 19.06 kB / 405.2 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.5091, allocations: 11.7 kB / 405.2 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006637/0.5098, allocations: 168.6 kB / 405.4 MB, free: 18.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006822/0.5105, allocations: 0.6961 MB / 406.1 MB, free: 18.01 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.649e-05/0.5107, allocations: 15.12 kB / 406.1 MB, free: 18 MB / 330.7 MB Notification: Performance of SimCode: time 2.461e-06/0.5107, allocations: 4 kB / 406.1 MB, free: 18 MB / 330.7 MB Notification: Performance of Templates: time 0.00732/0.518, allocations: 1.707 MB / 407.8 MB, free: 17.13 MB / 330.7 MB