Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.717/2.717, allocations: 270 MB / 283.6 MB, free: 1.961 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.294e-05, allocations: 8 kB / 348.4 MB, free: 2.848 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.326/0.326, allocations: 61.87 MB / 410.3 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1371/0.4632, allocations: 89.29 MB / 499.6 MB, free: 1.414 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.4635, allocations: 75.95 kB / 499.6 MB, free: 1.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02336/0.4869, allocations: 5.461 MB / 0.4933 GB, free: 11.87 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.992e-06/0.4869, allocations: 0 / 0.4933 GB, free: 11.87 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.4869, allocations: 0 / 0.4933 GB, free: 11.87 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005496/0.4875, allocations: 402.1 kB / 0.4936 GB, free: 11.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4875, allocations: 8.031 kB / 0.4936 GB, free: 11.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.4876, allocations: 7.906 kB / 0.4937 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.488, allocations: 207.7 kB / 0.4939 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.784e-05/0.488, allocations: 7.953 kB / 0.4939 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4881, allocations: 11.94 kB / 0.4939 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.4882, allocations: 49.69 kB / 0.4939 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4882, allocations: 3.938 kB / 0.4939 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.4883, allocations: 3.984 kB / 0.4939 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.131e-06/0.4883, allocations: 0 / 0.4939 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.4884, allocations: 16 kB / 0.4939 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.4888, allocations: 296.8 kB / 0.4942 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.489, allocations: 58.7 kB / 0.4943 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.959e-05/0.4891, allocations: 20.97 kB / 0.4943 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.4891, allocations: 3.938 kB / 0.4943 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001664/0.4893, allocations: 67.39 kB / 0.4944 GB, free: 10.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.921e-06/0.4893, allocations: 0 / 0.4944 GB, free: 10.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005352/0.4899, allocations: 145.3 kB / 0.4945 GB, free: 10.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.4899, allocations: 55.41 kB / 0.4946 GB, free: 10.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002224/0.4902, allocations: 160.5 kB / 0.4947 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.511e-05/0.4902, allocations: 25.7 kB / 0.4947 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.4903, allocations: 104 kB / 0.4948 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.4903, allocations: 23.73 kB / 0.4949 GB, free: 10.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.711e-06/0.4904, allocations: 4 kB / 0.4949 GB, free: 10.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4906, allocations: 326.8 kB / 0.4952 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/0.4906, allocations: 20 kB / 0.4952 GB, free: 9.676 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.754e-05/0.4907, allocations: 37.7 kB / 0.4952 GB, free: 9.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.204e-05/0.4908, allocations: 16 kB / 0.4952 GB, free: 9.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.752e-06/0.4908, allocations: 0 / 0.4952 GB, free: 9.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002352/0.491, allocations: 105.4 kB / 0.4953 GB, free: 9.508 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.4911, allocations: 4 kB / 0.4954 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4911, allocations: 0 / 0.4954 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4911, allocations: 0 / 0.4954 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.4912, allocations: 20.17 kB / 0.4954 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.799e-06/0.4913, allocations: 32 / 0.4954 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.366e-05/0.4914, allocations: 15.94 kB / 0.4954 GB, free: 9.469 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4914, allocations: 0 / 0.4954 GB, free: 9.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001034/0.4915, allocations: 116.9 kB / 0.4955 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.4915, allocations: 7.906 kB / 0.4955 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002898/0.4918, allocations: 114.3 kB / 0.4956 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.4919, allocations: 0 / 0.4956 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-06/0.4919, allocations: 7.875 kB / 0.4956 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.551e-06/0.4919, allocations: 4 kB / 0.4956 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006175/0.4925, allocations: 407.2 kB / 0.496 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.26e-06/0.4925, allocations: 0 / 0.496 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.4926, allocations: 11.94 kB / 0.496 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.9e-06/0.4926, allocations: 0 / 0.496 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.4926, allocations: 7.984 kB / 0.496 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.762e-06/0.4927, allocations: 0 / 0.496 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.052e-06/0.4927, allocations: 0 / 0.496 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.493, allocations: 221.9 kB / 0.4962 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/0.4931, allocations: 89.02 kB / 0.4963 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.52e-05/0.4931, allocations: 7.984 kB / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.4933, allocations: 192 / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.4933, allocations: 7.953 kB / 0.4963 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.152e-05/0.4933, allocations: 15.98 kB / 0.4964 GB, free: 8.359 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.4935, allocations: 134.1 kB / 0.4965 GB, free: 8.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.79e-07/0.4935, allocations: 0 / 0.4965 GB, free: 8.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003754/0.4939, allocations: 39.92 kB / 0.4965 GB, free: 8.191 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001631/0.4956, allocations: 457.8 kB / 0.497 GB, free: 7.883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.4958, allocations: 55.94 kB / 0.497 GB, free: 7.828 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.4958, allocations: 4.062 kB / 0.497 GB, free: 7.824 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.4959, allocations: 36.08 kB / 0.4971 GB, free: 7.789 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.4962, allocations: 24.12 kB / 0.4971 GB, free: 7.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004554/0.4967, allocations: 147.3 kB / 0.4972 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004044/0.4971, allocations: 0.7081 MB / 0.4979 GB, free: 6.855 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.261e-05/0.4972, allocations: 20.48 kB / 0.4979 GB, free: 6.836 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.4973, allocations: 23.42 kB / 0.498 GB, free: 6.812 MB / 426.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4973, allocations: 0 / 0.498 GB, free: 6.812 MB / 426.7 MB Notification: Performance of Templates: time 0.005785/0.5031, allocations: 1.653 MB / 0.4996 GB, free: 5.168 MB / 426.7 MB