Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.78/1.78, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.084e-05, allocations: 4 kB / 273.1 MB, free: 3.652 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.084, allocations: 48.69 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3346/0.4186, allocations: 75.78 MB / 397.5 MB, free: 7.148 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.4189, allocations: 68.06 kB / 397.6 MB, free: 7.145 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01504/0.4339, allocations: 4.13 MB / 401.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.578e-06/0.434, allocations: 0 / 401.7 MB, free: 6.117 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.434, allocations: 3.844 kB / 401.7 MB, free: 6.117 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.0003656/0.4344, allocations: 422.8 kB / 402.1 MB, free: 5.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.4344, allocations: 15.47 kB / 402.2 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.355e-05/0.4345, allocations: 7.75 kB / 402.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.4347, allocations: 207.3 kB / 402.4 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.4347, allocations: 7.828 kB / 402.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.4348, allocations: 3.812 kB / 402.4 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.4349, allocations: 45.48 kB / 402.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4349, allocations: 0 / 402.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.4349, allocations: 0 / 402.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.435, allocations: 4 kB / 402.4 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.308e-05/0.435, allocations: 11.62 kB / 402.4 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.4354, allocations: 302.3 kB / 402.7 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001898/0.4356, allocations: 37.62 kB / 402.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.4356, allocations: 16.58 kB / 402.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.4356, allocations: 0 / 402.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001125/0.4358, allocations: 63.2 kB / 402.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.316e-06/0.4358, allocations: 0 / 402.9 MB, free: 5.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003646/0.4362, allocations: 111 kB / 403 MB, free: 4.969 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.4362, allocations: 55.31 kB / 403 MB, free: 4.906 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.4364, allocations: 183.2 kB / 403.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.474e-05/0.4364, allocations: 29.64 kB / 403.2 MB, free: 4.762 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.288e-05/0.4365, allocations: 162.3 kB / 403.4 MB, free: 4.613 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.182e-05/0.4365, allocations: 19.52 kB / 403.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.626e-06/0.4365, allocations: 4 kB / 403.4 MB, free: 4.598 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.744e-05/0.4366, allocations: 314.7 kB / 403.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.83e-05/0.4367, allocations: 22.77 kB / 403.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.148e-05/0.4367, allocations: 23.19 kB / 403.8 MB, free: 4.285 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8e-05/0.4368, allocations: 60.69 kB / 403.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-06/0.4368, allocations: 0 / 403.8 MB, free: 4.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002154/0.437, allocations: 117.1 kB / 403.9 MB, free: 4.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.882e-05/0.4371, allocations: 37.2 kB / 404 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.846e-06/0.4371, allocations: 0 / 404 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4371, allocations: 4 kB / 404 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.84e-05/0.4372, allocations: 11.7 kB / 404 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.636e-06/0.4372, allocations: 4 kB / 404 MB, free: 4.129 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.771e-05/0.4373, allocations: 7.844 kB / 404 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.4373, allocations: 7.797 kB / 404 MB, free: 4.121 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.352e-05/0.4374, allocations: 112.7 kB / 404.1 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.635e-05/0.4374, allocations: 11.66 kB / 404.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.4376, allocations: 91.88 kB / 404.2 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-06/0.4377, allocations: 4 kB / 404.2 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.179e-06/0.4377, allocations: 0 / 404.2 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.065e-06/0.4377, allocations: 0 / 404.2 MB, free: 3.953 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.438, allocations: 359.1 kB / 404.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.802e-06/0.438, allocations: 0 / 404.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.4381, allocations: 7.75 kB / 404.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.35e-06/0.4381, allocations: 3.938 kB / 404.6 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.4381, allocations: 3.844 kB / 404.6 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.724e-06/0.4381, allocations: 0 / 404.6 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-06/0.4381, allocations: 4 kB / 404.6 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.4384, allocations: 177.6 kB / 404.8 MB, free: 19.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.476e-05/0.4385, allocations: 92.69 kB / 404.9 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.786e-05/0.4386, allocations: 3.938 kB / 404.9 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.4387, allocations: 7.781 kB / 404.9 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.4387, allocations: 7.828 kB / 404.9 MB, free: 19.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.4388, allocations: 0 / 404.9 MB, free: 19.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001696/0.4389, allocations: 160.4 kB / 405 MB, free: 19.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.23e-07/0.439, allocations: 0 / 405 MB, free: 19.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003618/0.4393, allocations: 39.44 kB / 405.1 MB, free: 19.25 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.00105/0.4404, allocations: 357.2 kB / 405.4 MB, free: 19.01 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.4406, allocations: 117 kB / 405.5 MB, free: 18.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.449e-06/0.4406, allocations: 0 / 405.5 MB, free: 18.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.255e-05/0.4407, allocations: 15.44 kB / 405.5 MB, free: 18.94 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.441, allocations: 15.42 kB / 405.6 MB, free: 18.93 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003723/0.4414, allocations: 183.7 kB / 405.7 MB, free: 18.8 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.4417, allocations: 0.7033 MB / 406.4 MB, free: 18.09 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.349e-05/0.4418, allocations: 19.16 kB / 406.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.366e-06/0.4418, allocations: 0 / 406.5 MB, free: 18.08 MB / 330.7 MB Notification: Performance of Templates: time 0.003606/0.4454, allocations: 1.775 MB / 408.2 MB, free: 17.18 MB / 330.7 MB