Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 270 MB / 283.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.744e-05/3.723e-05, allocations: 8 kB / 348.4 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3331/0.3332, allocations: 61.89 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.4741, allocations: 89.27 MB / 499.6 MB, free: 1.305 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.4743, allocations: 71.97 kB / 499.6 MB, free: 1.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02315/0.4975, allocations: 5.567 MB / 0.4934 GB, free: 11.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.161e-06/0.4976, allocations: 4 kB / 0.4934 GB, free: 11.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.764e-05/0.4976, allocations: 0 / 0.4934 GB, free: 11.65 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.0005615/0.4982, allocations: 398.2 kB / 0.4937 GB, free: 11.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.4982, allocations: 8.031 kB / 0.4937 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.192e-05/0.4983, allocations: 11.91 kB / 0.4938 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.4987, allocations: 223.4 kB / 0.494 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.4987, allocations: 3.953 kB / 0.494 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.4988, allocations: 4 kB / 0.494 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.4989, allocations: 53.67 kB / 0.494 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4989, allocations: 0 / 0.494 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.499, allocations: 4 kB / 0.494 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-06/0.499, allocations: 4 kB / 0.494 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.342e-05/0.4991, allocations: 23.92 kB / 0.4941 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.4996, allocations: 292.9 kB / 0.4943 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.4997, allocations: 54.62 kB / 0.4944 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.4998, allocations: 20.98 kB / 0.4944 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.4998, allocations: 11.92 kB / 0.4944 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001519/0.5, allocations: 59.41 kB / 0.4945 GB, free: 10.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.802e-06/0.5, allocations: 4 kB / 0.4945 GB, free: 10.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005658/0.5006, allocations: 153.2 kB / 0.4946 GB, free: 10.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.5007, allocations: 51.41 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.5009, allocations: 179.4 kB / 0.4948 GB, free: 9.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.501, allocations: 33.69 kB / 0.4949 GB, free: 9.891 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.247e-05/0.5011, allocations: 108 kB / 0.495 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.5011, allocations: 23.73 kB / 0.495 GB, free: 9.758 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-06/0.5011, allocations: 0 / 0.495 GB, free: 9.758 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5013, allocations: 330.8 kB / 0.4953 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.907e-05/0.5014, allocations: 16 kB / 0.4953 GB, free: 9.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.5015, allocations: 37.66 kB / 0.4954 GB, free: 9.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.5016, allocations: 23.97 kB / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5016, allocations: 0 / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002437/0.5018, allocations: 105.6 kB / 0.4955 GB, free: 9.234 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5019, allocations: 7.984 kB / 0.4955 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.5019, allocations: 0 / 0.4955 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.5019, allocations: 0 / 0.4955 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.502, allocations: 19.94 kB / 0.4955 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.972e-06/0.5021, allocations: 0 / 0.4955 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.5022, allocations: 11.98 kB / 0.4955 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.5022, allocations: 0 / 0.4955 GB, free: 9.195 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.0001061/0.5023, allocations: 118.8 kB / 0.4956 GB, free: 9.074 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.5023, allocations: 7.906 kB / 0.4957 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.5026, allocations: 119 kB / 0.4958 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.5027, allocations: 4 kB / 0.4958 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.572e-06/0.5027, allocations: 288 / 0.4958 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.264e-06/0.5027, allocations: 0 / 0.4958 GB, free: 8.941 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.5033, allocations: 407.3 kB / 0.4962 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-06/0.5034, allocations: 3.938 kB / 0.4962 GB, free: 8.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.641e-05/0.5034, allocations: 24.19 kB / 0.4962 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.347e-06/0.5034, allocations: 0 / 0.4962 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.5035, allocations: 8 kB / 0.4962 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.372e-06/0.5035, allocations: 4 kB / 0.4962 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.37e-06/0.5035, allocations: 0 / 0.4962 GB, free: 8.445 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.5038, allocations: 221.8 kB / 0.4964 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-05/0.5039, allocations: 96.91 kB / 0.4965 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.504, allocations: 4 kB / 0.4965 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.5041, allocations: 4 kB / 0.4965 GB, free: 8.082 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.5042, allocations: 11.94 kB / 0.4965 GB, free: 8.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.5042, allocations: 4 kB / 0.4965 GB, free: 8.066 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001932/0.5044, allocations: 151.5 kB / 0.4967 GB, free: 7.922 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.5044, allocations: 0 / 0.4967 GB, free: 7.922 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003794/0.5048, allocations: 35.94 kB / 0.4967 GB, free: 7.887 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.001619/0.5064, allocations: 461.9 kB / 0.4971 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.5067, allocations: 59.92 kB / 0.4972 GB, free: 7.52 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.091e-06/0.5067, allocations: 0 / 0.4972 GB, free: 7.52 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.5068, allocations: 24 kB / 0.4972 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.5071, allocations: 31.91 kB / 0.4973 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004969/0.5076, allocations: 186.4 kB / 0.4974 GB, free: 7.262 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.5081, allocations: 0.7121 MB / 0.4981 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.212e-05/0.5082, allocations: 20.7 kB / 0.4981 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.606e-05/0.5082, allocations: 15.44 kB / 0.4982 GB, free: 6.488 MB / 426.7 MB Notification: Performance of SimCode: time 1.542e-06/0.5083, allocations: 0 / 0.4982 GB, free: 6.488 MB / 426.7 MB Notification: Performance of Templates: time 0.006141/0.5144, allocations: 1.706 MB / 0.4998 GB, free: 4.785 MB / 426.7 MB