Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.461/2.461, allocations: 270.1 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.749e-05/7.773e-05, allocations: 9.969 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1174, allocations: 61.9 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5752, allocations: 89.27 MB / 499.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.5755, allocations: 67.97 kB / 499.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02394/0.5995, allocations: 5.59 MB / 0.4934 GB, free: 9.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.557e-06/0.5995, allocations: 0 / 0.4934 GB, free: 9.211 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.5995, allocations: 0 / 0.4934 GB, free: 9.211 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.0005375/0.6001, allocations: 398.1 kB / 0.4938 GB, free: 8.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.6001, allocations: 12.03 kB / 0.4938 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.6002, allocations: 7.906 kB / 0.4938 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003855/0.6006, allocations: 222.3 kB / 0.494 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.6006, allocations: 7.953 kB / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/0.6007, allocations: 0 / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.6008, allocations: 57.61 kB / 0.4941 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.6008, allocations: 0 / 0.4941 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.6009, allocations: 0 / 0.4941 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-06/0.6009, allocations: 4 kB / 0.4941 GB, free: 8.426 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.965e-05/0.601, allocations: 19.98 kB / 0.4941 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.6014, allocations: 296.9 kB / 0.4944 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.6016, allocations: 58.56 kB / 0.4944 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.849e-05/0.6017, allocations: 20.97 kB / 0.4944 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.6017, allocations: 0 / 0.4944 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.6019, allocations: 63.41 kB / 0.4945 GB, free: 7.902 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.51e-06/0.6019, allocations: 0 / 0.4945 GB, free: 7.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005517/0.6025, allocations: 173.1 kB / 0.4947 GB, free: 7.727 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.6025, allocations: 51.41 kB / 0.4947 GB, free: 7.664 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.6028, allocations: 181.3 kB / 0.4949 GB, free: 7.477 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.6028, allocations: 29.7 kB / 0.4949 GB, free: 7.441 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.6029, allocations: 100.1 kB / 0.495 GB, free: 7.34 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.489e-05/0.603, allocations: 27.64 kB / 0.495 GB, free: 7.312 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-06/0.603, allocations: 0 / 0.495 GB, free: 7.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.6032, allocations: 326.8 kB / 0.4954 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.309e-05/0.6033, allocations: 24 kB / 0.4954 GB, free: 6.961 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.6033, allocations: 33.7 kB / 0.4954 GB, free: 6.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.814e-05/0.6034, allocations: 20 kB / 0.4954 GB, free: 6.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.6034, allocations: 0 / 0.4954 GB, free: 6.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002363/0.6037, allocations: 109.5 kB / 0.4955 GB, free: 6.789 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6037, allocations: 4 kB / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.582e-06/0.6037, allocations: 0 / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.6037, allocations: 4 kB / 0.4955 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.6039, allocations: 16.03 kB / 0.4956 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.535e-06/0.6039, allocations: 0 / 0.4956 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.524e-05/0.604, allocations: 7.984 kB / 0.4956 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.604, allocations: 4 kB / 0.4956 GB, free: 6.754 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.0001007/0.6041, allocations: 112.9 kB / 0.4957 GB, free: 6.637 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.594e-05/0.6042, allocations: 11.91 kB / 0.4957 GB, free: 6.625 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003108/0.6045, allocations: 123 kB / 0.4958 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.799e-06/0.6045, allocations: 0 / 0.4958 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.797e-06/0.6045, allocations: 4 kB / 0.4958 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.421e-06/0.6045, allocations: 3.984 kB / 0.4958 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006438/0.6052, allocations: 411.3 kB / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.764e-06/0.6052, allocations: 0 / 0.4962 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.6053, allocations: 11.98 kB / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.992e-06/0.6053, allocations: 0 / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.6053, allocations: 4 kB / 0.4962 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-06/0.6053, allocations: 4.219 kB / 0.4962 GB, free: 6.012 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.263e-06/0.6054, allocations: 4.031 kB / 0.4962 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.6057, allocations: 221.8 kB / 0.4964 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.6058, allocations: 100.9 kB / 0.4965 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.6058, allocations: 0 / 0.4965 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.606, allocations: 4 kB / 0.4965 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.606, allocations: 19.94 kB / 0.4966 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.6061, allocations: 0 / 0.4966 GB, free: 5.625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.6063, allocations: 151.2 kB / 0.4967 GB, free: 5.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.6063, allocations: 0 / 0.4967 GB, free: 5.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003856/0.6067, allocations: 35.94 kB / 0.4967 GB, free: 5.445 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.001622/0.6083, allocations: 468.4 kB / 0.4972 GB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001965/0.6085, allocations: 52 kB / 0.4972 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.321e-06/0.6085, allocations: 0 / 0.4972 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.898e-05/0.6086, allocations: 35.92 kB / 0.4973 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.609, allocations: 30.41 kB / 0.4973 GB, free: 5.004 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.6095, allocations: 178.4 kB / 0.4975 GB, free: 4.809 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.6099, allocations: 0.7161 MB / 0.4982 GB, free: 4.066 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.077e-05/0.61, allocations: 20.72 kB / 0.4982 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.234e-05/0.6101, allocations: 23.42 kB / 0.4982 GB, free: 4.023 MB / 410.7 MB Notification: Performance of SimCode: time 1.554e-06/0.6101, allocations: 0 / 0.4982 GB, free: 4.023 MB / 410.7 MB Notification: Performance of Templates: time 0.005925/0.6161, allocations: 1.688 MB / 0.4999 GB, free: 2.34 MB / 410.7 MB