Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.615/2.615, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.278e-05/5.291e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1437, allocations: 61.9 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4108/0.5546, allocations: 89.24 MB / 499.5 MB, free: 14.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.5549, allocations: 75.97 kB / 499.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0229/0.5778, allocations: 5.421 MB / 0.4932 GB, free: 9.422 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.006e-06/0.5779, allocations: 0 / 0.4932 GB, free: 9.422 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5779, allocations: 0 / 0.4932 GB, free: 9.422 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.0005354/0.5784, allocations: 382.3 kB / 0.4936 GB, free: 9.004 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5785, allocations: 8.031 kB / 0.4936 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.5785, allocations: 11.91 kB / 0.4936 GB, free: 8.984 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003698/0.5789, allocations: 213.9 kB / 0.4938 GB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.323e-05/0.579, allocations: 11.95 kB / 0.4938 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.579, allocations: 7.906 kB / 0.4938 GB, free: 8.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.5792, allocations: 57.67 kB / 0.4938 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.5792, allocations: 0 / 0.4938 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.5792, allocations: 0 / 0.4938 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.5792, allocations: 0 / 0.4938 GB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.301e-05/0.5793, allocations: 19.98 kB / 0.4939 GB, free: 8.637 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.5798, allocations: 296.8 kB / 0.4942 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001833/0.58, allocations: 66.62 kB / 0.4942 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.5801, allocations: 16.98 kB / 0.4942 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.414e-05/0.5801, allocations: 0 / 0.4942 GB, free: 8.203 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.5802, allocations: 67.39 kB / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.63e-06/0.5803, allocations: 0 / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005584/0.5808, allocations: 153.2 kB / 0.4944 GB, free: 7.969 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.5809, allocations: 59.39 kB / 0.4945 GB, free: 7.898 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002465/0.5812, allocations: 173.3 kB / 0.4947 GB, free: 7.723 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.805e-05/0.5812, allocations: 25.7 kB / 0.4947 GB, free: 7.691 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.5813, allocations: 96.14 kB / 0.4948 GB, free: 7.594 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.5813, allocations: 23.7 kB / 0.4948 GB, free: 7.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-06/0.5814, allocations: 4 kB / 0.4948 GB, free: 7.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5815, allocations: 326.8 kB / 0.4951 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.56e-05/0.5816, allocations: 16 kB / 0.4951 GB, free: 7.223 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.146e-05/0.5817, allocations: 49.64 kB / 0.4952 GB, free: 7.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/0.5818, allocations: 15.98 kB / 0.4952 GB, free: 7.152 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-06/0.5818, allocations: 4 kB / 0.4952 GB, free: 7.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000233/0.582, allocations: 93.58 kB / 0.4953 GB, free: 7.051 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.5821, allocations: 4 kB / 0.4953 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.5821, allocations: 0 / 0.4953 GB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.5821, allocations: 4 kB / 0.4953 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.5822, allocations: 15.94 kB / 0.4953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.814e-06/0.5823, allocations: 4.031 kB / 0.4953 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.293e-05/0.5823, allocations: 15.92 kB / 0.4953 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.391e-05/0.5824, allocations: 4 kB / 0.4953 GB, free: 7.004 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.0001015/0.5825, allocations: 111.5 kB / 0.4954 GB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.5825, allocations: 15.81 kB / 0.4955 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.5828, allocations: 110.2 kB / 0.4956 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.415e-06/0.5829, allocations: 4 kB / 0.4956 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.335e-06/0.5829, allocations: 0 / 0.4956 GB, free: 6.762 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.665e-06/0.5829, allocations: 4 kB / 0.4956 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006392/0.5835, allocations: 411.4 kB / 0.496 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-06/0.5836, allocations: 0 / 0.496 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.353e-05/0.5836, allocations: 8 kB / 0.496 GB, free: 6.289 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.369e-06/0.5837, allocations: 3.984 kB / 0.496 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.5837, allocations: 8 kB / 0.496 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5837, allocations: 4.125 kB / 0.496 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.03e-06/0.5837, allocations: 0 / 0.496 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.584, allocations: 230.1 kB / 0.4962 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.5841, allocations: 97 kB / 0.4963 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.152e-05/0.5842, allocations: 0 / 0.4963 GB, free: 5.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.5843, allocations: 4 kB / 0.4963 GB, free: 5.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.5844, allocations: 15.94 kB / 0.4963 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.5844, allocations: 4 kB / 0.4963 GB, free: 5.887 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001806/0.5846, allocations: 143.2 kB / 0.4965 GB, free: 5.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.106e-06/0.5846, allocations: 0 / 0.4965 GB, free: 5.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003944/0.585, allocations: 35.92 kB / 0.4965 GB, free: 5.715 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.5866, allocations: 456.5 kB / 0.4969 GB, free: 5.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.5869, allocations: 63.92 kB / 0.497 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.993e-06/0.5869, allocations: 0 / 0.497 GB, free: 5.328 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.587, allocations: 28 kB / 0.497 GB, free: 5.301 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.5873, allocations: 26.42 kB / 0.497 GB, free: 5.277 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004652/0.5878, allocations: 162.2 kB / 0.4972 GB, free: 5.086 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004266/0.5882, allocations: 0.7123 MB / 0.4979 GB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.294e-05/0.5883, allocations: 16.41 kB / 0.4979 GB, free: 4.332 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.5884, allocations: 19.38 kB / 0.4979 GB, free: 4.312 MB / 410.7 MB Notification: Performance of SimCode: time 1.434e-06/0.5884, allocations: 0 / 0.4979 GB, free: 4.312 MB / 410.7 MB Notification: Performance of Templates: time 0.005896/0.5943, allocations: 1.682 MB / 0.4996 GB, free: 2.641 MB / 410.7 MB