Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadModel(ModelicaTest): time 2.487/2.487, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.839e-05, allocations: 7.234 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1194, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4428/0.5623, allocations: 89.28 MB / 499.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5626, allocations: 75.95 kB / 499.7 MB, free: 14.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02515/0.5877, allocations: 5.822 MB / 0.4936 GB, free: 8.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.657e-06/0.5878, allocations: 8 kB / 0.4936 GB, free: 8.938 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.5878, allocations: 0 / 0.4936 GB, free: 8.938 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.0005708/0.5884, allocations: 410.1 kB / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5885, allocations: 12.03 kB / 0.494 GB, free: 8.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.5885, allocations: 11.81 kB / 0.494 GB, free: 8.469 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004043/0.5889, allocations: 234.4 kB / 0.4943 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.589, allocations: 7.953 kB / 0.4943 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.589, allocations: 4 kB / 0.4943 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.5892, allocations: 57.67 kB / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5892, allocations: 0 / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5892, allocations: 0 / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.446e-06/0.5892, allocations: 4 kB / 0.4943 GB, free: 8.121 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.083e-05/0.5893, allocations: 15.98 kB / 0.4944 GB, free: 8.105 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.5898, allocations: 312.8 kB / 0.4947 GB, free: 7.75 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.59, allocations: 54.69 kB / 0.4947 GB, free: 7.688 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.493e-05/0.5901, allocations: 24.92 kB / 0.4947 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.5901, allocations: 0 / 0.4947 GB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.5903, allocations: 67.39 kB / 0.4948 GB, free: 7.582 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.503e-06/0.5903, allocations: 0 / 0.4948 GB, free: 7.582 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005801/0.5909, allocations: 165 kB / 0.495 GB, free: 7.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.5909, allocations: 51.41 kB / 0.495 GB, free: 7.352 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003759/0.5913, allocations: 241.8 kB / 0.4952 GB, free: 7.102 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.5914, allocations: 25.7 kB / 0.4953 GB, free: 7.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.5915, allocations: 112.1 kB / 0.4954 GB, free: 6.957 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.125e-05/0.5915, allocations: 27.64 kB / 0.4954 GB, free: 6.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.23e-06/0.5916, allocations: 3.938 kB / 0.4954 GB, free: 6.926 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.5917, allocations: 334.8 kB / 0.4957 GB, free: 6.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.5918, allocations: 20 kB / 0.4957 GB, free: 6.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-05/0.5919, allocations: 37.66 kB / 0.4958 GB, free: 6.527 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.548e-05/0.592, allocations: 23.98 kB / 0.4958 GB, free: 6.504 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.592, allocations: 0 / 0.4958 GB, free: 6.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000237/0.5922, allocations: 97.5 kB / 0.4959 GB, free: 6.402 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.5923, allocations: 4 kB / 0.4959 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.814e-06/0.5923, allocations: 0 / 0.4959 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.5923, allocations: 0 / 0.4959 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.5925, allocations: 23.92 kB / 0.4959 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.292e-06/0.5925, allocations: 0 / 0.4959 GB, free: 6.375 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.198e-05/0.5926, allocations: 12.03 kB / 0.4959 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5926, allocations: 0 / 0.4959 GB, free: 6.363 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.000119/0.5927, allocations: 116.9 kB / 0.496 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.5928, allocations: 19.8 kB / 0.4961 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003086/0.5931, allocations: 115.1 kB / 0.4962 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.771e-06/0.5931, allocations: 4 kB / 0.4962 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.655e-06/0.5931, allocations: 0 / 0.4962 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.239e-06/0.5931, allocations: 0 / 0.4962 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006907/0.5938, allocations: 435.2 kB / 0.4966 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.605e-06/0.5939, allocations: 0 / 0.4966 GB, free: 5.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.954e-05/0.5939, allocations: 15.98 kB / 0.4966 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.918e-06/0.594, allocations: 0 / 0.4966 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.594, allocations: 0 / 0.4966 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.527e-06/0.594, allocations: 0 / 0.4966 GB, free: 5.598 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.153e-06/0.594, allocations: 7.938 kB / 0.4966 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003205/0.5943, allocations: 226.1 kB / 0.4968 GB, free: 5.344 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.5945, allocations: 101 kB / 0.4969 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.5945, allocations: 7.938 kB / 0.4969 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.5946, allocations: 4 kB / 0.4969 GB, free: 5.215 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.764e-05/0.5947, allocations: 15.94 kB / 0.4969 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.372e-05/0.5947, allocations: 0 / 0.4969 GB, free: 5.199 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002651/0.595, allocations: 192.2 kB / 0.4971 GB, free: 5.012 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.887e-06/0.595, allocations: 4 kB / 0.4971 GB, free: 5.008 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000401/0.5954, allocations: 43.86 kB / 0.4972 GB, free: 4.965 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.001663/0.5971, allocations: 456.8 kB / 0.4976 GB, free: 4.641 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.5973, allocations: 55.94 kB / 0.4977 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.72e-06/0.5974, allocations: 0 / 0.4977 GB, free: 4.586 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.5975, allocations: 32.05 kB / 0.4977 GB, free: 4.555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.5978, allocations: 33.95 kB / 0.4977 GB, free: 4.527 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.5984, allocations: 226.9 kB / 0.4979 GB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.5989, allocations: 0.7238 MB / 0.4986 GB, free: 3.531 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.087e-05/0.599, allocations: 28.78 kB / 0.4987 GB, free: 3.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.5991, allocations: 19.42 kB / 0.4987 GB, free: 3.48 MB / 410.7 MB Notification: Performance of SimCode: time 1.63e-06/0.5991, allocations: 0 / 0.4987 GB, free: 3.48 MB / 410.7 MB Notification: Performance of Templates: time 0.006246/0.6053, allocations: 1.818 MB / 0.5005 GB, free: 1.672 MB / 410.7 MB