Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadModel(ModelicaTest): time 2.602/2.602, allocations: 270 MB / 283.6 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.536e-05/4.543e-05, allocations: 12 kB / 348.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3273, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1387/0.4661, allocations: 89.3 MB / 499.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/0.4664, allocations: 79.94 kB / 499.7 MB, free: 1.207 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02353/0.4899, allocations: 5.793 MB / 0.4936 GB, free: 11.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.4899, allocations: 0 / 0.4936 GB, free: 11.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.98e-05/0.49, allocations: 7.938 kB / 0.4936 GB, free: 11.4 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006345/0.4906, allocations: 430 kB / 0.494 GB, free: 10.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4907, allocations: 12.03 kB / 0.494 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.866e-05/0.4908, allocations: 7.906 kB / 0.494 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.4912, allocations: 254.3 kB / 0.4943 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.4913, allocations: 7.953 kB / 0.4943 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.4913, allocations: 0 / 0.4943 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000237/0.4916, allocations: 105.1 kB / 0.4944 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.4916, allocations: 7.922 kB / 0.4944 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.752e-05/0.4916, allocations: 3.984 kB / 0.4944 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-06/0.4917, allocations: 4 kB / 0.4944 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.4918, allocations: 27.98 kB / 0.4944 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.4921, allocations: 218.5 kB / 0.4946 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.4923, allocations: 97.28 kB / 0.4947 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.898e-05/0.4924, allocations: 41.75 kB / 0.4948 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.4925, allocations: 4 kB / 0.4948 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/0.4927, allocations: 113 kB / 0.4949 GB, free: 9.898 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.46e-06/0.4927, allocations: 0 / 0.4949 GB, free: 9.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003764/0.4931, allocations: 129.5 kB / 0.495 GB, free: 9.766 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.869e-05/0.4932, allocations: 136.5 kB / 0.4951 GB, free: 9.602 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.4935, allocations: 191.1 kB / 0.4953 GB, free: 9.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.4936, allocations: 29.7 kB / 0.4954 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.4937, allocations: 116.1 kB / 0.4955 GB, free: 9.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.082e-05/0.4938, allocations: 31.64 kB / 0.4955 GB, free: 9.223 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-06/0.4938, allocations: 0 / 0.4955 GB, free: 9.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.494, allocations: 326.8 kB / 0.4958 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.256e-05/0.494, allocations: 27.98 kB / 0.4958 GB, free: 8.867 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.4942, allocations: 65.09 kB / 0.4959 GB, free: 8.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.531e-05/0.4943, allocations: 36 kB / 0.4959 GB, free: 8.75 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.4943, allocations: 0 / 0.4959 GB, free: 8.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003073/0.4946, allocations: 137.3 kB / 0.4961 GB, free: 8.609 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4946, allocations: 4 kB / 0.4961 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.592e-06/0.4947, allocations: 4 kB / 0.4961 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.4947, allocations: 0 / 0.4961 GB, free: 8.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.4949, allocations: 27.92 kB / 0.4961 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.159e-06/0.4949, allocations: 4.062 kB / 0.4961 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001092/0.495, allocations: 8 kB / 0.4961 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.495, allocations: 8 kB / 0.4961 GB, free: 8.555 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$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 (14): * Single equations (assignments): 14 * 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.0001163/0.4952, allocations: 116.9 kB / 0.4962 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.779e-05/0.4952, allocations: 23.7 kB / 0.4962 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004068/0.4956, allocations: 154.8 kB / 0.4964 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.662e-06/0.4957, allocations: 0 / 0.4964 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.17e-06/0.4957, allocations: 0 / 0.4964 GB, free: 8.246 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.239e-06/0.4957, allocations: 8 kB / 0.4964 GB, free: 8.238 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.496, allocations: 221.5 kB / 0.4966 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.658e-06/0.496, allocations: 0 / 0.4966 GB, free: 7.973 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.4961, allocations: 15.98 kB / 0.4966 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-06/0.4961, allocations: 0 / 0.4966 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.345e-05/0.4961, allocations: 7.953 kB / 0.4966 GB, free: 7.949 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.222e-06/0.4961, allocations: 11.88 kB / 0.4966 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.76e-06/0.4961, allocations: 0 / 0.4966 GB, free: 7.938 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003546/0.4965, allocations: 175.5 kB / 0.4968 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.4966, allocations: 104.9 kB / 0.4969 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.89e-05/0.4967, allocations: 11.98 kB / 0.4969 GB, free: 7.605 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4968, allocations: 4 kB / 0.4969 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.197e-05/0.4969, allocations: 11.98 kB / 0.4969 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.4969, allocations: 7.938 kB / 0.497 GB, free: 7.582 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.4971, allocations: 161.5 kB / 0.4971 GB, free: 7.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.4971, allocations: 4 kB / 0.4971 GB, free: 7.422 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003708/0.4975, allocations: 51.92 kB / 0.4972 GB, free: 7.371 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001568/0.4991, allocations: 458 kB / 0.4976 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.4994, allocations: 75.92 kB / 0.4977 GB, free: 6.984 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4994, allocations: 3.938 kB / 0.4977 GB, free: 6.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.4995, allocations: 44.05 kB / 0.4977 GB, free: 6.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.4999, allocations: 52.25 kB / 0.4978 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000512/0.5004, allocations: 183.8 kB / 0.4979 GB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.5009, allocations: 0.7205 MB / 0.4986 GB, free: 5.938 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.501, allocations: 37.3 kB / 0.4987 GB, free: 5.898 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.142e-05/0.5011, allocations: 27.42 kB / 0.4987 GB, free: 5.871 MB / 426.7 MB Notification: Performance of SimCode: time 1.358e-06/0.5011, allocations: 0 / 0.4987 GB, free: 5.871 MB / 426.7 MB Notification: Performance of Templates: time 0.00781/0.5089, allocations: 2.538 MB / 0.5012 GB, free: 3.352 MB / 426.7 MB