Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.635/2.635, allocations: 270.1 MB / 283.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.482e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1189, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.594, allocations: 89.27 MB / 499.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000436/0.5945, allocations: 71.97 kB / 499.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04311/0.6377, allocations: 5.682 MB / 0.4935 GB, free: 9.113 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.208e-06/0.6377, allocations: 0 / 0.4935 GB, free: 9.113 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.616e-05/0.6378, allocations: 4 kB / 0.4935 GB, free: 9.109 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.0008517/0.6387, allocations: 402.1 kB / 0.4939 GB, free: 8.672 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.205e-05/0.6388, allocations: 12.03 kB / 0.4939 GB, free: 8.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.331e-05/0.6389, allocations: 15.81 kB / 0.4939 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.6395, allocations: 214.9 kB / 0.4941 GB, free: 8.395 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/0.6396, allocations: 3.953 kB / 0.4941 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.358e-05/0.6396, allocations: 7.938 kB / 0.4941 GB, free: 8.383 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.6399, allocations: 53.67 kB / 0.4942 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.6399, allocations: 0 / 0.4942 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.795e-05/0.64, allocations: 0 / 0.4942 GB, free: 8.324 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.64, allocations: 4 kB / 0.4942 GB, free: 8.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.6401, allocations: 19.98 kB / 0.4942 GB, free: 8.301 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.6409, allocations: 304.8 kB / 0.4945 GB, free: 7.953 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002577/0.6412, allocations: 54.62 kB / 0.4945 GB, free: 7.891 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.6413, allocations: 28.91 kB / 0.4945 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.675e-05/0.6413, allocations: 0 / 0.4945 GB, free: 7.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002419/0.6416, allocations: 67.41 kB / 0.4946 GB, free: 7.781 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 4.418e-06/0.6416, allocations: 0 / 0.4946 GB, free: 7.781 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008994/0.6425, allocations: 161.2 kB / 0.4948 GB, free: 7.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.6426, allocations: 51.41 kB / 0.4948 GB, free: 7.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.6432, allocations: 206.3 kB / 0.495 GB, free: 7.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.58e-05/0.6432, allocations: 25.7 kB / 0.495 GB, free: 7.309 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.6434, allocations: 108.1 kB / 0.4951 GB, free: 7.199 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.6434, allocations: 23.7 kB / 0.4952 GB, free: 7.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.6435, allocations: 4 kB / 0.4952 GB, free: 7.172 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.6437, allocations: 330.8 kB / 0.4955 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.6438, allocations: 20 kB / 0.4955 GB, free: 6.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.644, allocations: 33.72 kB / 0.4955 GB, free: 6.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.6441, allocations: 24.05 kB / 0.4956 GB, free: 6.758 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.291e-06/0.6442, allocations: 0 / 0.4956 GB, free: 6.758 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004127/0.6446, allocations: 101.4 kB / 0.4957 GB, free: 6.652 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.6446, allocations: 4 kB / 0.4957 GB, free: 6.648 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.432e-06/0.6447, allocations: 4.031 kB / 0.4957 GB, free: 6.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.6447, allocations: 3.984 kB / 0.4957 GB, free: 6.641 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002119/0.6449, allocations: 20 kB / 0.4957 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.645, allocations: 0 / 0.4957 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.6451, allocations: 0 / 0.4957 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.6452, allocations: 7.938 kB / 0.4957 GB, free: 6.613 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.0001493/0.6453, allocations: 117.6 kB / 0.4958 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.6454, allocations: 15.81 kB / 0.4958 GB, free: 6.477 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005038/0.6459, allocations: 119.1 kB / 0.4959 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.32e-06/0.646, allocations: 0 / 0.4959 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.669e-06/0.646, allocations: 0 / 0.4959 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.807e-06/0.646, allocations: 0 / 0.4959 GB, free: 6.352 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.6471, allocations: 423.2 kB / 0.4963 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.6472, allocations: 0 / 0.4963 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001055/0.6473, allocations: 8 kB / 0.4963 GB, free: 5.871 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.6473, allocations: 3.984 kB / 0.4963 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.6474, allocations: 8.031 kB / 0.4964 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.236e-05/0.6474, allocations: 0 / 0.4964 GB, free: 5.859 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.6474, allocations: 3.938 kB / 0.4964 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005169/0.6479, allocations: 226 kB / 0.4966 GB, free: 5.609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001407/0.6481, allocations: 100.9 kB / 0.4967 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.6482, allocations: 4 kB / 0.4967 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.6484, allocations: 7.984 kB / 0.4967 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.6485, allocations: 11.95 kB / 0.4967 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/0.6486, allocations: 4 kB / 0.4967 GB, free: 5.465 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003355/0.6489, allocations: 172.3 kB / 0.4969 GB, free: 5.297 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.149e-06/0.6489, allocations: 0 / 0.4969 GB, free: 5.297 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006896/0.6496, allocations: 35.94 kB / 0.4969 GB, free: 5.262 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.002458/0.6521, allocations: 464.3 kB / 0.4973 GB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002273/0.6524, allocations: 55.98 kB / 0.4974 GB, free: 4.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.814e-06/0.6524, allocations: 0 / 0.4974 GB, free: 4.875 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.512e-05/0.6525, allocations: 27.94 kB / 0.4974 GB, free: 4.848 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.6529, allocations: 31.91 kB / 0.4974 GB, free: 4.816 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005228/0.6534, allocations: 199.1 kB / 0.4976 GB, free: 4.598 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.6539, allocations: 0.716 MB / 0.4983 GB, free: 3.855 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000129/0.654, allocations: 20.84 kB / 0.4984 GB, free: 3.836 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.458e-05/0.6542, allocations: 23.38 kB / 0.4984 GB, free: 3.812 MB / 410.7 MB Notification: Performance of SimCode: time 2.667e-06/0.6542, allocations: 0 / 0.4984 GB, free: 3.812 MB / 410.7 MB Notification: Performance of Templates: time 0.006469/0.6607, allocations: 1.744 MB / 0.5001 GB, free: 2.078 MB / 410.7 MB