Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") Notification: Performance of loadModel(ModelicaTest): time 2.76/2.76, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.007e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.6013, allocations: 89.96 MB / 0.4885 GB, free: 14.22 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.6015, allocations: 71.97 kB / 0.4886 GB, free: 14.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05863/0.6602, allocations: 12.72 MB / 0.501 GB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.117e-06/0.6603, allocations: 0 / 0.501 GB, free: 1.426 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.53e-05/0.6604, allocations: 12 kB / 0.501 GB, free: 1.414 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001887/0.6623, allocations: 0.7171 MB / 0.5017 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.305e-05/0.6623, allocations: 8.031 kB / 0.5017 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000266/0.6626, allocations: 71.14 kB / 0.5018 GB, free: 0.5664 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001684/0.6643, allocations: 459.5 kB / 0.5022 GB, free: 76 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.838e-05/0.6644, allocations: 11.95 kB / 0.5022 GB, free: 64 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/0.6645, allocations: 19.98 kB / 0.5022 GB, free: 44 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.6652, allocations: 193 kB / 0.5024 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.6653, allocations: 0 / 0.5024 GB, free: 15.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.613e-05/0.6654, allocations: 8 kB / 0.5024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.051e-06/0.6654, allocations: 0 / 0.5024 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004207/0.6658, allocations: 95.88 kB / 0.5025 GB, free: 15.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002312/0.6682, allocations: 0.8717 MB / 0.5034 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.6693, allocations: 234.5 kB / 0.5036 GB, free: 14.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003253/0.6697, allocations: 83.55 kB / 0.5037 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.322e-05/0.6697, allocations: 4 kB / 0.5037 GB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006495/0.6704, allocations: 199 kB / 0.5039 GB, free: 14.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 5.369e-06/0.6704, allocations: 0 / 0.5039 GB, free: 14.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.004201/0.6746, allocations: 1.015 MB / 0.5049 GB, free: 13.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.6748, allocations: 140.5 kB / 0.505 GB, free: 13.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002745/0.6776, allocations: 0.816 MB / 0.5058 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.6777, allocations: 37.7 kB / 0.5058 GB, free: 12.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004461/0.6782, allocations: 269 kB / 0.5061 GB, free: 11.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.6785, allocations: 142.1 kB / 0.5062 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.6786, allocations: 4 kB / 0.5062 GB, free: 11.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003481/0.6789, allocations: 386.7 kB / 0.5066 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.6794, allocations: 104.9 kB / 0.5067 GB, free: 11.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/0.68, allocations: 182.3 kB / 0.5069 GB, free: 11.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005405/0.6806, allocations: 124.3 kB / 0.507 GB, free: 10.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.822e-06/0.6806, allocations: 4 kB / 0.507 GB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001723/0.6824, allocations: 424.8 kB / 0.5074 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.6824, allocations: 8.125 kB / 0.5074 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.6825, allocations: 8 kB / 0.5074 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.245e-05/0.6825, allocations: 7.984 kB / 0.5074 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/0.6833, allocations: 87.84 kB / 0.5075 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/0.6833, allocations: 7.984 kB / 0.5075 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005066/0.6838, allocations: 20 kB / 0.5075 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.268e-05/0.6839, allocations: 15.94 kB / 0.5076 GB, free: 10.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002598/0.6842, allocations: 151 kB / 0.5077 GB, free: 10.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002786/0.6845, allocations: 75.06 kB / 0.5078 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/0.6867, allocations: 0.4992 MB / 0.5083 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/0.6867, allocations: 8 kB / 0.5083 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.018e-06/0.6867, allocations: 0 / 0.5083 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.6868, allocations: 0 / 0.5083 GB, free: 9.602 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004386/0.6912, allocations: 1.455 MB / 0.5097 GB, free: 8.062 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.6912, allocations: 3.953 kB / 0.5097 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004878/0.6917, allocations: 67.89 kB / 0.5098 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.208e-05/0.6918, allocations: 8 kB / 0.5098 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.6919, allocations: 19.98 kB / 0.5098 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/0.6919, allocations: 4 kB / 0.5098 GB, free: 7.961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-05/0.6919, allocations: 7.938 kB / 0.5098 GB, free: 7.953 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.6941, allocations: 0.9324 MB / 0.5107 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006938/0.6948, allocations: 228.1 kB / 0.5109 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.695, allocations: 19.95 kB / 0.5109 GB, free: 6.645 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008698/0.6959, allocations: 23.98 kB / 0.511 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/0.6961, allocations: 43.89 kB / 0.511 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.727e-05/0.6962, allocations: 23.98 kB / 0.511 GB, free: 6.555 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002987/0.6992, allocations: 0.6592 MB / 0.5117 GB, free: 5.902 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.62e-06/0.6993, allocations: 0 / 0.5117 GB, free: 5.902 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002297/0.7016, allocations: 127.8 kB / 0.5118 GB, free: 5.777 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.003535/0.7052, allocations: 0.5196 MB / 0.5123 GB, free: 5.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.7067, allocations: 302.8 kB / 0.5126 GB, free: 5.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.72e-06/0.7067, allocations: 256 / 0.5126 GB, free: 5.117 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006999/0.7074, allocations: 164.3 kB / 0.5127 GB, free: 4.957 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.7092, allocations: 114.3 kB / 0.5129 GB, free: 4.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003865/0.7131, allocations: 1.002 MB / 0.5138 GB, free: 3.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/0.714, allocations: 0.9217 MB / 0.5147 GB, free: 2.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000399/0.7144, allocations: 111.2 kB / 0.5148 GB, free: 2.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.7146, allocations: 59.42 kB / 0.5149 GB, free: 2.672 MB / 426.7 MB Notification: Performance of SimCode: time 1.881e-06/0.7146, allocations: 0 / 0.5149 GB, free: 2.672 MB / 426.7 MB Notification: Performance of Templates: time 0.01789/0.7325, allocations: 5.872 MB / 0.5206 GB, free: 12.84 MB / 442.7 MB