Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.936e-05/4.947e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.167, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4003/0.5673, allocations: 89.24 MB / 499.5 MB, free: 14.87 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.5676, allocations: 74.47 kB / 499.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02231/0.5899, allocations: 5.413 MB / 0.4932 GB, free: 9.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.59, allocations: 0 / 0.4932 GB, free: 9.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.59, allocations: 4 kB / 0.4932 GB, free: 9.383 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.0005245/0.5905, allocations: 386.3 kB / 0.4935 GB, free: 8.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5906, allocations: 12.03 kB / 0.4935 GB, free: 8.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.5906, allocations: 7.906 kB / 0.4936 GB, free: 8.941 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003536/0.591, allocations: 218.8 kB / 0.4938 GB, free: 8.688 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.591, allocations: 3.953 kB / 0.4938 GB, free: 8.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.5911, allocations: 11.91 kB / 0.4938 GB, free: 8.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.5912, allocations: 49.67 kB / 0.4938 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.5912, allocations: 0 / 0.4938 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.5913, allocations: 4 kB / 0.4938 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.962e-06/0.5913, allocations: 0 / 0.4938 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.16e-05/0.5914, allocations: 16 kB / 0.4938 GB, free: 8.598 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004723/0.5918, allocations: 296.9 kB / 0.4941 GB, free: 8.258 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.592, allocations: 58.62 kB / 0.4942 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.819e-05/0.5921, allocations: 28.86 kB / 0.4942 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.5921, allocations: 0 / 0.4942 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.5923, allocations: 67.39 kB / 0.4943 GB, free: 8.082 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.434e-06/0.5923, allocations: 0 / 0.4943 GB, free: 8.082 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005323/0.5928, allocations: 165.1 kB / 0.4944 GB, free: 7.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.5929, allocations: 51.41 kB / 0.4945 GB, free: 7.852 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002501/0.5932, allocations: 176.5 kB / 0.4946 GB, free: 7.676 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.5932, allocations: 25.7 kB / 0.4947 GB, free: 7.645 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.5933, allocations: 96.14 kB / 0.4948 GB, free: 7.547 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.089e-05/0.5933, allocations: 27.69 kB / 0.4948 GB, free: 7.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-06/0.5933, allocations: 4 kB / 0.4948 GB, free: 7.516 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5935, allocations: 326.8 kB / 0.4951 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.5936, allocations: 20 kB / 0.4951 GB, free: 7.168 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.45e-05/0.5937, allocations: 41.64 kB / 0.4952 GB, free: 7.121 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.968e-05/0.5938, allocations: 20 kB / 0.4952 GB, free: 7.102 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.798e-06/0.5938, allocations: 0 / 0.4952 GB, free: 7.102 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002196/0.594, allocations: 93.58 kB / 0.4953 GB, free: 7.004 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/0.594, allocations: 8 kB / 0.4953 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.924e-06/0.5941, allocations: 0 / 0.4953 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5941, allocations: 0 / 0.4953 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.5942, allocations: 19.97 kB / 0.4953 GB, free: 6.977 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.319e-06/0.5942, allocations: 4 kB / 0.4953 GB, free: 6.973 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.213e-05/0.5943, allocations: 7.922 kB / 0.4953 GB, free: 6.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.5943, allocations: 8 kB / 0.4953 GB, free: 6.957 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 9.556e-05/0.5944, allocations: 108.9 kB / 0.4954 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.5945, allocations: 11.81 kB / 0.4954 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002852/0.5948, allocations: 118.2 kB / 0.4955 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.5948, allocations: 0 / 0.4955 GB, free: 6.715 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.83e-06/0.5948, allocations: 4 kB / 0.4956 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.425e-06/0.5948, allocations: 0 / 0.4956 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.5954, allocations: 407.3 kB / 0.4959 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.411e-06/0.5954, allocations: 288 / 0.4959 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.5955, allocations: 8 kB / 0.4959 GB, free: 6.246 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.903e-06/0.5955, allocations: 4 kB / 0.496 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.5956, allocations: 7.922 kB / 0.496 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.735e-06/0.5956, allocations: 0 / 0.496 GB, free: 6.234 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.965e-06/0.5956, allocations: 11.97 kB / 0.496 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.5959, allocations: 217.8 kB / 0.4962 GB, free: 5.984 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.459e-05/0.596, allocations: 93.02 kB / 0.4963 GB, free: 5.875 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.268e-05/0.596, allocations: 3.984 kB / 0.4963 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.5962, allocations: 4 kB / 0.4963 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.5962, allocations: 15.94 kB / 0.4963 GB, free: 5.852 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.5962, allocations: 8 kB / 0.4963 GB, free: 5.844 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.5964, allocations: 135.9 kB / 0.4964 GB, free: 5.715 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.5964, allocations: 0 / 0.4964 GB, free: 5.715 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.5968, allocations: 31.98 kB / 0.4965 GB, free: 5.684 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.001589/0.5984, allocations: 470.1 kB / 0.4969 GB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001818/0.5986, allocations: 59.94 kB / 0.497 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.411e-06/0.5986, allocations: 0 / 0.497 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.395e-05/0.5987, allocations: 27.98 kB / 0.497 GB, free: 5.266 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.599, allocations: 31.92 kB / 0.497 GB, free: 5.234 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.5995, allocations: 162.2 kB / 0.4972 GB, free: 5.043 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.5999, allocations: 0.7084 MB / 0.4979 GB, free: 4.309 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.974e-05/0.6, allocations: 24.7 kB / 0.4979 GB, free: 4.285 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.6001, allocations: 19.44 kB / 0.4979 GB, free: 4.266 MB / 410.7 MB Notification: Performance of SimCode: time 1.398e-06/0.6001, allocations: 0 / 0.4979 GB, free: 4.266 MB / 410.7 MB Notification: Performance of Templates: time 0.005695/0.6058, allocations: 1.683 MB / 0.4996 GB, free: 2.594 MB / 410.7 MB