Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.335e-05/4.345e-05, allocations: 8 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 61.89 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.537/0.6474, allocations: 89.53 MB / 499.8 MB, free: 14.62 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.6476, allocations: 83.94 kB / 499.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0335/0.6812, allocations: 7.998 MB / 0.496 GB, free: 6.539 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.936e-06/0.6812, allocations: 0 / 0.496 GB, free: 6.539 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.385e-05/0.6812, allocations: 4 kB / 0.496 GB, free: 6.535 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007684/0.682, allocations: 487 kB / 0.4965 GB, free: 6.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.6821, allocations: 8.031 kB / 0.4965 GB, free: 6.008 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.942e-05/0.6822, allocations: 23.72 kB / 0.4965 GB, free: 5.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.6828, allocations: 282.5 kB / 0.4968 GB, free: 5.668 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.6828, allocations: 7.953 kB / 0.4968 GB, free: 5.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.6828, allocations: 11.94 kB / 0.4968 GB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.6831, allocations: 111.3 kB / 0.4969 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.6831, allocations: 3.906 kB / 0.4969 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.6832, allocations: 8 kB / 0.4969 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-06/0.6832, allocations: 0 / 0.4969 GB, free: 5.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.6833, allocations: 47.97 kB / 0.4969 GB, free: 5.469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/0.6842, allocations: 480.7 kB / 0.4974 GB, free: 4.945 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/0.6846, allocations: 121.1 kB / 0.4975 GB, free: 4.809 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.6847, allocations: 41.84 kB / 0.4976 GB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.6848, allocations: 12.14 kB / 0.4976 GB, free: 4.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.685, allocations: 113.1 kB / 0.4977 GB, free: 4.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 6.521e-06/0.685, allocations: 0 / 0.4977 GB, free: 4.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=22): time 0.001263/0.6863, allocations: 423.8 kB / 0.4981 GB, free: 4.199 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.427e-05/0.6864, allocations: 85.11 kB / 0.4982 GB, free: 4.098 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/0.687, allocations: 323.4 kB / 0.4985 GB, free: 3.781 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.687, allocations: 29.7 kB / 0.4985 GB, free: 3.746 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.6871, allocations: 144.5 kB / 0.4986 GB, free: 3.602 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.6872, allocations: 63.11 kB / 0.4987 GB, free: 3.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.6873, allocations: 4 kB / 0.4987 GB, free: 3.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.6875, allocations: 342.8 kB / 0.499 GB, free: 3.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.6876, allocations: 52 kB / 0.4991 GB, free: 3.141 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.6878, allocations: 99.3 kB / 0.4992 GB, free: 3.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.688, allocations: 64.67 kB / 0.4992 GB, free: 2.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.401e-06/0.688, allocations: 0 / 0.4992 GB, free: 2.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005216/0.6885, allocations: 221.2 kB / 0.4994 GB, free: 2.746 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.6886, allocations: 4 kB / 0.4994 GB, free: 2.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.352e-06/0.6886, allocations: 4.062 kB / 0.4994 GB, free: 2.738 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.6886, allocations: 7.953 kB / 0.4995 GB, free: 2.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.6889, allocations: 39.92 kB / 0.4995 GB, free: 2.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.6889, allocations: 7.984 kB / 0.4995 GB, free: 2.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.689, allocations: 8 kB / 0.4995 GB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.6891, allocations: 8 kB / 0.4995 GB, free: 2.668 MB / 410.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.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001202/0.6892, allocations: 116.9 kB / 0.4996 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.6893, allocations: 31.62 kB / 0.4997 GB, free: 2.516 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006531/0.6899, allocations: 264.3 kB / 0.4999 GB, free: 2.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.291e-06/0.69, allocations: 4 kB / 0.4999 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.926e-06/0.69, allocations: 3.953 kB / 0.4999 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.064e-06/0.69, allocations: 3.938 kB / 0.4999 GB, free: 2.238 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001571/0.6916, allocations: 0.7624 MB / 0.5007 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.397e-06/0.6916, allocations: 0 / 0.5007 GB, free: 1.406 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002765/0.6919, allocations: 31.98 kB / 0.5007 GB, free: 1.375 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.692, allocations: 3.938 kB / 0.5007 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.645e-05/0.692, allocations: 11.98 kB / 0.5007 GB, free: 1.359 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.6921, allocations: 4 kB / 0.5007 GB, free: 1.355 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.104e-06/0.6921, allocations: 7.938 kB / 0.5007 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.6931, allocations: 482.7 kB / 0.5012 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.6934, allocations: 124.7 kB / 0.5013 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.6935, allocations: 12 kB / 0.5013 GB, free: 0.6602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000456/0.694, allocations: 11.98 kB / 0.5013 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.6942, allocations: 19.97 kB / 0.5013 GB, free: 0.6289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.649e-05/0.6942, allocations: 12 kB / 0.5014 GB, free: 0.6172 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007397/0.695, allocations: 259.1 kB / 0.5016 GB, free: 368 kB / 410.7 MB Notification: Performance of sort global known variables: time 1.581e-06/0.695, allocations: 4 kB / 0.5016 GB, free: 364 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001072/0.6961, allocations: 63.98 kB / 0.5017 GB, free: 300 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.002831/0.699, allocations: 0.5027 MB / 0.5022 GB, free: 15.94 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007134/0.6997, allocations: 158.2 kB / 0.5023 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.6998, allocations: 0 / 0.5023 GB, free: 15.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.7001, allocations: 83.86 kB / 0.5024 GB, free: 15.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009093/0.701, allocations: 55.23 kB / 0.5024 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/0.7025, allocations: 404.4 kB / 0.5028 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007197/0.7033, allocations: 0.7678 MB / 0.5036 GB, free: 14.42 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.7036, allocations: 46.03 kB / 0.5036 GB, free: 14.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.7038, allocations: 31.44 kB / 0.5037 GB, free: 14.34 MB / 426.7 MB Notification: Performance of SimCode: time 2.146e-06/0.7038, allocations: 0 / 0.5037 GB, free: 14.34 MB / 426.7 MB Notification: Performance of Templates: time 0.01648/0.7203, allocations: 3.124 MB / 0.5067 GB, free: 11.25 MB / 426.7 MB