Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,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.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.309e-05, allocations: 4 kB / 273.1 MB, free: 3.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08755, allocations: 48.69 MB / 321.8 MB, free: 2.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4218/0.5094, allocations: 75.78 MB / 397.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002055/0.5097, allocations: 65.09 kB / 397.6 MB, free: 7.301 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01593/0.5256, allocations: 4.328 MB / 402 MB, free: 6.098 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.269e-06/0.5256, allocations: 0 / 402 MB, free: 6.098 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.5257, allocations: 0 / 402 MB, free: 6.098 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.0003778/0.5261, allocations: 438 kB / 402.4 MB, free: 5.656 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.5261, allocations: 7.719 kB / 402.4 MB, free: 5.656 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.704e-05/0.5262, allocations: 15.7 kB / 402.4 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.5264, allocations: 213.5 kB / 402.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.5264, allocations: 3.969 kB / 402.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.5265, allocations: 3.875 kB / 402.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.557e-05/0.5266, allocations: 45.19 kB / 402.7 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.5266, allocations: 0 / 402.7 MB, free: 5.391 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.5266, allocations: 7.938 kB / 402.7 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-06/0.5267, allocations: 0 / 402.7 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.5267, allocations: 15.67 kB / 402.7 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000345/0.5271, allocations: 302.3 kB / 403 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.5273, allocations: 41.28 kB / 403 MB, free: 5.066 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.548e-05/0.5273, allocations: 13.8 kB / 403 MB, free: 5.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.5274, allocations: 4 kB / 403.1 MB, free: 5.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001084/0.5275, allocations: 61.39 kB / 403.1 MB, free: 4.996 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.555e-06/0.5275, allocations: 5.266 kB / 403.1 MB, free: 4.992 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003805/0.5279, allocations: 124.5 kB / 403.2 MB, free: 4.926 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.5279, allocations: 51.41 kB / 403.3 MB, free: 4.863 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.5282, allocations: 225.5 kB / 403.5 MB, free: 4.742 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.5282, allocations: 29.67 kB / 403.5 MB, free: 4.711 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.5283, allocations: 110.7 kB / 403.6 MB, free: 4.621 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.5283, allocations: 19.27 kB / 403.7 MB, free: 4.609 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.782e-06/0.5283, allocations: 3.938 kB / 403.7 MB, free: 4.609 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.5284, allocations: 322.4 kB / 404 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.5285, allocations: 26.7 kB / 404 MB, free: 4.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.16e-05/0.5285, allocations: 23.09 kB / 404 MB, free: 4.289 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.5286, allocations: 48.5 kB / 404.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.619e-06/0.5286, allocations: 0 / 404.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002188/0.5289, allocations: 138.9 kB / 404.2 MB, free: 4.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.5289, allocations: 37.39 kB / 404.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.5289, allocations: 0 / 404.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.529, allocations: 0 / 404.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.773e-05/0.529, allocations: 7.375 kB / 404.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.529, allocations: 0 / 404.3 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.127e-05/0.5291, allocations: 11.17 kB / 404.3 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.5291, allocations: 7.672 kB / 404.3 MB, free: 4.129 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.289e-05/0.5292, allocations: 104.8 kB / 404.4 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.5293, allocations: 19.41 kB / 404.4 MB, free: 4.016 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.5295, allocations: 92.48 kB / 404.5 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.808e-06/0.5295, allocations: 4 kB / 404.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.5295, allocations: 0 / 404.5 MB, free: 3.961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.803e-06/0.5295, allocations: 4.078 kB / 404.5 MB, free: 3.957 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003595/0.5299, allocations: 381.5 kB / 404.9 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.672e-06/0.5299, allocations: 0 / 404.9 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.53, allocations: 11.67 kB / 404.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.491e-06/0.53, allocations: 0 / 404.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.53, allocations: 3.781 kB / 404.9 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.902e-06/0.53, allocations: 7.938 kB / 404.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.53, allocations: 0 / 404.9 MB, free: 3.613 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001725/0.5302, allocations: 177.4 kB / 405.1 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/0.5303, allocations: 100.3 kB / 405.2 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.5303, allocations: 0 / 405.2 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.501e-05/0.5304, allocations: 3.875 kB / 405.2 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.429e-05/0.5305, allocations: 11.77 kB / 405.2 MB, free: 3.359 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.5305, allocations: 4 kB / 405.2 MB, free: 3.355 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.5307, allocations: 188.8 kB / 405.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.5307, allocations: 0 / 405.4 MB, free: 3.262 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000362/0.5311, allocations: 30.97 kB / 405.4 MB, free: 3.258 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.001068/0.5321, allocations: 366.3 kB / 405.8 MB, free: 3.008 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.5324, allocations: 109.4 kB / 405.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5324, allocations: 0 / 405.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.454e-05/0.5325, allocations: 18.91 kB / 405.9 MB, free: 2.941 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.5328, allocations: 15.8 kB / 405.9 MB, free: 2.934 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004128/0.5332, allocations: 190.3 kB / 406.1 MB, free: 2.828 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.5336, allocations: 0.7257 MB / 406.8 MB, free: 18.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.79e-05/0.5337, allocations: 15.72 kB / 406.8 MB, free: 18.11 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.5338, allocations: 15.12 kB / 406.8 MB, free: 18.1 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.5338, allocations: 0 / 406.8 MB, free: 18.1 MB / 330.7 MB Notification: Performance of Templates: time 0.005395/0.5392, allocations: 1.652 MB / 408.5 MB, free: 17.27 MB / 330.7 MB