Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 270.1 MB / 283.6 MB, free: 3.086 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.776e-05, allocations: 7.234 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1241, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6098/0.734, allocations: 89.28 MB / 499.6 MB, free: 14.81 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000389/0.7344, allocations: 72.47 kB / 499.6 MB, free: 14.74 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03359/0.768, allocations: 5.451 MB / 0.4933 GB, free: 9.289 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.34e-06/0.7681, allocations: 0 / 0.4933 GB, free: 9.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.792e-05/0.7681, allocations: 4 kB / 0.4933 GB, free: 9.285 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.0007669/0.7689, allocations: 402.1 kB / 0.4936 GB, free: 8.848 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.769, allocations: 8.031 kB / 0.4936 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.221e-05/0.7691, allocations: 7.906 kB / 0.4937 GB, free: 8.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005243/0.7696, allocations: 209.3 kB / 0.4939 GB, free: 8.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.7697, allocations: 3.953 kB / 0.4939 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.7698, allocations: 7.938 kB / 0.4939 GB, free: 8.578 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.77, allocations: 53.67 kB / 0.4939 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.77, allocations: 4 kB / 0.4939 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.7701, allocations: 0 / 0.4939 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.798e-06/0.7701, allocations: 0 / 0.4939 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001297/0.7702, allocations: 19.98 kB / 0.4939 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006792/0.7709, allocations: 300.7 kB / 0.4942 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.7712, allocations: 58.62 kB / 0.4943 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.7713, allocations: 20.98 kB / 0.4943 GB, free: 8.062 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.7714, allocations: 3.984 kB / 0.4943 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.7716, allocations: 71.39 kB / 0.4944 GB, free: 7.977 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.56e-06/0.7717, allocations: 0 / 0.4944 GB, free: 7.977 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008631/0.7726, allocations: 149.3 kB / 0.4945 GB, free: 7.824 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.7726, allocations: 55.41 kB / 0.4946 GB, free: 7.758 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003544/0.773, allocations: 162.2 kB / 0.4947 GB, free: 7.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/0.7731, allocations: 29.7 kB / 0.4948 GB, free: 7.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.7732, allocations: 100 kB / 0.4948 GB, free: 7.457 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.034e-05/0.7733, allocations: 23.73 kB / 0.4949 GB, free: 7.434 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.011e-05/0.7733, allocations: 0 / 0.4949 GB, free: 7.434 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002227/0.7736, allocations: 326.8 kB / 0.4952 GB, free: 7.105 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.7737, allocations: 20 kB / 0.4952 GB, free: 7.086 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001247/0.7738, allocations: 29.72 kB / 0.4952 GB, free: 7.051 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.774, allocations: 32.05 kB / 0.4953 GB, free: 7.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.317e-05/0.774, allocations: 4 kB / 0.4953 GB, free: 7.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003947/0.7744, allocations: 97.42 kB / 0.4954 GB, free: 6.914 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.469e-05/0.7745, allocations: 4 kB / 0.4954 GB, free: 6.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.7745, allocations: 3.984 kB / 0.4954 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.7746, allocations: 4 kB / 0.4954 GB, free: 6.902 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/0.7748, allocations: 16 kB / 0.4954 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.7748, allocations: 0 / 0.4954 GB, free: 6.887 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001248/0.775, allocations: 7.938 kB / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.775, allocations: 12.02 kB / 0.4954 GB, free: 6.867 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.0001378/0.7752, allocations: 108.9 kB / 0.4955 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.7752, allocations: 11.91 kB / 0.4955 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.7757, allocations: 110.2 kB / 0.4956 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.7758, allocations: 4 kB / 0.4956 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.077e-06/0.7758, allocations: 0 / 0.4956 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.608e-06/0.7758, allocations: 288 / 0.4956 GB, free: 6.629 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.7768, allocations: 411.2 kB / 0.496 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.482e-06/0.7769, allocations: 0 / 0.496 GB, free: 6.168 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.777, allocations: 11.94 kB / 0.496 GB, free: 6.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.531e-05/0.777, allocations: 4 kB / 0.496 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.7771, allocations: 11.92 kB / 0.496 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.601e-06/0.7771, allocations: 0 / 0.496 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.438e-06/0.7771, allocations: 0 / 0.496 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000494/0.7776, allocations: 217.9 kB / 0.4963 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.7778, allocations: 93 kB / 0.4963 GB, free: 5.793 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.162e-05/0.7778, allocations: 4 kB / 0.4963 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.7781, allocations: 4 kB / 0.4964 GB, free: 5.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.7782, allocations: 11.94 kB / 0.4964 GB, free: 5.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.7782, allocations: 4 kB / 0.4964 GB, free: 5.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002597/0.7785, allocations: 134.1 kB / 0.4965 GB, free: 5.641 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.574e-06/0.7785, allocations: 4 kB / 0.4965 GB, free: 5.637 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007107/0.7793, allocations: 35.94 kB / 0.4965 GB, free: 5.602 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.002658/0.7819, allocations: 457.1 kB / 0.497 GB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003377/0.7823, allocations: 55.98 kB / 0.497 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.545e-06/0.7823, allocations: 0 / 0.497 GB, free: 5.223 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.7825, allocations: 32.06 kB / 0.4971 GB, free: 5.191 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006038/0.7831, allocations: 27.92 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.0007622/0.7839, allocations: 155.2 kB / 0.4972 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.7846, allocations: 0.7043 MB / 0.4979 GB, free: 4.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.7848, allocations: 28.7 kB / 0.4979 GB, free: 4.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.071e-05/0.7849, allocations: 19.44 kB / 0.498 GB, free: 4.203 MB / 410.7 MB Notification: Performance of SimCode: time 2.332e-06/0.7849, allocations: 0 / 0.498 GB, free: 4.203 MB / 410.7 MB Notification: Performance of Templates: time 0.009694/0.7946, allocations: 1.648 MB / 0.4996 GB, free: 2.566 MB / 410.7 MB