Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.424e-05, allocations: 7.234 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.176, allocations: 61.9 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4634/0.6395, allocations: 89.11 MB / 499.4 MB, free: 15 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002447/0.6398, allocations: 77.33 kB / 499.5 MB, free: 14.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02576/0.6656, allocations: 6.596 MB / 0.4942 GB, free: 8.332 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.955e-06/0.6656, allocations: 0 / 0.4942 GB, free: 8.332 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.064e-05/0.6657, allocations: 15.98 kB / 0.4942 GB, free: 8.316 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008913/0.6666, allocations: 0.5894 MB / 0.4948 GB, free: 7.684 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.6667, allocations: 8.031 kB / 0.4948 GB, free: 7.676 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.6668, allocations: 47.44 kB / 0.4949 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00108/0.6679, allocations: 483 kB / 0.4953 GB, free: 7.117 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.172e-05/0.6679, allocations: 7.938 kB / 0.4953 GB, free: 7.109 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.668, allocations: 7.984 kB / 0.4953 GB, free: 7.102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.6682, allocations: 83.38 kB / 0.4954 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.371e-06/0.6682, allocations: 0 / 0.4954 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.6682, allocations: 0 / 0.4954 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.6682, allocations: 0 / 0.4954 GB, free: 7.008 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.6684, allocations: 31.98 kB / 0.4954 GB, free: 6.977 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.6689, allocations: 374.3 kB / 0.4958 GB, free: 6.559 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.6692, allocations: 109.3 kB / 0.4959 GB, free: 6.434 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.493e-05/0.6693, allocations: 33.72 kB / 0.4959 GB, free: 6.395 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.6693, allocations: 8.062 kB / 0.4959 GB, free: 6.387 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.6696, allocations: 112.9 kB / 0.4961 GB, free: 6.258 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.701e-06/0.6696, allocations: 0 / 0.4961 GB, free: 6.258 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.000475/0.6701, allocations: 169 kB / 0.4962 GB, free: 6.086 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.6702, allocations: 81.11 kB / 0.4963 GB, free: 5.988 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001809/0.672, allocations: 0.907 MB / 0.4972 GB, free: 5.074 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.672, allocations: 25.7 kB / 0.4972 GB, free: 5.043 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.6723, allocations: 228.1 kB / 0.4974 GB, free: 4.816 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.77e-05/0.6724, allocations: 27.64 kB / 0.4975 GB, free: 4.789 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/0.6724, allocations: 12 kB / 0.4975 GB, free: 4.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002268/0.6726, allocations: 362.8 kB / 0.4978 GB, free: 4.414 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.23e-05/0.6727, allocations: 24 kB / 0.4978 GB, free: 4.391 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001075/0.6728, allocations: 55.42 kB / 0.4979 GB, free: 4.324 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.443e-05/0.673, allocations: 27.98 kB / 0.4979 GB, free: 4.297 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.098e-06/0.673, allocations: 4 kB / 0.4979 GB, free: 4.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003952/0.6734, allocations: 172.8 kB / 0.4981 GB, free: 4.117 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.6734, allocations: 4 kB / 0.4981 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.771e-06/0.6734, allocations: 0 / 0.4981 GB, free: 4.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6734, allocations: 4 kB / 0.4981 GB, free: 4.109 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.6736, allocations: 19.98 kB / 0.4981 GB, free: 4.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.6737, allocations: 4 kB / 0.4981 GB, free: 4.086 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.6738, allocations: 11.91 kB / 0.4981 GB, free: 4.074 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.6739, allocations: 7.984 kB / 0.4981 GB, free: 4.066 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.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001183/0.674, allocations: 121 kB / 0.4982 GB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.6741, allocations: 55.33 kB / 0.4983 GB, free: 3.887 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004625/0.6746, allocations: 185.8 kB / 0.4985 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.887e-06/0.6746, allocations: 0 / 0.4985 GB, free: 3.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.76e-06/0.6746, allocations: 8 kB / 0.4985 GB, free: 3.688 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.563e-06/0.6747, allocations: 4 kB / 0.4985 GB, free: 3.684 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.6752, allocations: 385.2 kB / 0.4989 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.958e-06/0.6752, allocations: 0 / 0.4989 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.321e-05/0.6753, allocations: 15.98 kB / 0.4989 GB, free: 3.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.032e-05/0.6753, allocations: 7.953 kB / 0.4989 GB, free: 3.234 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.6753, allocations: 4 kB / 0.4989 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.003e-06/0.6753, allocations: 0 / 0.4989 GB, free: 3.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.631e-06/0.6754, allocations: 4 kB / 0.4989 GB, free: 3.227 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004454/0.6758, allocations: 203.7 kB / 0.4991 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.6762, allocations: 200.4 kB / 0.4993 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.457e-05/0.6763, allocations: 4 kB / 0.4993 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.6764, allocations: 23.86 kB / 0.4993 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.6765, allocations: 11.97 kB / 0.4993 GB, free: 2.746 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.6765, allocations: 7.938 kB / 0.4993 GB, free: 2.738 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001257/0.6778, allocations: 0.724 MB / 0.5 GB, free: 2.016 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.6778, allocations: 0 / 0.5 GB, free: 2.016 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004698/0.6783, allocations: 79.94 kB / 0.5001 GB, free: 1.938 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.00146/0.6798, allocations: 410.8 kB / 0.5005 GB, free: 1.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002599/0.68, allocations: 71.94 kB / 0.5006 GB, free: 1.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.274e-06/0.6801, allocations: 4.125 kB / 0.5006 GB, free: 1.566 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001221/0.6802, allocations: 43.92 kB / 0.5006 GB, free: 1.523 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004881/0.6807, allocations: 68.23 kB / 0.5007 GB, free: 1.461 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.6823, allocations: 0.7442 MB / 0.5014 GB, free: 0.6914 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.683, allocations: 0.8507 MB / 0.5022 GB, free: 15.82 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.6833, allocations: 90.94 kB / 0.5023 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.6834, allocations: 43.42 kB / 0.5024 GB, free: 15.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.766e-06/0.6835, allocations: 0 / 0.5024 GB, free: 15.68 MB / 426.7 MB Notification: Performance of Templates: time 0.01397/0.6974, allocations: 4.474 MB / 0.5067 GB, free: 11.23 MB / 426.7 MB