Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.313/2.313, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.683e-05/3.705e-05, allocations: 7.984 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09296, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3497/0.4427, allocations: 75.75 MB / 397.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.443, allocations: 72.09 kB / 397.6 MB, free: 7.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.4583, allocations: 3.917 MB / 401.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.287e-06/0.4584, allocations: 0 / 401.5 MB, free: 6.484 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.933e-05/0.4584, allocations: 0 / 401.5 MB, free: 6.484 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.0003893/0.4588, allocations: 409.2 kB / 401.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.4589, allocations: 11.38 kB / 401.9 MB, free: 6.062 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.4589, allocations: 11.7 kB / 401.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.4592, allocations: 200.4 kB / 402.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4592, allocations: 3.984 kB / 402.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.4592, allocations: 3.312 kB / 402.1 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.4593, allocations: 44.03 kB / 402.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.4594, allocations: 0 / 402.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4594, allocations: 0 / 402.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.197e-06/0.4594, allocations: 3.875 kB / 402.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.584e-05/0.4595, allocations: 18.98 kB / 402.2 MB, free: 5.797 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.4598, allocations: 291.3 kB / 402.5 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.4601, allocations: 40.41 kB / 402.5 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.753e-05/0.4601, allocations: 16.27 kB / 402.6 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.4601, allocations: 0 / 402.6 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001198/0.4603, allocations: 65.67 kB / 402.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.711e-06/0.4603, allocations: 0 / 402.6 MB, free: 5.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004045/0.4607, allocations: 111.3 kB / 402.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.849e-05/0.4607, allocations: 55.09 kB / 402.8 MB, free: 5.285 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4609, allocations: 158.9 kB / 402.9 MB, free: 5.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.4609, allocations: 25.7 kB / 403 MB, free: 5.148 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.461, allocations: 101.8 kB / 403.1 MB, free: 5.059 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.266e-05/0.461, allocations: 19.11 kB / 403.1 MB, free: 5.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.139e-06/0.461, allocations: 4 kB / 403.1 MB, free: 5.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.4611, allocations: 317.2 kB / 403.4 MB, free: 4.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.229e-05/0.4612, allocations: 26.05 kB / 403.4 MB, free: 4.727 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.236e-05/0.4613, allocations: 20.59 kB / 403.4 MB, free: 4.727 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.034e-05/0.4613, allocations: 62.59 kB / 403.5 MB, free: 4.684 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.718e-06/0.4614, allocations: 0 / 403.5 MB, free: 4.684 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002308/0.4616, allocations: 127.9 kB / 403.6 MB, free: 4.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/0.4616, allocations: 33.56 kB / 403.7 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.94e-06/0.4617, allocations: 3.938 kB / 403.7 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.4617, allocations: 0 / 403.7 MB, free: 4.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.4618, allocations: 11.84 kB / 403.7 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.372e-06/0.4618, allocations: 3.953 kB / 403.7 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.463e-05/0.4619, allocations: 3.875 kB / 403.7 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.4619, allocations: 3.938 kB / 403.7 MB, free: 4.562 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.686e-05/0.462, allocations: 112.1 kB / 403.8 MB, free: 4.453 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.462, allocations: 7.75 kB / 403.8 MB, free: 4.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.4622, allocations: 88.17 kB / 403.9 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.37e-06/0.4623, allocations: 4 kB / 403.9 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-06/0.4623, allocations: 0 / 403.9 MB, free: 4.406 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.308e-06/0.4623, allocations: 3.953 kB / 403.9 MB, free: 4.402 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.4626, allocations: 356.4 kB / 404.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.4627, allocations: 192 / 404.2 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.682e-05/0.4627, allocations: 11.8 kB / 404.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.025e-06/0.4627, allocations: 3.938 kB / 404.3 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.13e-05/0.4628, allocations: 7.062 kB / 404.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.29e-06/0.4628, allocations: 3.953 kB / 404.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.796e-06/0.4628, allocations: 0 / 404.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.463, allocations: 174.7 kB / 404.4 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.463, allocations: 88.84 kB / 404.5 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.4631, allocations: 0 / 404.5 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.4632, allocations: 3.844 kB / 404.5 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.4632, allocations: 14.75 kB / 404.5 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.4632, allocations: 3.844 kB / 404.5 MB, free: 3.809 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.4634, allocations: 129.6 kB / 404.7 MB, free: 3.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4634, allocations: 4 kB / 404.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003747/0.4638, allocations: 34.98 kB / 404.7 MB, free: 3.715 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.001045/0.4648, allocations: 345 kB / 405 MB, free: 3.484 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.4651, allocations: 114.3 kB / 405.2 MB, free: 3.41 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.041e-06/0.4651, allocations: 3.938 kB / 405.2 MB, free: 3.406 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.4651, allocations: 22 kB / 405.2 MB, free: 3.406 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.4655, allocations: 16.2 kB / 405.2 MB, free: 3.402 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.4658, allocations: 133.2 kB / 405.3 MB, free: 3.309 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.4663, allocations: 0.6959 MB / 406 MB, free: 18.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.963e-05/0.4663, allocations: 15.28 kB / 406 MB, free: 18.6 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.464e-05/0.4664, allocations: 15.27 kB / 406.1 MB, free: 18.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.993e-06/0.4664, allocations: 0 / 406.1 MB, free: 18.59 MB / 330.7 MB Notification: Performance of Templates: time 0.004909/0.4713, allocations: 1.526 MB / 407.6 MB, free: 17.81 MB / 330.7 MB