Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadModel(ModelicaTest): time 2.528/2.528, allocations: 270.1 MB / 283.6 MB, free: 3.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.742e-05/3.757e-05, allocations: 5.969 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.5967, allocations: 89.27 MB / 499.6 MB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.597, allocations: 72.62 kB / 499.6 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03848/0.6355, allocations: 5.835 MB / 0.4936 GB, free: 8.934 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.739e-06/0.6356, allocations: 3.984 kB / 0.4936 GB, free: 8.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.6356, allocations: 0 / 0.4936 GB, free: 8.93 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.000912/0.6366, allocations: 402.2 kB / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/0.6366, allocations: 12.03 kB / 0.494 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001021/0.6368, allocations: 15.8 kB / 0.494 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006716/0.6375, allocations: 238.4 kB / 0.4943 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.479e-05/0.6375, allocations: 7.953 kB / 0.4943 GB, free: 8.184 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.6376, allocations: 4 kB / 0.4943 GB, free: 8.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002175/0.6378, allocations: 49.69 kB / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.6379, allocations: 0 / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.6379, allocations: 0 / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.6379, allocations: 7.984 kB / 0.4943 GB, free: 8.117 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.6381, allocations: 12 kB / 0.4943 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000828/0.6389, allocations: 316.8 kB / 0.4947 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002619/0.6392, allocations: 50.69 kB / 0.4947 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/0.6393, allocations: 24.92 kB / 0.4947 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.6394, allocations: 0 / 0.4947 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/0.6397, allocations: 63.39 kB / 0.4948 GB, free: 7.586 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.252e-06/0.6397, allocations: 8 kB / 0.4948 GB, free: 7.578 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009581/0.6407, allocations: 172.9 kB / 0.495 GB, free: 7.402 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.764e-05/0.6408, allocations: 51.41 kB / 0.495 GB, free: 7.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006943/0.6415, allocations: 237.8 kB / 0.4952 GB, free: 7.094 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.085e-05/0.6416, allocations: 25.7 kB / 0.4953 GB, free: 7.062 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.6417, allocations: 112.1 kB / 0.4954 GB, free: 6.949 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.628e-05/0.6418, allocations: 27.64 kB / 0.4954 GB, free: 6.922 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.6418, allocations: 0 / 0.4954 GB, free: 6.922 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.6421, allocations: 334.8 kB / 0.4957 GB, free: 6.586 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001138/0.6423, allocations: 20 kB / 0.4957 GB, free: 6.566 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.6424, allocations: 37.66 kB / 0.4958 GB, free: 6.523 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000125/0.6426, allocations: 19.98 kB / 0.4958 GB, free: 6.504 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.029e-06/0.6426, allocations: 0 / 0.4958 GB, free: 6.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004496/0.6431, allocations: 97.5 kB / 0.4959 GB, free: 6.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.6431, allocations: 4 kB / 0.4959 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6431, allocations: 3.984 kB / 0.4959 GB, free: 6.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.6432, allocations: 8.031 kB / 0.4959 GB, free: 6.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.6434, allocations: 15.94 kB / 0.4959 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.902e-06/0.6435, allocations: 0 / 0.4959 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/0.6436, allocations: 8 kB / 0.4959 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.6437, allocations: 3.984 kB / 0.4959 GB, free: 6.359 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.0001526/0.6439, allocations: 116.9 kB / 0.496 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.287e-05/0.644, allocations: 15.81 kB / 0.496 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005374/0.6445, allocations: 119.1 kB / 0.4962 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.591e-06/0.6446, allocations: 4 kB / 0.4962 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.87e-06/0.6446, allocations: 192 / 0.4962 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.6446, allocations: 4 kB / 0.4962 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.6458, allocations: 435.2 kB / 0.4966 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.017e-06/0.6458, allocations: 0 / 0.4966 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.646, allocations: 12 kB / 0.4966 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.378e-06/0.646, allocations: 0 / 0.4966 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.646, allocations: 0 / 0.4966 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.6461, allocations: 8.312 kB / 0.4966 GB, free: 5.586 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.001e-06/0.6461, allocations: 3.938 kB / 0.4966 GB, free: 5.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005688/0.6467, allocations: 225.8 kB / 0.4968 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.6469, allocations: 104.9 kB / 0.4969 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.544e-05/0.647, allocations: 0 / 0.4969 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002485/0.6472, allocations: 7.984 kB / 0.4969 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/0.6473, allocations: 15.94 kB / 0.4969 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.632e-05/0.6474, allocations: 4 kB / 0.4969 GB, free: 5.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004951/0.6479, allocations: 192.2 kB / 0.4971 GB, free: 5 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.213e-06/0.6479, allocations: 7.938 kB / 0.4971 GB, free: 4.992 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008342/0.6488, allocations: 39.92 kB / 0.4972 GB, free: 4.953 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.002938/0.6517, allocations: 451.7 kB / 0.4976 GB, free: 4.637 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000341/0.6521, allocations: 63.91 kB / 0.4977 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.395e-06/0.6521, allocations: 0 / 0.4977 GB, free: 4.574 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.6523, allocations: 24 kB / 0.4977 GB, free: 4.551 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006165/0.6529, allocations: 27.77 kB / 0.4977 GB, free: 4.523 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009795/0.6539, allocations: 230.9 kB / 0.4979 GB, free: 4.273 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006641/0.6546, allocations: 0.7278 MB / 0.4986 GB, free: 3.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000164/0.6548, allocations: 28.72 kB / 0.4987 GB, free: 3.488 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.655, allocations: 19.42 kB / 0.4987 GB, free: 3.469 MB / 410.7 MB Notification: Performance of SimCode: time 2.142e-06/0.655, allocations: 0 / 0.4987 GB, free: 3.469 MB / 410.7 MB Notification: Performance of Templates: time 0.01095/0.6659, allocations: 1.822 MB / 0.5005 GB, free: 1.66 MB / 410.7 MB