Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 1.932/1.932, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.731e-05/3.745e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08935/0.08941, allocations: 48.7 MB / 321.8 MB, free: 2.855 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/0.4357, allocations: 75.79 MB / 397.5 MB, free: 7.078 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/0.4359, allocations: 73.97 kB / 397.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01605/0.452, allocations: 4.327 MB / 401.9 MB, free: 5.961 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.452, allocations: 0 / 401.9 MB, free: 5.961 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.4521, allocations: 3.969 kB / 401.9 MB, free: 5.961 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.0004096/0.4525, allocations: 430.3 kB / 402.4 MB, free: 5.523 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.4525, allocations: 11.53 kB / 402.4 MB, free: 5.523 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.4526, allocations: 7.75 kB / 402.4 MB, free: 5.52 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002345/0.4528, allocations: 217.1 kB / 402.6 MB, free: 5.301 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4529, allocations: 4 kB / 402.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.674e-05/0.4529, allocations: 7.828 kB / 402.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.764e-05/0.453, allocations: 48.72 kB / 402.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.453, allocations: 0 / 402.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4531, allocations: 0 / 402.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-06/0.4531, allocations: 0 / 402.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.416e-05/0.4531, allocations: 19.3 kB / 402.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003606/0.4535, allocations: 303 kB / 403 MB, free: 4.957 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4537, allocations: 49.28 kB / 403 MB, free: 4.926 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.393e-05/0.4538, allocations: 8.703 kB / 403 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/0.4538, allocations: 3.562 kB / 403 MB, free: 4.918 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.4539, allocations: 63.42 kB / 403.1 MB, free: 4.859 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.573e-06/0.454, allocations: 0 / 403.1 MB, free: 4.859 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004141/0.4544, allocations: 115 kB / 403.2 MB, free: 4.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.472e-05/0.4544, allocations: 55.41 kB / 403.3 MB, free: 4.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.4547, allocations: 223.6 kB / 403.5 MB, free: 4.613 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4547, allocations: 30.89 kB / 403.5 MB, free: 4.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.4548, allocations: 164.5 kB / 403.7 MB, free: 4.434 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.448e-05/0.4548, allocations: 22.69 kB / 403.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.636e-06/0.4548, allocations: 1.219 kB / 403.7 MB, free: 4.422 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.811e-05/0.4549, allocations: 316 kB / 404 MB, free: 4.109 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.596e-05/0.455, allocations: 24.66 kB / 404 MB, free: 4.105 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.513e-05/0.455, allocations: 21 kB / 404 MB, free: 4.102 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.245e-05/0.4551, allocations: 55.5 kB / 404.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-06/0.4551, allocations: 0 / 404.1 MB, free: 4.066 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002242/0.4554, allocations: 121.7 kB / 404.2 MB, free: 3.996 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.4554, allocations: 37.36 kB / 404.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.137e-06/0.4554, allocations: 0 / 404.3 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.4555, allocations: 4.031 kB / 404.3 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.559e-05/0.4555, allocations: 15.64 kB / 404.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.739e-06/0.4556, allocations: 0 / 404.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.575e-05/0.4556, allocations: 7.156 kB / 404.3 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.4557, allocations: 11.83 kB / 404.3 MB, free: 3.941 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.34e-05/0.4557, allocations: 105.1 kB / 404.4 MB, free: 3.832 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4558, allocations: 19.67 kB / 404.4 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.456, allocations: 94.69 kB / 404.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.556e-06/0.456, allocations: 0 / 404.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.752e-06/0.4561, allocations: 3.906 kB / 404.5 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.013e-06/0.4561, allocations: 3.938 kB / 404.5 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004034/0.4565, allocations: 379.1 kB / 404.9 MB, free: 3.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-06/0.4565, allocations: 4 kB / 404.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.068e-05/0.4566, allocations: 7.719 kB / 404.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.758e-06/0.4566, allocations: 0 / 404.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4566, allocations: 3.25 kB / 404.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.666e-06/0.4566, allocations: 3.812 kB / 404.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.027e-06/0.4566, allocations: 0 / 404.9 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.4569, allocations: 186.1 kB / 405.1 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/0.457, allocations: 88.83 kB / 405.2 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.4571, allocations: 7.438 kB / 405.2 MB, free: 19.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.4572, allocations: 7.859 kB / 405.2 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.4572, allocations: 3.844 kB / 405.2 MB, free: 19.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4573, allocations: 0 / 405.2 MB, free: 19.17 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.4575, allocations: 188.7 kB / 405.4 MB, free: 19.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.29e-07/0.4575, allocations: 0 / 405.4 MB, free: 19.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.4579, allocations: 38.2 kB / 405.4 MB, free: 19.07 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.4589, allocations: 349.4 kB / 405.8 MB, free: 18.83 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4592, allocations: 117.2 kB / 405.9 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.087e-06/0.4592, allocations: 3.938 kB / 405.9 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.481e-05/0.4593, allocations: 14.94 kB / 405.9 MB, free: 18.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.4596, allocations: 18.98 kB / 405.9 MB, free: 18.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.46, allocations: 220.4 kB / 406.1 MB, free: 18.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4604, allocations: 0.7137 MB / 406.8 MB, free: 17.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.999e-05/0.4605, allocations: 19.08 kB / 406.9 MB, free: 17.89 MB / 330.7 MB Notification: Performance of SimCode: time 1.628e-06/0.4605, allocations: 0 / 406.9 MB, free: 17.89 MB / 330.7 MB Notification: Performance of Templates: time 0.003793/0.4643, allocations: 1.927 MB / 408.8 MB, free: 16.92 MB / 330.7 MB