Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.121e-05/3.131e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08671/0.08676, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4317, allocations: 75.79 MB / 397.5 MB, free: 6.996 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.432, allocations: 66.59 kB / 397.6 MB, free: 6.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01572/0.4477, allocations: 4.355 MB / 402 MB, free: 5.875 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.081e-06/0.4478, allocations: 0 / 402 MB, free: 5.875 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.4478, allocations: 0 / 402 MB, free: 5.875 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.0003877/0.4482, allocations: 449.8 kB / 402.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.4482, allocations: 11.56 kB / 402.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.4483, allocations: 11.78 kB / 402.4 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.4485, allocations: 210.2 kB / 402.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.493e-05/0.4486, allocations: 0 / 402.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.4486, allocations: 3.844 kB / 402.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.487e-05/0.4487, allocations: 45.09 kB / 402.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4487, allocations: 0 / 402.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4488, allocations: 3.938 kB / 402.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.941e-06/0.4488, allocations: 4 kB / 402.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.4488, allocations: 15.48 kB / 402.7 MB, free: 5.152 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003532/0.4492, allocations: 306.5 kB / 403 MB, free: 4.859 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.4494, allocations: 41.3 kB / 403 MB, free: 4.836 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.389e-05/0.4495, allocations: 12.78 kB / 403.1 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.4495, allocations: 7.672 kB / 403.1 MB, free: 4.824 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001096/0.4496, allocations: 67.06 kB / 403.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.468e-06/0.4496, allocations: 0 / 403.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003869/0.45, allocations: 118 kB / 403.2 MB, free: 4.703 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.2e-05/0.4501, allocations: 51.41 kB / 403.3 MB, free: 4.641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.4504, allocations: 236.1 kB / 403.5 MB, free: 4.523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.4504, allocations: 29.33 kB / 403.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.4505, allocations: 181.3 kB / 403.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.275e-05/0.4505, allocations: 15.86 kB / 403.7 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.4505, allocations: 7.688 kB / 403.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.4506, allocations: 310.8 kB / 404.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.4506, allocations: 23.09 kB / 404.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.914e-05/0.4507, allocations: 19.31 kB / 404.1 MB, free: 4.004 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.403e-05/0.4508, allocations: 52.69 kB / 404.2 MB, free: 3.969 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.627e-06/0.4508, allocations: 0 / 404.2 MB, free: 3.969 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002068/0.451, allocations: 129.1 kB / 404.3 MB, free: 3.891 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.4511, allocations: 37.33 kB / 404.3 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.053e-06/0.4511, allocations: 0 / 404.3 MB, free: 3.855 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.4511, allocations: 4.141 kB / 404.3 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.418e-05/0.4512, allocations: 11.8 kB / 404.3 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.057e-06/0.4512, allocations: 0 / 404.3 MB, free: 3.848 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.504e-05/0.4513, allocations: 7.828 kB / 404.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.4513, allocations: 11.77 kB / 404.3 MB, free: 3.84 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.478e-05/0.4514, allocations: 108.8 kB / 404.5 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.4514, allocations: 7.875 kB / 404.5 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.4516, allocations: 108.5 kB / 404.6 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.899e-06/0.4516, allocations: 4 kB / 404.6 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.655e-06/0.4517, allocations: 0 / 404.6 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.116e-06/0.4517, allocations: 0 / 404.6 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003784/0.4521, allocations: 378.1 kB / 404.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-06/0.4521, allocations: 0 / 404.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.611e-05/0.4521, allocations: 7.688 kB / 404.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.364e-06/0.4522, allocations: 0 / 404.9 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4522, allocations: 3.844 kB / 405 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.352e-06/0.4522, allocations: 96 / 405 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.546e-06/0.4522, allocations: 7.938 kB / 405 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.4524, allocations: 179.8 kB / 405.1 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/0.4526, allocations: 102.3 kB / 405.2 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.4526, allocations: 1.281 kB / 405.2 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.898e-05/0.4527, allocations: 2.594 kB / 405.2 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.348e-05/0.4528, allocations: 6.531 kB / 405.2 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4528, allocations: 2.594 kB / 405.2 MB, free: 19.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002185/0.453, allocations: 195.5 kB / 405.4 MB, free: 18.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.4531, allocations: 0 / 405.4 MB, free: 18.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.4534, allocations: 46.25 kB / 405.5 MB, free: 18.96 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.4545, allocations: 358 kB / 405.8 MB, free: 18.72 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4547, allocations: 108.8 kB / 405.9 MB, free: 18.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.56e-06/0.4547, allocations: 3.938 kB / 405.9 MB, free: 18.65 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.4548, allocations: 19.16 kB / 406 MB, free: 18.65 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.4551, allocations: 19.36 kB / 406 MB, free: 18.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004616/0.4556, allocations: 227.4 kB / 406.2 MB, free: 18.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.456, allocations: 0.7227 MB / 406.9 MB, free: 17.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.16e-05/0.4561, allocations: 18.8 kB / 406.9 MB, free: 17.77 MB / 330.7 MB Notification: Performance of SimCode: time 1.694e-06/0.4561, allocations: 0 / 406.9 MB, free: 17.77 MB / 330.7 MB Notification: Performance of Templates: time 0.003918/0.46, allocations: 1.955 MB / 408.9 MB, free: 16.79 MB / 330.7 MB