Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.094/2.094, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.936e-05/4.957e-05, allocations: 4 kB / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09057/0.09064, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4322/0.5229, allocations: 75.73 MB / 397.5 MB, free: 7.434 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002133/0.5232, allocations: 71.36 kB / 397.6 MB, free: 7.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01519/0.5384, allocations: 4.035 MB / 401.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.835e-06/0.5384, allocations: 0 / 401.6 MB, free: 6.344 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.2e-05/0.5384, allocations: 0 / 401.6 MB, free: 6.344 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.0003788/0.5388, allocations: 428.2 kB / 402 MB, free: 5.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.5389, allocations: 7.656 kB / 402.1 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.898e-05/0.5389, allocations: 11.75 kB / 402.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.5392, allocations: 202.5 kB / 402.3 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5392, allocations: 4 kB / 402.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.5392, allocations: 3.688 kB / 402.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.611e-05/0.5393, allocations: 48.17 kB / 402.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.5394, allocations: 0 / 402.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.5394, allocations: 2.688 kB / 402.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-06/0.5394, allocations: 0 / 402.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.26e-05/0.5395, allocations: 19.05 kB / 402.3 MB, free: 5.641 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003382/0.5398, allocations: 294 kB / 402.6 MB, free: 5.355 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.54, allocations: 43.88 kB / 402.7 MB, free: 5.324 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.5401, allocations: 15.92 kB / 402.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.424e-05/0.5401, allocations: 96 / 402.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.5402, allocations: 62.52 kB / 402.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.544e-06/0.5402, allocations: 0 / 402.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003946/0.5406, allocations: 109.4 kB / 402.9 MB, free: 5.199 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.5407, allocations: 59.25 kB / 402.9 MB, free: 5.133 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.5409, allocations: 177.7 kB / 403.1 MB, free: 5.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.5409, allocations: 29.08 kB / 403.1 MB, free: 4.996 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.364e-05/0.541, allocations: 101.9 kB / 403.2 MB, free: 4.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.174e-05/0.541, allocations: 11.12 kB / 403.2 MB, free: 4.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.477e-06/0.541, allocations: 7.812 kB / 403.2 MB, free: 4.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.449e-05/0.5411, allocations: 321.5 kB / 403.5 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.5412, allocations: 21.78 kB / 403.6 MB, free: 4.582 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.259e-05/0.5412, allocations: 24.02 kB / 403.6 MB, free: 4.578 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.791e-05/0.5413, allocations: 70.22 kB / 403.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-06/0.5413, allocations: 0 / 403.7 MB, free: 4.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002264/0.5416, allocations: 126.4 kB / 403.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.175e-05/0.5416, allocations: 37.34 kB / 403.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.662e-06/0.5416, allocations: 0 / 403.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.5417, allocations: 0 / 403.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.744e-05/0.5417, allocations: 7.719 kB / 403.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.709e-06/0.5417, allocations: 0 / 403.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.886e-05/0.5418, allocations: 7.031 kB / 403.8 MB, free: 4.418 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.5418, allocations: 7.797 kB / 403.8 MB, free: 4.414 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.534e-05/0.5419, allocations: 112.8 kB / 403.9 MB, free: 4.301 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.511e-05/0.5419, allocations: 7.781 kB / 404 MB, free: 4.297 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.5422, allocations: 97.42 kB / 404.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-06/0.5422, allocations: 0 / 404.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.893e-06/0.5422, allocations: 0 / 404.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.96e-06/0.5422, allocations: 0 / 404.1 MB, free: 4.246 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003592/0.5426, allocations: 360.5 kB / 404.4 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.94e-06/0.5426, allocations: 8.031 kB / 404.4 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.943e-05/0.5427, allocations: 7.844 kB / 404.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.881e-06/0.5427, allocations: 144 / 404.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.5427, allocations: 3.844 kB / 404.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.52e-06/0.5427, allocations: 0 / 404.4 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.612e-06/0.5427, allocations: 3.984 kB / 404.4 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.5429, allocations: 179.1 kB / 404.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.476e-05/0.543, allocations: 88.83 kB / 404.7 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.543, allocations: 7.438 kB / 404.7 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5431, allocations: 7.828 kB / 404.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.879e-05/0.5432, allocations: 3.844 kB / 404.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.048e-05/0.5432, allocations: 0 / 404.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001335/0.5433, allocations: 158.7 kB / 404.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.5433, allocations: 0 / 404.9 MB, free: 3.562 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003665/0.5437, allocations: 38.92 kB / 404.9 MB, free: 3.551 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.00103/0.5448, allocations: 348 kB / 405.2 MB, free: 3.316 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001954/0.545, allocations: 112 kB / 405.3 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.718e-06/0.545, allocations: 3.844 kB / 405.4 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.526e-05/0.5451, allocations: 15.28 kB / 405.4 MB, free: 3.246 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002687/0.5453, allocations: 23.7 kB / 405.4 MB, free: 3.234 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003725/0.5457, allocations: 155.3 kB / 405.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.5462, allocations: 0.7074 MB / 406.2 MB, free: 18.42 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.138e-05/0.5462, allocations: 11.56 kB / 406.3 MB, free: 18.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.611e-05/0.5463, allocations: 18.27 kB / 406.3 MB, free: 18.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.553e-06/0.5463, allocations: 0 / 406.3 MB, free: 18.41 MB / 330.7 MB Notification: Performance of Templates: time 0.00585/0.5522, allocations: 1.569 MB / 407.8 MB, free: 17.61 MB / 330.7 MB