Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 270 MB / 283.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.537e-05/4.502e-05, allocations: 4 kB / 348.4 MB, free: 2.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3812, allocations: 61.86 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5414, allocations: 89.28 MB / 499.5 MB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/0.5418, allocations: 71.97 kB / 499.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03463/0.5765, allocations: 5.629 MB / 0.4934 GB, free: 11.67 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.323e-06/0.5765, allocations: 0 / 0.4934 GB, free: 11.67 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.5766, allocations: 4 kB / 0.4934 GB, free: 11.66 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.0005769/0.5771, allocations: 406.1 kB / 0.4938 GB, free: 11.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.5772, allocations: 8.031 kB / 0.4938 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.243e-05/0.5773, allocations: 7.906 kB / 0.4938 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.5777, allocations: 220 kB / 0.494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.5777, allocations: 3.953 kB / 0.494 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.761e-05/0.5778, allocations: 8 kB / 0.494 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.5779, allocations: 49.67 kB / 0.4941 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.578, allocations: 4 kB / 0.4941 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.578, allocations: 3.938 kB / 0.4941 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.107e-06/0.578, allocations: 4 kB / 0.4941 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.075e-05/0.5781, allocations: 23.92 kB / 0.4941 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.5786, allocations: 300.9 kB / 0.4944 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.5788, allocations: 50.7 kB / 0.4945 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.5789, allocations: 20.97 kB / 0.4945 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.5789, allocations: 4 kB / 0.4945 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001652/0.5791, allocations: 67.34 kB / 0.4945 GB, free: 10.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 3.15e-06/0.5791, allocations: 0 / 0.4945 GB, free: 10.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005786/0.5797, allocations: 157.1 kB / 0.4947 GB, free: 10.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.5798, allocations: 59.34 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.5801, allocations: 193.4 kB / 0.4949 GB, free: 9.914 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.5802, allocations: 33.7 kB / 0.495 GB, free: 9.875 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.5802, allocations: 104.1 kB / 0.4951 GB, free: 9.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.5803, allocations: 23.66 kB / 0.4951 GB, free: 9.746 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.481e-06/0.5803, allocations: 4 kB / 0.4951 GB, free: 9.742 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.5805, allocations: 326.8 kB / 0.4954 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.5806, allocations: 23.98 kB / 0.4954 GB, free: 9.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.547e-05/0.5807, allocations: 29.72 kB / 0.4955 GB, free: 9.355 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.5807, allocations: 28.05 kB / 0.4955 GB, free: 9.328 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.5808, allocations: 4 kB / 0.4955 GB, free: 9.324 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002477/0.581, allocations: 97.7 kB / 0.4956 GB, free: 9.223 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5811, allocations: 4 kB / 0.4956 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.5811, allocations: 4 kB / 0.4956 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.5811, allocations: 4 kB / 0.4956 GB, free: 9.211 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.5812, allocations: 20.17 kB / 0.4956 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.236e-06/0.5813, allocations: 0 / 0.4956 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.5814, allocations: 11.84 kB / 0.4956 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.5814, allocations: 4 kB / 0.4956 GB, free: 9.176 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.0001107/0.5815, allocations: 117 kB / 0.4957 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.5816, allocations: 11.84 kB / 0.4957 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.5819, allocations: 111.2 kB / 0.4958 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.645e-06/0.5819, allocations: 0 / 0.4958 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.5819, allocations: 0 / 0.4958 GB, free: 8.922 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.718e-06/0.5819, allocations: 7.984 kB / 0.4959 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006654/0.5826, allocations: 415.2 kB / 0.4963 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.696e-06/0.5826, allocations: 11.97 kB / 0.4963 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.5827, allocations: 11.94 kB / 0.4963 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.595e-06/0.5827, allocations: 0 / 0.4963 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.898e-05/0.5828, allocations: 7.984 kB / 0.4963 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.43e-06/0.5828, allocations: 0 / 0.4963 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-06/0.5828, allocations: 0 / 0.4963 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.5831, allocations: 217.9 kB / 0.4965 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.745e-05/0.5832, allocations: 108.9 kB / 0.4966 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.5833, allocations: 0 / 0.4966 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.5834, allocations: 4 kB / 0.4966 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.624e-05/0.5835, allocations: 11.94 kB / 0.4966 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.5835, allocations: 8 kB / 0.4966 GB, free: 8.031 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.5838, allocations: 156.2 kB / 0.4968 GB, free: 7.879 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.5838, allocations: 0 / 0.4968 GB, free: 7.879 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.5842, allocations: 31.94 kB / 0.4968 GB, free: 7.848 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.001637/0.5858, allocations: 463.7 kB / 0.4972 GB, free: 7.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002327/0.5861, allocations: 55.94 kB / 0.4973 GB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.439e-06/0.5861, allocations: 3.938 kB / 0.4973 GB, free: 7.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.966e-05/0.5862, allocations: 31.94 kB / 0.4973 GB, free: 7.449 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003697/0.5866, allocations: 26.59 kB / 0.4974 GB, free: 7.426 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005308/0.5872, allocations: 179 kB / 0.4975 GB, free: 7.227 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.5876, allocations: 0.7121 MB / 0.4982 GB, free: 6.488 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.412e-05/0.5877, allocations: 16.84 kB / 0.4982 GB, free: 6.473 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.693e-05/0.5878, allocations: 19.44 kB / 0.4983 GB, free: 6.453 MB / 426.7 MB Notification: Performance of SimCode: time 1.898e-06/0.5878, allocations: 0 / 0.4983 GB, free: 6.453 MB / 426.7 MB Notification: Performance of Templates: time 0.006189/0.594, allocations: 1.731 MB / 0.4999 GB, free: 4.73 MB / 426.7 MB