Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 270.1 MB / 283.6 MB, free: 3.012 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.797e-05/3.804e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4983/0.6148, allocations: 89.11 MB / 499.4 MB, free: 14.99 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.6151, allocations: 67.97 kB / 499.5 MB, free: 14.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04023/0.6554, allocations: 6.649 MB / 0.4943 GB, free: 8.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.6554, allocations: 0 / 0.4943 GB, free: 8.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.927e-05/0.6555, allocations: 4 kB / 0.4943 GB, free: 8.281 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.00132/0.6568, allocations: 0.5948 MB / 0.4949 GB, free: 7.641 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.6569, allocations: 11.97 kB / 0.4949 GB, free: 7.629 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002124/0.6571, allocations: 55.33 kB / 0.4949 GB, free: 7.574 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.6588, allocations: 491 kB / 0.4954 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.6589, allocations: 11.95 kB / 0.4954 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.6589, allocations: 0 / 0.4954 GB, free: 7.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002953/0.6592, allocations: 79.38 kB / 0.4955 GB, free: 6.953 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.6593, allocations: 4 kB / 0.4955 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.6593, allocations: 0 / 0.4955 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.541e-06/0.6593, allocations: 0 / 0.4955 GB, free: 6.949 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.6595, allocations: 31.92 kB / 0.4955 GB, free: 6.918 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008997/0.6604, allocations: 390.3 kB / 0.4959 GB, free: 6.484 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003812/0.6608, allocations: 101.2 kB / 0.496 GB, free: 6.367 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.661, allocations: 41.8 kB / 0.496 GB, free: 6.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.6611, allocations: 3.938 kB / 0.496 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003375/0.6614, allocations: 105.1 kB / 0.4961 GB, free: 6.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 3.821e-06/0.6615, allocations: 0 / 0.4961 GB, free: 6.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007313/0.6622, allocations: 172.9 kB / 0.4963 GB, free: 6.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.022e-05/0.6623, allocations: 77.11 kB / 0.4964 GB, free: 5.926 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00322/0.6656, allocations: 0.9266 MB / 0.4973 GB, free: 4.988 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.6656, allocations: 41.69 kB / 0.4973 GB, free: 4.941 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003818/0.666, allocations: 224.1 kB / 0.4975 GB, free: 4.719 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.172e-05/0.6661, allocations: 27.64 kB / 0.4975 GB, free: 4.691 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.752e-05/0.6662, allocations: 4 kB / 0.4975 GB, free: 4.688 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003204/0.6665, allocations: 366.8 kB / 0.4979 GB, free: 4.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.6667, allocations: 24 kB / 0.4979 GB, free: 4.297 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.6669, allocations: 63.36 kB / 0.498 GB, free: 4.223 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.6671, allocations: 35.98 kB / 0.498 GB, free: 4.188 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6671, allocations: 0 / 0.498 GB, free: 4.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006689/0.6678, allocations: 164.9 kB / 0.4982 GB, free: 4.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.836e-05/0.6678, allocations: 4 kB / 0.4982 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.554e-06/0.6678, allocations: 0 / 0.4982 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.492e-05/0.6679, allocations: 4 kB / 0.4982 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.6682, allocations: 19.98 kB / 0.4982 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.732e-05/0.6682, allocations: 4 kB / 0.4982 GB, free: 3.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000306/0.6685, allocations: 19.98 kB / 0.4982 GB, free: 3.969 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.888e-05/0.6686, allocations: 4 kB / 0.4982 GB, free: 3.965 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.0001614/0.6688, allocations: 113 kB / 0.4983 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.669, allocations: 59.23 kB / 0.4984 GB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007558/0.6698, allocations: 197.8 kB / 0.4986 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.6698, allocations: 4 kB / 0.4986 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.789e-06/0.6698, allocations: 0 / 0.4986 GB, free: 3.582 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.6699, allocations: 4 kB / 0.4986 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008464/0.6707, allocations: 393.2 kB / 0.499 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-06/0.6707, allocations: 0 / 0.499 GB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.6709, allocations: 11.98 kB / 0.499 GB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.6709, allocations: 7.953 kB / 0.499 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.276e-05/0.6709, allocations: 0 / 0.499 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.172e-06/0.671, allocations: 0 / 0.499 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.164e-06/0.671, allocations: 0 / 0.499 GB, free: 3.125 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007227/0.6717, allocations: 223 kB / 0.4992 GB, free: 2.879 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005613/0.6723, allocations: 204.3 kB / 0.4994 GB, free: 2.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.6725, allocations: 4 kB / 0.4994 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002852/0.6728, allocations: 7.984 kB / 0.4994 GB, free: 2.648 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.377e-05/0.6729, allocations: 15.98 kB / 0.4994 GB, free: 2.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.6729, allocations: 7.938 kB / 0.4994 GB, free: 2.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002186/0.6751, allocations: 0.7435 MB / 0.5001 GB, free: 1.883 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.141e-06/0.6752, allocations: 4 kB / 0.5001 GB, free: 1.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008705/0.6761, allocations: 80 kB / 0.5002 GB, free: 1.801 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.002283/0.6784, allocations: 407.3 kB / 0.5006 GB, free: 1.508 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.6788, allocations: 75.92 kB / 0.5007 GB, free: 1.434 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.402e-06/0.6788, allocations: 0 / 0.5007 GB, free: 1.434 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.679, allocations: 43.98 kB / 0.5007 GB, free: 1.391 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.6799, allocations: 66.69 kB / 0.5008 GB, free: 1.328 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00276/0.6827, allocations: 0.7832 MB / 0.5016 GB, free: 0.5195 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.6838, allocations: 0.8507 MB / 0.5024 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.6842, allocations: 91.44 kB / 0.5025 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000254/0.6845, allocations: 35.44 kB / 0.5025 GB, free: 15.52 MB / 426.7 MB Notification: Performance of SimCode: time 2.22e-06/0.6845, allocations: 0 / 0.5025 GB, free: 15.52 MB / 426.7 MB Notification: Performance of Templates: time 0.01845/0.703, allocations: 4.56 MB / 0.507 GB, free: 10.98 MB / 426.7 MB