Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.265e-05/3.27e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 61.9 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4824/0.5925, allocations: 89.07 MB / 499.4 MB, free: 15.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/0.5929, allocations: 79.94 kB / 499.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03021/0.6232, allocations: 5.357 MB / 0.493 GB, free: 9.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6232, allocations: 0 / 0.493 GB, free: 9.66 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.6233, allocations: 0 / 0.493 GB, free: 9.66 MB / 410.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.0005123/0.6238, allocations: 386.2 kB / 0.4933 GB, free: 9.238 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.6238, allocations: 12.03 kB / 0.4933 GB, free: 9.227 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.505e-05/0.6239, allocations: 7.906 kB / 0.4933 GB, free: 9.219 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.6243, allocations: 206.9 kB / 0.4935 GB, free: 8.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.6243, allocations: 4 kB / 0.4936 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.6243, allocations: 3.953 kB / 0.4936 GB, free: 8.969 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.6245, allocations: 49.62 kB / 0.4936 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.055e-06/0.6245, allocations: 0 / 0.4936 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6245, allocations: 0 / 0.4936 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.072e-06/0.6245, allocations: 0 / 0.4936 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.225e-05/0.6246, allocations: 15.98 kB / 0.4936 GB, free: 8.898 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.6249, allocations: 181.7 kB / 0.4938 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001512/0.625, allocations: 58.61 kB / 0.4938 GB, free: 8.605 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.366e-05/0.6251, allocations: 16.86 kB / 0.4939 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.6251, allocations: 0 / 0.4939 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001581/0.6253, allocations: 79.22 kB / 0.4939 GB, free: 8.496 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 2.467e-06/0.6253, allocations: 0 / 0.4939 GB, free: 8.496 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002505/0.6256, allocations: 85.52 kB / 0.494 GB, free: 8.406 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.6256, allocations: 55.41 kB / 0.4941 GB, free: 8.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.6259, allocations: 174 kB / 0.4942 GB, free: 8.168 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.651e-05/0.6259, allocations: 29.7 kB / 0.4943 GB, free: 8.133 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.93e-05/0.626, allocations: 100.1 kB / 0.4944 GB, free: 8.031 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.319e-05/0.6261, allocations: 11.84 kB / 0.4944 GB, free: 8.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-06/0.6261, allocations: 4 kB / 0.4944 GB, free: 8.016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.6263, allocations: 318.8 kB / 0.4947 GB, free: 7.695 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.976e-05/0.6263, allocations: 12 kB / 0.4947 GB, free: 7.684 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.053e-05/0.6264, allocations: 37.66 kB / 0.4947 GB, free: 7.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.465e-05/0.6265, allocations: 15.98 kB / 0.4947 GB, free: 7.625 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.3e-06/0.6265, allocations: 0 / 0.4947 GB, free: 7.625 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001791/0.6267, allocations: 77.5 kB / 0.4948 GB, free: 7.543 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6267, allocations: 11.95 kB / 0.4948 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.383e-06/0.6267, allocations: 0 / 0.4948 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.6267, allocations: 0 / 0.4948 GB, free: 7.531 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.988e-05/0.6268, allocations: 15.92 kB / 0.4948 GB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.6269, allocations: 4 kB / 0.4948 GB, free: 7.512 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.6269, allocations: 4.031 kB / 0.4949 GB, free: 7.508 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.627, allocations: 4 kB / 0.4949 GB, free: 7.504 MB / 410.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 (7): * Single equations (assignments): 7 * 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 8.743e-05/0.6271, allocations: 105 kB / 0.495 GB, free: 7.395 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.6271, allocations: 11.91 kB / 0.495 GB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.6273, allocations: 93.7 kB / 0.4951 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-06/0.6274, allocations: 0 / 0.4951 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.853e-06/0.6274, allocations: 0 / 0.4951 GB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6274, allocations: 4 kB / 0.4951 GB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.6276, allocations: 197.5 kB / 0.4952 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.2e-06/0.6276, allocations: 0 / 0.4952 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.12e-05/0.6277, allocations: 7.938 kB / 0.4953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.199e-06/0.6277, allocations: 0 / 0.4953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.484e-06/0.6277, allocations: 0 / 0.4953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.6277, allocations: 3.953 kB / 0.4953 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.716e-06/0.6277, allocations: 4 kB / 0.4953 GB, free: 7.02 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.628, allocations: 109.2 kB / 0.4954 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.645e-05/0.6281, allocations: 100.9 kB / 0.4955 GB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.6281, allocations: 4 kB / 0.4955 GB, free: 6.773 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.357e-05/0.6282, allocations: 4 kB / 0.4955 GB, free: 6.77 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.6282, allocations: 11.94 kB / 0.4955 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.6283, allocations: 4 kB / 0.4955 GB, free: 6.754 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001658/0.6284, allocations: 135.9 kB / 0.4956 GB, free: 6.625 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.6284, allocations: 0 / 0.4956 GB, free: 6.625 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003045/0.6288, allocations: 27.98 kB / 0.4956 GB, free: 6.598 MB / 410.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: 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 (6): * Single equations (assignments): 4 * 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.001437/0.6302, allocations: 417 kB / 0.496 GB, free: 6.301 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.6304, allocations: 32 kB / 0.4961 GB, free: 6.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.6304, allocations: 4 kB / 0.4961 GB, free: 6.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.6305, allocations: 27.98 kB / 0.4961 GB, free: 6.238 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.6307, allocations: 27.98 kB / 0.4961 GB, free: 6.211 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003911/0.6312, allocations: 145 kB / 0.4963 GB, free: 6.047 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.6316, allocations: 0.7043 MB / 0.497 GB, free: 5.316 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.975e-05/0.6316, allocations: 16.42 kB / 0.497 GB, free: 5.301 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.896e-05/0.6317, allocations: 19.42 kB / 0.497 GB, free: 5.281 MB / 410.7 MB Notification: Performance of SimCode: time 1.356e-06/0.6317, allocations: 4 kB / 0.497 GB, free: 5.277 MB / 410.7 MB Notification: Performance of Templates: time 0.00516/0.6369, allocations: 1.452 MB / 0.4984 GB, free: 3.836 MB / 410.7 MB