Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.611/2.611, allocations: 270 MB / 283.6 MB, free: 1.77 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.468e-05, allocations: 4 kB / 348.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3601, allocations: 61.88 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.5218, allocations: 89.28 MB / 499.6 MB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.5221, allocations: 75.95 kB / 499.6 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0245/0.5466, allocations: 5.847 MB / 0.4936 GB, free: 11.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.276e-06/0.5467, allocations: 3.938 kB / 0.4937 GB, free: 11.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.5467, allocations: 8 kB / 0.4937 GB, free: 11.37 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.0005807/0.5473, allocations: 422 kB / 0.4941 GB, free: 10.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5473, allocations: 8.031 kB / 0.4941 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.287e-05/0.5474, allocations: 15.81 kB / 0.4941 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004066/0.5478, allocations: 223.8 kB / 0.4943 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.5479, allocations: 11.95 kB / 0.4943 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.155e-05/0.5479, allocations: 0 / 0.4943 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.5481, allocations: 57.67 kB / 0.4944 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5481, allocations: 4 kB / 0.4944 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.5481, allocations: 0 / 0.4944 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.47e-06/0.5481, allocations: 0 / 0.4944 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.713e-05/0.5482, allocations: 23.92 kB / 0.4944 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.5487, allocations: 316.8 kB / 0.4947 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.5489, allocations: 46.69 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.305e-05/0.549, allocations: 20.98 kB / 0.4948 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.549, allocations: 7.938 kB / 0.4948 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.5492, allocations: 67.33 kB / 0.4948 GB, free: 10 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.878e-06/0.5492, allocations: 0 / 0.4948 GB, free: 10 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005733/0.5498, allocations: 165.1 kB / 0.495 GB, free: 9.836 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.5499, allocations: 51.41 kB / 0.495 GB, free: 9.773 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000395/0.5503, allocations: 251.1 kB / 0.4953 GB, free: 9.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.5503, allocations: 25.7 kB / 0.4953 GB, free: 9.488 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.5504, allocations: 116.1 kB / 0.4954 GB, free: 9.371 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.648e-05/0.5505, allocations: 27.69 kB / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.684e-06/0.5505, allocations: 3.938 kB / 0.4954 GB, free: 9.34 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.5507, allocations: 330.8 kB / 0.4958 GB, free: 9.008 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.5508, allocations: 16 kB / 0.4958 GB, free: 8.992 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.656e-05/0.5509, allocations: 37.7 kB / 0.4958 GB, free: 8.949 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.129e-05/0.551, allocations: 24.06 kB / 0.4958 GB, free: 8.926 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.551, allocations: 4 kB / 0.4958 GB, free: 8.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000248/0.5512, allocations: 101.4 kB / 0.4959 GB, free: 8.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5513, allocations: 8 kB / 0.4959 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5513, allocations: 0 / 0.4959 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5513, allocations: 0 / 0.4959 GB, free: 8.809 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.5514, allocations: 16 kB / 0.496 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.5515, allocations: 3.984 kB / 0.496 GB, free: 8.789 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.5516, allocations: 4.156 kB / 0.496 GB, free: 8.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.5516, allocations: 12 kB / 0.496 GB, free: 8.773 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.0001042/0.5517, allocations: 114.3 kB / 0.4961 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.5518, allocations: 15.81 kB / 0.4961 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003182/0.5521, allocations: 123.1 kB / 0.4962 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.5521, allocations: 4 kB / 0.4962 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.332e-06/0.5521, allocations: 0 / 0.4962 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.101e-06/0.5521, allocations: 0 / 0.4962 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007146/0.5529, allocations: 447.1 kB / 0.4966 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.25e-06/0.5529, allocations: 0 / 0.4966 GB, free: 8.012 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-05/0.553, allocations: 8 kB / 0.4967 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.76e-06/0.553, allocations: 4.172 kB / 0.4967 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.995e-05/0.553, allocations: 8 kB / 0.4967 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.914e-06/0.553, allocations: 0 / 0.4967 GB, free: 7.992 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.874e-06/0.5531, allocations: 3.938 kB / 0.4967 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.5534, allocations: 229.8 kB / 0.4969 GB, free: 7.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.5535, allocations: 100.9 kB / 0.497 GB, free: 7.621 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/0.5536, allocations: 4 kB / 0.497 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.5537, allocations: 0 / 0.497 GB, free: 7.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.5538, allocations: 15.88 kB / 0.497 GB, free: 7.602 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.5538, allocations: 8 kB / 0.497 GB, free: 7.594 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002856/0.5541, allocations: 201.5 kB / 0.4972 GB, free: 7.398 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.93e-07/0.5541, allocations: 8 kB / 0.4972 GB, free: 7.391 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.5545, allocations: 39.98 kB / 0.4972 GB, free: 7.352 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.001683/0.5562, allocations: 455.6 kB / 0.4977 GB, free: 7.047 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002054/0.5564, allocations: 55.94 kB / 0.4977 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.291e-06/0.5565, allocations: 0 / 0.4977 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.41e-05/0.5566, allocations: 35.98 kB / 0.4978 GB, free: 6.957 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003637/0.557, allocations: 27.77 kB / 0.4978 GB, free: 6.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006227/0.5576, allocations: 227.2 kB / 0.498 GB, free: 6.684 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.558, allocations: 0.7238 MB / 0.4987 GB, free: 5.934 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.207e-05/0.5582, allocations: 28.77 kB / 0.4987 GB, free: 5.906 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.655e-05/0.5582, allocations: 19.44 kB / 0.4988 GB, free: 5.887 MB / 426.7 MB Notification: Performance of SimCode: time 1.782e-06/0.5582, allocations: 0 / 0.4988 GB, free: 5.887 MB / 426.7 MB Notification: Performance of Templates: time 0.006463/0.5647, allocations: 1.854 MB / 0.5006 GB, free: 4.043 MB / 426.7 MB