Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.045/2.045, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.483e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.08988, allocations: 48.69 MB / 321.8 MB, free: 2.383 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.491, allocations: 75.78 MB / 397.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.4912, allocations: 71.09 kB / 397.6 MB, free: 7.449 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02121/0.5125, allocations: 4.01 MB / 401.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.754e-06/0.5125, allocations: 0 / 401.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.86e-05/0.5126, allocations: 0 / 401.7 MB, free: 6.363 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.0004725/0.5131, allocations: 410.8 kB / 402.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.5131, allocations: 11.53 kB / 402.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.444e-05/0.5132, allocations: 11.62 kB / 402.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002117/0.5134, allocations: 194.1 kB / 402.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5135, allocations: 0 / 402.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.228e-05/0.5135, allocations: 11.91 kB / 402.3 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.5136, allocations: 45.33 kB / 402.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.5136, allocations: 0 / 402.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.5136, allocations: 3.984 kB / 402.3 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-06/0.5137, allocations: 0 / 402.3 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.797e-05/0.5137, allocations: 15.41 kB / 402.3 MB, free: 5.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003388/0.5141, allocations: 294.3 kB / 402.6 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.5143, allocations: 50.16 kB / 402.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.5144, allocations: 12.14 kB / 402.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.609e-05/0.5144, allocations: 3.844 kB / 402.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000115/0.5145, allocations: 50.78 kB / 402.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.937e-06/0.5145, allocations: 0 / 402.7 MB, free: 5.289 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004052/0.5149, allocations: 118.6 kB / 402.9 MB, free: 5.227 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.515, allocations: 51.41 kB / 402.9 MB, free: 5.164 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000164/0.5152, allocations: 159.1 kB / 403.1 MB, free: 5.059 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.5152, allocations: 26.95 kB / 403.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.5153, allocations: 100.9 kB / 403.2 MB, free: 4.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.507e-05/0.5153, allocations: 17.97 kB / 403.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.128e-06/0.5153, allocations: 1.25 kB / 403.2 MB, free: 4.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.737e-05/0.5154, allocations: 321.1 kB / 403.5 MB, free: 4.613 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.724e-05/0.5155, allocations: 28.53 kB / 403.5 MB, free: 4.605 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.684e-05/0.5155, allocations: 21.41 kB / 403.6 MB, free: 4.605 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.09e-05/0.5156, allocations: 52.91 kB / 403.6 MB, free: 4.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.942e-06/0.5156, allocations: 4 kB / 403.6 MB, free: 4.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002293/0.5159, allocations: 132.3 kB / 403.8 MB, free: 4.488 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.5159, allocations: 37.33 kB / 403.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.516, allocations: 0 / 403.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.516, allocations: 0 / 403.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.444e-05/0.5161, allocations: 11.67 kB / 403.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.476e-06/0.5161, allocations: 3.953 kB / 403.8 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.833e-05/0.5162, allocations: 7.781 kB / 403.8 MB, free: 4.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.5162, allocations: 3.844 kB / 403.8 MB, free: 4.445 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 6.074e-05/0.5163, allocations: 108.8 kB / 403.9 MB, free: 4.336 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.506e-05/0.5163, allocations: 7.719 kB / 403.9 MB, free: 4.332 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002238/0.5165, allocations: 87.2 kB / 404 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.5166, allocations: 3.969 kB / 404 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.5166, allocations: 3.984 kB / 404 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.014e-06/0.5166, allocations: 3.953 kB / 404 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.517, allocations: 346.4 kB / 404.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-06/0.517, allocations: 192 / 404.4 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.855e-05/0.517, allocations: 19.5 kB / 404.4 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.861e-06/0.5171, allocations: 0 / 404.4 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.5171, allocations: 0 / 404.4 MB, free: 3.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.034e-06/0.5171, allocations: 7.797 kB / 404.4 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.977e-06/0.5171, allocations: 0 / 404.4 MB, free: 3.945 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.5173, allocations: 172 kB / 404.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.5173, allocations: 92.61 kB / 404.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.5174, allocations: 144 / 404.6 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.642e-05/0.5175, allocations: 11.86 kB / 404.7 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.1e-05/0.5175, allocations: 11.72 kB / 404.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.205e-05/0.5176, allocations: 3.812 kB / 404.7 MB, free: 3.688 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001084/0.5177, allocations: 133.2 kB / 404.8 MB, free: 3.605 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.5177, allocations: 0 / 404.8 MB, free: 3.605 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.5181, allocations: 30.72 kB / 404.8 MB, free: 3.598 MB / 314.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.001036/0.5191, allocations: 352.2 kB / 405.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002032/0.5194, allocations: 104.9 kB / 405.3 MB, free: 3.297 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.539e-06/0.5194, allocations: 7.75 kB / 405.3 MB, free: 3.293 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.413e-05/0.5194, allocations: 19.53 kB / 405.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.5197, allocations: 15.8 kB / 405.3 MB, free: 3.285 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.5201, allocations: 135.6 kB / 405.5 MB, free: 3.188 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5205, allocations: 0.6959 MB / 406.2 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.51e-05/0.5206, allocations: 15.67 kB / 406.2 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.5207, allocations: 14.91 kB / 406.2 MB, free: 18.47 MB / 330.7 MB Notification: Performance of SimCode: time 1.867e-06/0.5207, allocations: 0 / 406.2 MB, free: 18.47 MB / 330.7 MB Notification: Performance of Templates: time 0.004918/0.5256, allocations: 1.52 MB / 407.7 MB, free: 17.7 MB / 330.7 MB