Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 1.961/1.961, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.964e-05/3.986e-05, allocations: 4 kB / 273.1 MB, free: 236 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09174/0.09181, allocations: 48.7 MB / 321.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.347/0.4389, allocations: 75.74 MB / 397.5 MB, free: 13.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002092/0.4392, allocations: 74.97 kB / 397.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01793/0.4571, allocations: 3.949 MB / 401.6 MB, free: 9.809 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.4572, allocations: 3.938 kB / 401.6 MB, free: 9.805 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.4572, allocations: 0 / 401.6 MB, free: 9.805 MB / 330.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.000583/0.4578, allocations: 423.8 kB / 402 MB, free: 9.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4578, allocations: 12.03 kB / 402 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.395e-05/0.4579, allocations: 15.89 kB / 402 MB, free: 9.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.4582, allocations: 191.5 kB / 402.2 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.4583, allocations: 3.984 kB / 402.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.4583, allocations: 8 kB / 402.2 MB, free: 9.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4584, allocations: 45.62 kB / 402.2 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.4584, allocations: 0 / 402.2 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4585, allocations: 0 / 402.2 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.731e-06/0.4585, allocations: 0 / 402.2 MB, free: 9.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.4586, allocations: 19.98 kB / 402.3 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.4591, allocations: 288.9 kB / 402.5 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.4593, allocations: 46.5 kB / 402.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.325e-05/0.4594, allocations: 13.3 kB / 402.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.4594, allocations: 96 / 402.6 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001412/0.4595, allocations: 63.38 kB / 402.7 MB, free: 8.523 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.464e-06/0.4596, allocations: 4 kB / 402.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.000454/0.46, allocations: 113.2 kB / 402.8 MB, free: 8.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.4601, allocations: 63.34 kB / 402.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.4603, allocations: 163.5 kB / 403 MB, free: 8.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.4604, allocations: 29.7 kB / 403 MB, free: 8.125 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.4605, allocations: 104 kB / 403.1 MB, free: 8.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.4605, allocations: 7.906 kB / 403.1 MB, free: 8.012 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.076e-06/0.4605, allocations: 0 / 403.1 MB, free: 8.012 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4607, allocations: 322.8 kB / 403.5 MB, free: 7.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.4608, allocations: 24 kB / 403.5 MB, free: 7.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.184e-05/0.4609, allocations: 23.94 kB / 403.5 MB, free: 7.641 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.461, allocations: 57.69 kB / 403.6 MB, free: 7.578 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-06/0.461, allocations: 3.938 kB / 403.6 MB, free: 7.574 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003351/0.4614, allocations: 135.1 kB / 403.7 MB, free: 7.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.137e-05/0.4614, allocations: 33.7 kB / 403.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.4615, allocations: 0 / 403.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.4615, allocations: 0 / 403.7 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4616, allocations: 11.98 kB / 403.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.4617, allocations: 0 / 403.7 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.4618, allocations: 15.89 kB / 403.8 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.714e-05/0.4619, allocations: 4 kB / 403.8 MB, free: 7.359 MB / 330.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 0.0001444/0.462, allocations: 109 kB / 403.9 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.962e-05/0.4621, allocations: 7.906 kB / 403.9 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004023/0.4625, allocations: 89.7 kB / 404 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4626, allocations: 7.984 kB / 404 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.4626, allocations: 128 / 404 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.046e-06/0.4626, allocations: 0 / 404 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007586/0.4634, allocations: 358.5 kB / 404.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.785e-06/0.4634, allocations: 0 / 404.3 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/0.4635, allocations: 11.94 kB / 404.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.499e-06/0.4636, allocations: 0 / 404.3 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/0.4636, allocations: 3.984 kB / 404.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.4636, allocations: 0 / 404.3 MB, free: 6.719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.206e-06/0.4636, allocations: 3.953 kB / 404.3 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004049/0.4641, allocations: 171.5 kB / 404.5 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.4642, allocations: 96.91 kB / 404.6 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.422e-05/0.4643, allocations: 4.094 kB / 404.6 MB, free: 6.414 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001882/0.4645, allocations: 7.938 kB / 404.6 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.4646, allocations: 3.953 kB / 404.6 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/0.4646, allocations: 7.984 kB / 404.6 MB, free: 6.395 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002917/0.4649, allocations: 134.7 kB / 404.8 MB, free: 6.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.263e-06/0.4649, allocations: 0 / 404.8 MB, free: 6.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007729/0.4657, allocations: 43.92 kB / 404.8 MB, free: 6.223 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.00172/0.4675, allocations: 348.6 kB / 405.1 MB, free: 5.93 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003842/0.4679, allocations: 115.3 kB / 405.3 MB, free: 5.805 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.313e-06/0.4679, allocations: 4 kB / 405.3 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.468, allocations: 23.94 kB / 405.3 MB, free: 5.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000471/0.4685, allocations: 11.98 kB / 405.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.4692, allocations: 142 kB / 405.4 MB, free: 5.605 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005686/0.4698, allocations: 0.7076 MB / 406.1 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000108/0.4699, allocations: 12 kB / 406.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.756e-05/0.47, allocations: 11.44 kB / 406.2 MB, free: 4.852 MB / 330.7 MB Notification: Performance of SimCode: time 2.242e-06/0.47, allocations: 4 kB / 406.2 MB, free: 4.848 MB / 330.7 MB Notification: Performance of Templates: time 0.008576/0.4786, allocations: 1.542 MB / 407.7 MB, free: 3.309 MB / 330.7 MB