Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.355e-05/3.366e-05, allocations: 4 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08465, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3725/0.4572, allocations: 75.77 MB / 397.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.4575, allocations: 67.69 kB / 397.6 MB, free: 7.371 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01826/0.4757, allocations: 4.135 MB / 401.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.208e-06/0.4758, allocations: 0 / 401.8 MB, free: 6.238 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.096e-05/0.4758, allocations: 3.844 kB / 401.8 MB, free: 6.238 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.0005208/0.4764, allocations: 425.7 kB / 402.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4765, allocations: 11.59 kB / 402.2 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.572e-05/0.4765, allocations: 10.5 kB / 402.2 MB, free: 5.801 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.4769, allocations: 198.4 kB / 402.4 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.645e-05/0.4769, allocations: 10.78 kB / 402.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.477, allocations: 3.844 kB / 402.4 MB, free: 5.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.4772, allocations: 44.8 kB / 402.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.4772, allocations: 0 / 402.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.4772, allocations: 0 / 402.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.828e-06/0.4772, allocations: 0 / 402.5 MB, free: 5.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.182e-05/0.4774, allocations: 22.7 kB / 402.5 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005095/0.4779, allocations: 289.7 kB / 402.8 MB, free: 5.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002925/0.4782, allocations: 48.38 kB / 402.8 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.4783, allocations: 11.83 kB / 402.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.979e-05/0.4783, allocations: 96 / 402.8 MB, free: 5.211 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.4785, allocations: 62.08 kB / 402.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.46e-06/0.4785, allocations: 0 / 402.9 MB, free: 5.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006365/0.4792, allocations: 115.6 kB / 403 MB, free: 5.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.4792, allocations: 58.91 kB / 403 MB, free: 5.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/0.4796, allocations: 176 kB / 403.2 MB, free: 4.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.4796, allocations: 32.64 kB / 403.3 MB, free: 4.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.493e-05/0.4797, allocations: 97.53 kB / 403.3 MB, free: 4.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.223e-05/0.4798, allocations: 14.91 kB / 403.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.249e-05/0.4798, allocations: 0 / 403.4 MB, free: 4.797 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.247e-05/0.4799, allocations: 325.7 kB / 403.7 MB, free: 4.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.536e-05/0.48, allocations: 27.12 kB / 403.7 MB, free: 4.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.323e-05/0.48, allocations: 34.23 kB / 403.7 MB, free: 4.461 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.867e-05/0.4801, allocations: 55.88 kB / 403.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-06/0.4802, allocations: 0 / 403.8 MB, free: 4.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002394/0.4804, allocations: 123.5 kB / 403.9 MB, free: 4.352 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.4805, allocations: 41.38 kB / 404 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.433e-06/0.4805, allocations: 0 / 404 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.4805, allocations: 3.953 kB / 404 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6e-05/0.4806, allocations: 7.625 kB / 404 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.535e-06/0.4806, allocations: 0 / 404 MB, free: 4.312 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.402e-05/0.4807, allocations: 7.828 kB / 404 MB, free: 4.309 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.4807, allocations: 3.953 kB / 404 MB, free: 4.305 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.626e-05/0.4808, allocations: 115.6 kB / 404.1 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.4808, allocations: 7.781 kB / 404.1 MB, free: 4.188 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.481, allocations: 89.73 kB / 404.2 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.043e-06/0.4811, allocations: 7.781 kB / 404.2 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.986e-06/0.4811, allocations: 0 / 404.2 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.845e-06/0.4811, allocations: 0 / 404.2 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.4814, allocations: 361.8 kB / 404.5 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4815, allocations: 4 kB / 404.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.778e-05/0.4815, allocations: 7.531 kB / 404.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.84e-06/0.4815, allocations: 0 / 404.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4816, allocations: 0 / 404.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.548e-06/0.4816, allocations: 3.875 kB / 404.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.015e-06/0.4816, allocations: 0 / 404.6 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.4818, allocations: 181 kB / 404.7 MB, free: 3.656 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.494e-05/0.4818, allocations: 88.8 kB / 404.8 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.87e-05/0.4819, allocations: 3.938 kB / 404.8 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.482, allocations: 14.8 kB / 404.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.482, allocations: 0 / 404.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.4821, allocations: 3.844 kB / 404.8 MB, free: 3.547 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.4822, allocations: 158 kB / 405 MB, free: 3.453 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.75e-07/0.4822, allocations: 0 / 405 MB, free: 3.453 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003723/0.4826, allocations: 38.05 kB / 405 MB, free: 3.441 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.001043/0.4836, allocations: 353.2 kB / 405.4 MB, free: 3.203 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4839, allocations: 113.6 kB / 405.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.987e-06/0.4839, allocations: 3.75 kB / 405.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.651e-05/0.484, allocations: 18.34 kB / 405.5 MB, free: 3.133 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002777/0.4842, allocations: 15.14 kB / 405.5 MB, free: 3.129 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003728/0.4846, allocations: 153.3 kB / 405.7 MB, free: 3.027 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004124/0.4851, allocations: 0.7036 MB / 406.4 MB, free: 18.32 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.4851, allocations: 14.88 kB / 406.4 MB, free: 18.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.4852, allocations: 19.08 kB / 406.4 MB, free: 18.3 MB / 330.7 MB Notification: Performance of SimCode: time 2.16e-06/0.4852, allocations: 3.844 kB / 406.4 MB, free: 18.3 MB / 330.7 MB Notification: Performance of Templates: time 0.00479/0.49, allocations: 1.564 MB / 408 MB, free: 17.5 MB / 330.7 MB