Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 270 MB / 283.6 MB, free: 1.738 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.162e-05/4.179e-05, allocations: 4 kB / 348.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4284/0.4285, allocations: 61.88 MB / 410.3 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.5674, allocations: 89.27 MB / 499.6 MB, free: 1.258 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.5677, allocations: 75.95 kB / 499.6 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.038/0.6057, allocations: 5.559 MB / 0.4934 GB, free: 11.61 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.855e-06/0.6058, allocations: 4 kB / 0.4934 GB, free: 11.61 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.6058, allocations: 0 / 0.4934 GB, free: 11.61 MB / 426.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.0009899/0.6069, allocations: 405.2 kB / 0.4938 GB, free: 11.17 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.977e-05/0.607, allocations: 16.02 kB / 0.4938 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.5e-05/0.6071, allocations: 7.906 kB / 0.4938 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/0.6078, allocations: 207.5 kB / 0.494 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.786e-05/0.6079, allocations: 7.938 kB / 0.494 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/0.6079, allocations: 8 kB / 0.494 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002517/0.6082, allocations: 49.69 kB / 0.494 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.776e-05/0.6083, allocations: 4 kB / 0.494 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.086e-05/0.6083, allocations: 7.875 kB / 0.494 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.6084, allocations: 4 kB / 0.4941 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001484/0.6085, allocations: 19.98 kB / 0.4941 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008686/0.6094, allocations: 300.9 kB / 0.4944 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003037/0.6098, allocations: 62.62 kB / 0.4944 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001158/0.6099, allocations: 16.98 kB / 0.4944 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.6099, allocations: 0 / 0.4944 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.6102, allocations: 71.33 kB / 0.4945 GB, free: 10.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.504e-06/0.6103, allocations: 0 / 0.4945 GB, free: 10.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001029/0.6113, allocations: 145.3 kB / 0.4946 GB, free: 10.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.524e-05/0.6114, allocations: 59.34 kB / 0.4947 GB, free: 10.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005415/0.612, allocations: 182.2 kB / 0.4949 GB, free: 9.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.6121, allocations: 33.7 kB / 0.4949 GB, free: 9.836 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001465/0.6123, allocations: 104 kB / 0.495 GB, free: 9.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.431e-05/0.6124, allocations: 19.75 kB / 0.495 GB, free: 9.711 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.732e-05/0.6124, allocations: 4 kB / 0.495 GB, free: 9.707 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002875/0.6127, allocations: 326.8 kB / 0.4953 GB, free: 9.379 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.6129, allocations: 20 kB / 0.4954 GB, free: 9.359 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.6131, allocations: 37.7 kB / 0.4954 GB, free: 9.316 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.6132, allocations: 16 kB / 0.4954 GB, free: 9.301 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.415e-06/0.6132, allocations: 0 / 0.4954 GB, free: 9.301 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005027/0.6138, allocations: 109.4 kB / 0.4955 GB, free: 9.188 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.6138, allocations: 4 kB / 0.4955 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.035e-06/0.6138, allocations: 0 / 0.4955 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.6139, allocations: 4 kB / 0.4955 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.6141, allocations: 12 kB / 0.4955 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.725e-05/0.6142, allocations: 3.984 kB / 0.4955 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.6144, allocations: 12.03 kB / 0.4955 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.6144, allocations: 4 kB / 0.4956 GB, free: 9.148 MB / 426.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.0001794/0.6146, allocations: 112.9 kB / 0.4957 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.707e-05/0.6147, allocations: 11.91 kB / 0.4957 GB, free: 9.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005917/0.6153, allocations: 115.3 kB / 0.4958 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6154, allocations: 0 / 0.4958 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.352e-06/0.6154, allocations: 96 / 0.4958 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/0.6154, allocations: 3.938 kB / 0.4958 GB, free: 8.898 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.6167, allocations: 415.3 kB / 0.4962 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.6167, allocations: 7.984 kB / 0.4962 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.6168, allocations: 11.94 kB / 0.4962 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.097e-06/0.6169, allocations: 0 / 0.4962 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.6169, allocations: 4 kB / 0.4962 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.877e-06/0.617, allocations: 3.938 kB / 0.4962 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.248e-06/0.617, allocations: 0 / 0.4962 GB, free: 8.406 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.6176, allocations: 221.9 kB / 0.4964 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001664/0.6178, allocations: 92.91 kB / 0.4965 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.163e-05/0.6179, allocations: 8.188 kB / 0.4965 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.6182, allocations: 11.98 kB / 0.4965 GB, free: 8.035 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.889e-05/0.6183, allocations: 11.94 kB / 0.4965 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.473e-05/0.6183, allocations: 0 / 0.4965 GB, free: 8.023 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003971/0.6188, allocations: 159.5 kB / 0.4967 GB, free: 7.871 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.349e-06/0.6188, allocations: 0 / 0.4967 GB, free: 7.871 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001237/0.62, allocations: 35.94 kB / 0.4967 GB, free: 7.836 MB / 426.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.003236/0.6233, allocations: 450.2 kB / 0.4972 GB, free: 7.539 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003753/0.6237, allocations: 55.94 kB / 0.4972 GB, free: 7.484 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.2e-05/0.6238, allocations: 8 kB / 0.4972 GB, free: 7.477 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001743/0.624, allocations: 32.09 kB / 0.4972 GB, free: 7.445 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.6247, allocations: 28.11 kB / 0.4973 GB, free: 7.418 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008761/0.6256, allocations: 182.3 kB / 0.4974 GB, free: 7.219 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.6263, allocations: 0.7121 MB / 0.4981 GB, free: 6.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.6266, allocations: 20.48 kB / 0.4982 GB, free: 6.461 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6267, allocations: 19.42 kB / 0.4982 GB, free: 6.441 MB / 426.7 MB Notification: Performance of SimCode: time 2.34e-06/0.6267, allocations: 0 / 0.4982 GB, free: 6.441 MB / 426.7 MB Notification: Performance of Templates: time 0.01172/0.6385, allocations: 1.7 MB / 0.4998 GB, free: 4.75 MB / 426.7 MB