Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 1.791/1.791, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.386e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08474/0.08479, allocations: 48.69 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.4695, allocations: 75.78 MB / 397.5 MB, free: 7.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.4698, allocations: 64.06 kB / 397.6 MB, free: 7.035 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01547/0.4853, allocations: 4.129 MB / 401.7 MB, free: 6 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.157e-06/0.4853, allocations: 0 / 401.7 MB, free: 6 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.4853, allocations: 3.844 kB / 401.7 MB, free: 6 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.0003708/0.4857, allocations: 425 kB / 402.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.4858, allocations: 11.53 kB / 402.2 MB, free: 5.566 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/0.4858, allocations: 7.75 kB / 402.2 MB, free: 5.562 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002051/0.486, allocations: 202.2 kB / 402.4 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.4861, allocations: 7.688 kB / 402.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.4861, allocations: 3.844 kB / 402.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.89e-05/0.4862, allocations: 44.92 kB / 402.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.4862, allocations: 0 / 402.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4863, allocations: 0 / 402.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-06/0.4863, allocations: 0 / 402.4 MB, free: 5.305 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.894e-05/0.4863, allocations: 19 kB / 402.4 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.4867, allocations: 295 kB / 402.7 MB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.4869, allocations: 46.75 kB / 402.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.624e-05/0.487, allocations: 15.97 kB / 402.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.487, allocations: 96 / 402.8 MB, free: 4.969 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/0.4871, allocations: 65.89 kB / 402.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.54e-06/0.4871, allocations: 0 / 402.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003906/0.4875, allocations: 112.4 kB / 403 MB, free: 4.852 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.166e-05/0.4876, allocations: 55.39 kB / 403 MB, free: 4.785 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.4878, allocations: 177 kB / 403.2 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.4878, allocations: 32.89 kB / 403.2 MB, free: 4.648 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.4879, allocations: 157.4 kB / 403.4 MB, free: 4.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.4879, allocations: 19.08 kB / 403.4 MB, free: 4.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-06/0.4879, allocations: 3.938 kB / 403.4 MB, free: 4.484 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.488, allocations: 322.1 kB / 403.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.022e-05/0.488, allocations: 18.38 kB / 403.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.193e-05/0.4881, allocations: 22.42 kB / 403.8 MB, free: 4.164 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.376e-05/0.4882, allocations: 58.91 kB / 403.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.857e-06/0.4882, allocations: 0 / 403.8 MB, free: 4.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002065/0.4884, allocations: 121.3 kB / 403.9 MB, free: 4.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.4885, allocations: 36.62 kB / 404 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.613e-06/0.4885, allocations: 0 / 404 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.4885, allocations: 3.844 kB / 404 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.18e-05/0.4886, allocations: 11.69 kB / 404 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.384e-06/0.4886, allocations: 0 / 404 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.868e-05/0.4887, allocations: 3.844 kB / 404 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.4887, allocations: 3.953 kB / 404 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 5.588e-05/0.4888, allocations: 111.6 kB / 404.1 MB, free: 3.902 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.4888, allocations: 19.64 kB / 404.1 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.489, allocations: 87.92 kB / 404.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.489, allocations: 3.844 kB / 404.2 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.36e-06/0.489, allocations: 4 kB / 404.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-06/0.4891, allocations: 0 / 404.2 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.4894, allocations: 360.5 kB / 404.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.598e-06/0.4894, allocations: 7.938 kB / 404.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.4895, allocations: 7.688 kB / 404.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.601e-06/0.4895, allocations: 0 / 404.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4895, allocations: 0 / 404.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.54e-06/0.4895, allocations: 3.938 kB / 404.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.748e-06/0.4895, allocations: 3.938 kB / 404.6 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.4897, allocations: 179.4 kB / 404.8 MB, free: 3.355 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.4899, allocations: 88.67 kB / 404.8 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.49, allocations: 0 / 404.8 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.787e-05/0.4901, allocations: 11.67 kB / 404.9 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.346e-05/0.4901, allocations: 0 / 404.9 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4901, allocations: 3.906 kB / 404.9 MB, free: 19.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001521/0.4903, allocations: 153.9 kB / 405 MB, free: 19.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.4903, allocations: 4 kB / 405 MB, free: 19.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000363/0.4907, allocations: 42.77 kB / 405.1 MB, free: 19.14 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.00109/0.4918, allocations: 350.9 kB / 405.4 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.492, allocations: 115.6 kB / 405.5 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.694e-06/0.492, allocations: 0 / 405.5 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.349e-05/0.4921, allocations: 19.28 kB / 405.5 MB, free: 18.83 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.4924, allocations: 15.14 kB / 405.5 MB, free: 18.83 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.4928, allocations: 189.3 kB / 405.7 MB, free: 18.69 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.4932, allocations: 0.7028 MB / 406.4 MB, free: 17.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.591e-05/0.4932, allocations: 19.11 kB / 406.5 MB, free: 17.97 MB / 330.7 MB Notification: Performance of SimCode: time 1.306e-06/0.4933, allocations: 4 kB / 406.5 MB, free: 17.97 MB / 330.7 MB Notification: Performance of Templates: time 0.003662/0.4969, allocations: 1.769 MB / 408.2 MB, free: 17.08 MB / 330.7 MB