Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270.1 MB / 283.6 MB, free: 3.02 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.524e-05/5.536e-05, allocations: 8 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1484, allocations: 61.9 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5473/0.6958, allocations: 89.23 MB / 499.5 MB, free: 14.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004515/0.6964, allocations: 73.28 kB / 499.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02694/0.7233, allocations: 5.32 MB / 0.4931 GB, free: 9.512 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.7234, allocations: 0 / 0.4931 GB, free: 9.512 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.7234, allocations: 0 / 0.4931 GB, free: 9.512 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.0005272/0.7239, allocations: 386.2 kB / 0.4935 GB, free: 9.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.724, allocations: 12.03 kB / 0.4935 GB, free: 9.078 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.724, allocations: 7.906 kB / 0.4935 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.7244, allocations: 207.4 kB / 0.4937 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.918e-05/0.7244, allocations: 3.953 kB / 0.4937 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.7245, allocations: 8 kB / 0.4937 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001428/0.7246, allocations: 61.59 kB / 0.4937 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.7246, allocations: 0 / 0.4937 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7247, allocations: 0 / 0.4937 GB, free: 8.746 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.058e-06/0.7247, allocations: 4 kB / 0.4937 GB, free: 8.742 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.204e-05/0.7248, allocations: 15.98 kB / 0.4938 GB, free: 8.727 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.7252, allocations: 292.9 kB / 0.494 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.7254, allocations: 54.69 kB / 0.4941 GB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.771e-05/0.7255, allocations: 28.86 kB / 0.4941 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.7255, allocations: 0 / 0.4941 GB, free: 8.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.7257, allocations: 67.39 kB / 0.4942 GB, free: 8.219 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 6.334e-06/0.7257, allocations: 4 kB / 0.4942 GB, free: 8.215 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005297/0.7262, allocations: 153.2 kB / 0.4943 GB, free: 8.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.094e-05/0.7263, allocations: 55.41 kB / 0.4944 GB, free: 7.992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002169/0.7265, allocations: 153.3 kB / 0.4945 GB, free: 7.832 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.495e-05/0.7266, allocations: 25.7 kB / 0.4946 GB, free: 7.801 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.7267, allocations: 100.1 kB / 0.4946 GB, free: 7.699 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.975e-05/0.7267, allocations: 19.72 kB / 0.4947 GB, free: 7.68 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.7267, allocations: 0 / 0.4947 GB, free: 7.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000169/0.7269, allocations: 326.8 kB / 0.495 GB, free: 7.352 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.935e-05/0.727, allocations: 24 kB / 0.495 GB, free: 7.328 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.7271, allocations: 33.7 kB / 0.495 GB, free: 7.289 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.062e-05/0.7271, allocations: 23.98 kB / 0.4951 GB, free: 7.266 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.831e-06/0.7272, allocations: 0 / 0.4951 GB, free: 7.266 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000231/0.7274, allocations: 101.5 kB / 0.4952 GB, free: 7.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.7274, allocations: 4 kB / 0.4952 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.869e-06/0.7274, allocations: 0 / 0.4952 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.7275, allocations: 0 / 0.4952 GB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.7276, allocations: 20.03 kB / 0.4952 GB, free: 7.137 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.244e-06/0.7276, allocations: 3.984 kB / 0.4952 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.7277, allocations: 4 kB / 0.4952 GB, free: 7.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.7277, allocations: 0 / 0.4952 GB, free: 7.129 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.0001044/0.7278, allocations: 117.6 kB / 0.4953 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.7279, allocations: 11.81 kB / 0.4953 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003157/0.7282, allocations: 118.2 kB / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.7282, allocations: 0 / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.124e-06/0.7282, allocations: 4 kB / 0.4954 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.189e-06/0.7283, allocations: 0 / 0.4954 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.7289, allocations: 399.3 kB / 0.4958 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.092e-06/0.7289, allocations: 0 / 0.4958 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/0.729, allocations: 11.94 kB / 0.4958 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.729, allocations: 4 kB / 0.4958 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.729, allocations: 4 kB / 0.4958 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.954e-06/0.729, allocations: 0 / 0.4958 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.087e-06/0.729, allocations: 7.969 kB / 0.4958 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.7293, allocations: 218.1 kB / 0.496 GB, free: 6.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.248e-05/0.7294, allocations: 96.91 kB / 0.4961 GB, free: 6.047 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.7295, allocations: 4 kB / 0.4961 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.7296, allocations: 0 / 0.4961 GB, free: 6.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.7297, allocations: 19.94 kB / 0.4962 GB, free: 6.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.7297, allocations: 4 kB / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001465/0.7299, allocations: 122.5 kB / 0.4963 GB, free: 5.902 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.7299, allocations: 0 / 0.4963 GB, free: 5.902 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.7302, allocations: 31.98 kB / 0.4963 GB, free: 5.871 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.00162/0.7319, allocations: 463 kB / 0.4967 GB, free: 5.543 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.7321, allocations: 56 kB / 0.4968 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.448e-06/0.7321, allocations: 0 / 0.4968 GB, free: 5.488 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.7322, allocations: 32.08 kB / 0.4968 GB, free: 5.457 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.7325, allocations: 28.12 kB / 0.4969 GB, free: 5.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.733, allocations: 150.7 kB / 0.497 GB, free: 5.254 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.7334, allocations: 0.7084 MB / 0.4977 GB, free: 4.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.01e-05/0.7335, allocations: 12.55 kB / 0.4977 GB, free: 4.508 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.7335, allocations: 19.38 kB / 0.4977 GB, free: 4.488 MB / 410.7 MB Notification: Performance of SimCode: time 1.495e-06/0.7335, allocations: 0 / 0.4977 GB, free: 4.488 MB / 410.7 MB Notification: Performance of Templates: time 0.0059/0.7395, allocations: 1.631 MB / 0.4993 GB, free: 2.867 MB / 410.7 MB