Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.933e-05/3.951e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 61.9 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4393/0.5564, allocations: 89.28 MB / 499.6 MB, free: 14.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.5567, allocations: 75.95 kB / 499.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0225/0.5792, allocations: 5.52 MB / 0.4933 GB, free: 9.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.491e-06/0.5792, allocations: 0 / 0.4933 GB, free: 9.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.5793, allocations: 0 / 0.4933 GB, free: 9.301 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000857/0.5801, allocations: 386.3 kB / 0.4937 GB, free: 8.879 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.981e-05/0.5802, allocations: 8.031 kB / 0.4937 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.5803, allocations: 15.91 kB / 0.4937 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006939/0.5811, allocations: 210.8 kB / 0.4939 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.877e-05/0.5811, allocations: 7.953 kB / 0.4939 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.223e-05/0.5812, allocations: 7.906 kB / 0.4939 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.5815, allocations: 53.67 kB / 0.494 GB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.5816, allocations: 4 kB / 0.494 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.25e-05/0.5816, allocations: 0 / 0.494 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.687e-06/0.5816, allocations: 4 kB / 0.494 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.5818, allocations: 16 kB / 0.494 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008823/0.5827, allocations: 292.9 kB / 0.4943 GB, free: 8.176 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003099/0.583, allocations: 58.62 kB / 0.4943 GB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.5832, allocations: 20.92 kB / 0.4943 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.5832, allocations: 4 kB / 0.4943 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002898/0.5836, allocations: 71.33 kB / 0.4944 GB, free: 8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.56e-06/0.5836, allocations: 0 / 0.4944 GB, free: 8 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.001065/0.5847, allocations: 157.1 kB / 0.4946 GB, free: 7.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.456e-05/0.5848, allocations: 51.41 kB / 0.4946 GB, free: 7.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005141/0.5853, allocations: 178 kB / 0.4948 GB, free: 7.602 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.702e-05/0.5854, allocations: 25.7 kB / 0.4948 GB, free: 7.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.5856, allocations: 100.1 kB / 0.4949 GB, free: 7.469 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.198e-05/0.5857, allocations: 27.69 kB / 0.4949 GB, free: 7.441 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.751e-05/0.5857, allocations: 4 kB / 0.4949 GB, free: 7.438 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003037/0.586, allocations: 326.8 kB / 0.4952 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.5862, allocations: 20 kB / 0.4953 GB, free: 7.09 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.5864, allocations: 33.7 kB / 0.4953 GB, free: 7.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.5865, allocations: 19.94 kB / 0.4953 GB, free: 7.031 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.043e-06/0.5866, allocations: 4 kB / 0.4953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004937/0.5871, allocations: 101.6 kB / 0.4954 GB, free: 6.922 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.183e-05/0.5871, allocations: 4 kB / 0.4954 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.421e-06/0.5872, allocations: 0 / 0.4954 GB, free: 6.918 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.56e-05/0.5872, allocations: 4 kB / 0.4954 GB, free: 6.914 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.5875, allocations: 15.94 kB / 0.4954 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.5875, allocations: 0 / 0.4954 GB, free: 6.898 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.5877, allocations: 15.92 kB / 0.4955 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.5877, allocations: 4 kB / 0.4955 GB, free: 6.879 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 (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.0001801/0.5879, allocations: 113.7 kB / 0.4956 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.829e-05/0.588, allocations: 15.81 kB / 0.4956 GB, free: 6.746 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005363/0.5886, allocations: 110.2 kB / 0.4957 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-06/0.5887, allocations: 4 kB / 0.4957 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.019e-06/0.5887, allocations: 0 / 0.4957 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.322e-06/0.5887, allocations: 0 / 0.4957 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001236/0.59, allocations: 407.3 kB / 0.4961 GB, free: 6.176 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.827e-06/0.59, allocations: 4.031 kB / 0.4961 GB, free: 6.172 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001274/0.5901, allocations: 8 kB / 0.4961 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.047e-06/0.5902, allocations: 288 / 0.4961 GB, free: 6.164 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.5902, allocations: 11.98 kB / 0.4961 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.773e-06/0.5903, allocations: 0 / 0.4961 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.834e-06/0.5903, allocations: 8.062 kB / 0.4961 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006034/0.5909, allocations: 217.8 kB / 0.4963 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.5911, allocations: 101 kB / 0.4964 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.007e-05/0.5912, allocations: 3.984 kB / 0.4964 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002677/0.5915, allocations: 4 kB / 0.4964 GB, free: 5.781 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.961e-05/0.5916, allocations: 15.94 kB / 0.4964 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.5916, allocations: 0 / 0.4964 GB, free: 5.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003624/0.592, allocations: 140.1 kB / 0.4966 GB, free: 5.629 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.32e-06/0.5921, allocations: 0 / 0.4966 GB, free: 5.629 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009216/0.593, allocations: 31.98 kB / 0.4966 GB, free: 5.598 MB / 410.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.0032/0.5962, allocations: 459.5 kB / 0.497 GB, free: 5.273 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003759/0.5966, allocations: 59.92 kB / 0.4971 GB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.657e-06/0.5967, allocations: 0 / 0.4971 GB, free: 5.215 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001753/0.5969, allocations: 28 kB / 0.4971 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006919/0.5976, allocations: 23.98 kB / 0.4971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.5985, allocations: 166.4 kB / 0.4973 GB, free: 4.969 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006955/0.5992, allocations: 0.7121 MB / 0.498 GB, free: 4.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001632/0.5994, allocations: 20.7 kB / 0.498 GB, free: 4.211 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.5995, allocations: 15.44 kB / 0.498 GB, free: 4.195 MB / 410.7 MB Notification: Performance of SimCode: time 2.485e-06/0.5996, allocations: 0 / 0.498 GB, free: 4.195 MB / 410.7 MB Notification: Performance of Templates: time 0.01139/0.611, allocations: 1.688 MB / 0.4997 GB, free: 2.52 MB / 410.7 MB