Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.622/2.622, allocations: 270 MB / 283.6 MB, free: 1.906 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.641e-05/3.664e-05, allocations: 8 kB / 348.4 MB, free: 2.801 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3344, allocations: 61.88 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1859/0.5204, allocations: 89.29 MB / 499.6 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/0.5208, allocations: 67.97 kB / 499.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04031/0.5612, allocations: 5.637 MB / 0.4934 GB, free: 11.64 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.323e-06/0.5613, allocations: 3.938 kB / 0.4934 GB, free: 11.64 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.607e-05/0.5613, allocations: 4 kB / 0.4935 GB, free: 11.63 MB / 426.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.0008794/0.5622, allocations: 406.1 kB / 0.4938 GB, free: 11.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.311e-05/0.5623, allocations: 8.031 kB / 0.4938 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.257e-05/0.5624, allocations: 7.906 kB / 0.4939 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006297/0.5631, allocations: 224 kB / 0.4941 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.5631, allocations: 3.953 kB / 0.4941 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.5632, allocations: 4 kB / 0.4941 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002354/0.5634, allocations: 49.69 kB / 0.4941 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5635, allocations: 0 / 0.4941 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.5635, allocations: 0 / 0.4941 GB, free: 10.86 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5635, allocations: 7.922 kB / 0.4941 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.5637, allocations: 20 kB / 0.4941 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.5645, allocations: 304.8 kB / 0.4944 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002643/0.5648, allocations: 50.69 kB / 0.4945 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.5649, allocations: 16.98 kB / 0.4945 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.742e-05/0.565, allocations: 4 kB / 0.4945 GB, free: 10.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.5653, allocations: 71.33 kB / 0.4946 GB, free: 10.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.422e-06/0.5653, allocations: 0 / 0.4946 GB, free: 10.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009604/0.5663, allocations: 161.2 kB / 0.4947 GB, free: 10.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.51e-05/0.5664, allocations: 55.34 kB / 0.4948 GB, free: 10.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005267/0.5669, allocations: 197.4 kB / 0.495 GB, free: 9.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.077e-05/0.567, allocations: 29.7 kB / 0.495 GB, free: 9.848 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.5672, allocations: 104.1 kB / 0.4951 GB, free: 9.742 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.5673, allocations: 31.64 kB / 0.4951 GB, free: 9.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.097e-05/0.5673, allocations: 0 / 0.4951 GB, free: 9.711 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002679/0.5676, allocations: 326.8 kB / 0.4954 GB, free: 9.383 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.5677, allocations: 20 kB / 0.4955 GB, free: 9.363 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.5679, allocations: 29.72 kB / 0.4955 GB, free: 9.328 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.568, allocations: 27.97 kB / 0.4955 GB, free: 9.301 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/0.5681, allocations: 4 kB / 0.4955 GB, free: 9.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004481/0.5685, allocations: 97.59 kB / 0.4956 GB, free: 9.195 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/0.5686, allocations: 4 kB / 0.4956 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.5686, allocations: 8 kB / 0.4956 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/0.5687, allocations: 3.984 kB / 0.4956 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.5689, allocations: 12 kB / 0.4956 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.5689, allocations: 0 / 0.4956 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.5691, allocations: 8.094 kB / 0.4956 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.5692, allocations: 4 kB / 0.4956 GB, free: 9.156 MB / 426.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.0001652/0.5693, allocations: 124.1 kB / 0.4958 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.312e-05/0.5694, allocations: 15.91 kB / 0.4958 GB, free: 9.016 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005464/0.57, allocations: 115.2 kB / 0.4959 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.527e-06/0.57, allocations: 0 / 0.4959 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.297e-06/0.5701, allocations: 0 / 0.4959 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.5701, allocations: 4 kB / 0.4959 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001115/0.5712, allocations: 411.2 kB / 0.4963 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.056e-05/0.5713, allocations: 4 kB / 0.4963 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.5714, allocations: 19.95 kB / 0.4963 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.5714, allocations: 0 / 0.4963 GB, free: 8.402 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.343e-05/0.5715, allocations: 11.94 kB / 0.4963 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.644e-06/0.5715, allocations: 0 / 0.4963 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.108e-06/0.5715, allocations: 0 / 0.4963 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005509/0.5721, allocations: 217.9 kB / 0.4965 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.5723, allocations: 104.9 kB / 0.4966 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/0.5724, allocations: 0 / 0.4966 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.5726, allocations: 8 kB / 0.4966 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.155e-05/0.5727, allocations: 11.94 kB / 0.4967 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.83e-05/0.5728, allocations: 4 kB / 0.4967 GB, free: 8.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003913/0.5732, allocations: 160.2 kB / 0.4968 GB, free: 7.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.195e-06/0.5732, allocations: 0 / 0.4968 GB, free: 7.852 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008232/0.5741, allocations: 35.92 kB / 0.4968 GB, free: 7.816 MB / 426.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.002882/0.577, allocations: 459.9 kB / 0.4973 GB, free: 7.508 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003394/0.5773, allocations: 51.94 kB / 0.4973 GB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.736e-06/0.5774, allocations: 0 / 0.4973 GB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.5776, allocations: 35.92 kB / 0.4974 GB, free: 7.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000634/0.5782, allocations: 19.98 kB / 0.4974 GB, free: 7.402 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008558/0.5791, allocations: 183 kB / 0.4976 GB, free: 7.199 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.5798, allocations: 0.716 MB / 0.4983 GB, free: 6.457 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001522/0.5799, allocations: 16.84 kB / 0.4983 GB, free: 6.441 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.883e-05/0.5801, allocations: 15.44 kB / 0.4983 GB, free: 6.426 MB / 426.7 MB Notification: Performance of SimCode: time 2.368e-06/0.5801, allocations: 0 / 0.4983 GB, free: 6.426 MB / 426.7 MB Notification: Performance of Templates: time 0.01049/0.5906, allocations: 1.734 MB / 0.5 GB, free: 4.703 MB / 426.7 MB