Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.755e-05, allocations: 7.938 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4213/0.534, allocations: 89.24 MB / 499.5 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.5343, allocations: 75.95 kB / 499.6 MB, free: 14.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02297/0.5573, allocations: 5.448 MB / 0.4932 GB, free: 9.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.853e-06/0.5573, allocations: 4 kB / 0.4932 GB, free: 9.324 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.5574, allocations: 0 / 0.4932 GB, free: 9.324 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.0005431/0.5579, allocations: 402.1 kB / 0.4936 GB, free: 8.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.558, allocations: 8.031 kB / 0.4936 GB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.558, allocations: 7.906 kB / 0.4936 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003771/0.5584, allocations: 222.3 kB / 0.4938 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.5585, allocations: 3.953 kB / 0.4938 GB, free: 8.609 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.5585, allocations: 8 kB / 0.4938 GB, free: 8.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001316/0.5586, allocations: 49.69 kB / 0.4939 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.5587, allocations: 0 / 0.4939 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.5587, allocations: 0 / 0.4939 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.446e-06/0.5587, allocations: 3.984 kB / 0.4939 GB, free: 8.543 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.643e-05/0.5588, allocations: 23.88 kB / 0.4939 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.5593, allocations: 296.9 kB / 0.4942 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.5594, allocations: 66.67 kB / 0.4943 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.719e-05/0.5595, allocations: 20.98 kB / 0.4943 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.5595, allocations: 0 / 0.4943 GB, free: 8.082 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.5597, allocations: 67.33 kB / 0.4943 GB, free: 8.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.657e-06/0.5597, allocations: 0 / 0.4943 GB, free: 8.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005457/0.5603, allocations: 149.2 kB / 0.4945 GB, free: 7.852 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.5604, allocations: 59.41 kB / 0.4945 GB, free: 7.781 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002694/0.5606, allocations: 182.2 kB / 0.4947 GB, free: 7.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.5607, allocations: 25.7 kB / 0.4947 GB, free: 7.562 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.5608, allocations: 108.1 kB / 0.4948 GB, free: 7.453 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.5608, allocations: 23.66 kB / 0.4949 GB, free: 7.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.062e-06/0.5608, allocations: 3.938 kB / 0.4949 GB, free: 7.426 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.561, allocations: 330.8 kB / 0.4952 GB, free: 7.094 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.735e-05/0.5611, allocations: 16 kB / 0.4952 GB, free: 7.078 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.448e-05/0.5612, allocations: 37.7 kB / 0.4952 GB, free: 7.035 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.5613, allocations: 28.05 kB / 0.4953 GB, free: 7.008 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.205e-06/0.5613, allocations: 0 / 0.4953 GB, free: 7.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002396/0.5616, allocations: 105.4 kB / 0.4954 GB, free: 6.898 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.5616, allocations: 4 kB / 0.4954 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-06/0.5616, allocations: 0 / 0.4954 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.5616, allocations: 0 / 0.4954 GB, free: 6.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/0.5618, allocations: 19.98 kB / 0.4954 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.887e-06/0.5618, allocations: 0 / 0.4954 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.042e-05/0.5619, allocations: 4.031 kB / 0.4954 GB, free: 6.871 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.5619, allocations: 8 kB / 0.4954 GB, free: 6.863 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.0001009/0.562, allocations: 111.5 kB / 0.4955 GB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.5621, allocations: 7.906 kB / 0.4955 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.5624, allocations: 123 kB / 0.4956 GB, free: 6.617 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.306e-06/0.5624, allocations: 4 kB / 0.4956 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.174e-06/0.5624, allocations: 0 / 0.4956 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.951e-06/0.5624, allocations: 0 / 0.4956 GB, free: 6.613 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006356/0.5631, allocations: 415.2 kB / 0.496 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-06/0.5631, allocations: 0 / 0.496 GB, free: 6.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.46e-05/0.5632, allocations: 8 kB / 0.496 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5632, allocations: 7.938 kB / 0.496 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.5632, allocations: 4 kB / 0.4961 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.5632, allocations: 288 / 0.4961 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.371e-06/0.5633, allocations: 7.938 kB / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.5636, allocations: 217.9 kB / 0.4963 GB, free: 5.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.5637, allocations: 96.91 kB / 0.4964 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.5637, allocations: 4 kB / 0.4964 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.5639, allocations: 192 / 0.4964 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.5639, allocations: 19.88 kB / 0.4964 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.5639, allocations: 8 kB / 0.4964 GB, free: 5.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001909/0.5641, allocations: 152 kB / 0.4965 GB, free: 5.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.5642, allocations: 0 / 0.4965 GB, free: 5.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003832/0.5645, allocations: 39.92 kB / 0.4966 GB, free: 5.551 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.001621/0.5662, allocations: 449.3 kB / 0.497 GB, free: 5.238 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.5664, allocations: 51.94 kB / 0.4971 GB, free: 5.188 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.042e-06/0.5664, allocations: 4.062 kB / 0.4971 GB, free: 5.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.243e-05/0.5665, allocations: 35.92 kB / 0.4971 GB, free: 5.148 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003463/0.5669, allocations: 30.36 kB / 0.4971 GB, free: 5.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.5674, allocations: 174.9 kB / 0.4973 GB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004092/0.5679, allocations: 0.7121 MB / 0.498 GB, free: 4.191 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.782e-05/0.568, allocations: 28.77 kB / 0.498 GB, free: 4.164 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.568, allocations: 19.42 kB / 0.498 GB, free: 4.145 MB / 410.7 MB Notification: Performance of SimCode: time 1.723e-06/0.5681, allocations: 0 / 0.498 GB, free: 4.145 MB / 410.7 MB Notification: Performance of Templates: time 0.006005/0.5741, allocations: 1.699 MB / 0.4997 GB, free: 2.457 MB / 410.7 MB