Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.566/2.566, allocations: 270 MB / 283.6 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.282e-05, allocations: 8 kB / 348.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3305, allocations: 61.89 MB / 410.3 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.4736, allocations: 90.99 MB / 0.4895 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4738, allocations: 75.95 kB / 0.4896 GB, free: 15.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02149/0.4953, allocations: 4.931 MB / 0.4944 GB, free: 10.56 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.217e-06/0.4954, allocations: 0 / 0.4944 GB, free: 10.56 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.139e-05/0.4954, allocations: 4 kB / 0.4944 GB, free: 10.55 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001005/0.4964, allocations: 0.5325 MB / 0.495 GB, free: 9.965 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4965, allocations: 11.97 kB / 0.495 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.676e-05/0.4966, allocations: 19.81 kB / 0.495 GB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.4971, allocations: 243.8 kB / 0.4952 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.64e-05/0.4971, allocations: 8 kB / 0.4952 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.342e-05/0.4972, allocations: 11.95 kB / 0.4952 GB, free: 9.633 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.4975, allocations: 121.7 kB / 0.4953 GB, free: 9.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4975, allocations: 4 kB / 0.4954 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.4975, allocations: 3.984 kB / 0.4954 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.4976, allocations: 0 / 0.4954 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001885/0.4977, allocations: 55.94 kB / 0.4954 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4989, allocations: 0.5829 MB / 0.496 GB, free: 8.797 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003988/0.4993, allocations: 107.7 kB / 0.4961 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.4994, allocations: 48.8 kB / 0.4961 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.4995, allocations: 0 / 0.4961 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002662/0.4998, allocations: 103.5 kB / 0.4962 GB, free: 8.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 5.443e-06/0.4998, allocations: 0 / 0.4962 GB, free: 8.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004194/0.5002, allocations: 141.4 kB / 0.4964 GB, free: 8.375 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.5003, allocations: 55.41 kB / 0.4964 GB, free: 8.309 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.5006, allocations: 202 kB / 0.4966 GB, free: 8.105 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.5006, allocations: 29.7 kB / 0.4966 GB, free: 8.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001219/0.5008, allocations: 132.4 kB / 0.4968 GB, free: 7.934 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/0.5009, allocations: 39.53 kB / 0.4968 GB, free: 7.895 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.276e-05/0.5009, allocations: 0 / 0.4968 GB, free: 7.895 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.5011, allocations: 330.8 kB / 0.4971 GB, free: 7.562 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.5012, allocations: 36 kB / 0.4971 GB, free: 7.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.5014, allocations: 80.28 kB / 0.4972 GB, free: 7.434 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.5015, allocations: 73.61 kB / 0.4973 GB, free: 7.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.091e-06/0.5016, allocations: 0 / 0.4973 GB, free: 7.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004664/0.502, allocations: 195 kB / 0.4975 GB, free: 7.152 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.21e-05/0.5021, allocations: 33.69 kB / 0.4975 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.406e-06/0.5021, allocations: 4 kB / 0.4975 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.5022, allocations: 0 / 0.4975 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002783/0.5024, allocations: 43.91 kB / 0.4976 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.377e-06/0.5025, allocations: 0 / 0.4976 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.5027, allocations: 40.05 kB / 0.4976 GB, free: 7.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.989e-05/0.5028, allocations: 8 kB / 0.4976 GB, free: 7.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001384/0.5029, allocations: 114.2 kB / 0.4977 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.503, allocations: 15.81 kB / 0.4977 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004334/0.5034, allocations: 163 kB / 0.4979 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.197e-06/0.5035, allocations: 3.984 kB / 0.4979 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.76e-06/0.5035, allocations: 0 / 0.4979 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.305e-06/0.5035, allocations: 7.938 kB / 0.4979 GB, free: 6.707 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000315/0.5038, allocations: 233.5 kB / 0.4981 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-06/0.5038, allocations: 0 / 0.4981 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.5041, allocations: 31.97 kB / 0.4981 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.895e-06/0.5041, allocations: 0 / 0.4981 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.527e-05/0.5041, allocations: 8 kB / 0.4982 GB, free: 6.391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.025e-06/0.5042, allocations: 3.984 kB / 0.4982 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-06/0.5042, allocations: 0 / 0.4982 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005683/0.5047, allocations: 225.2 kB / 0.4984 GB, free: 6.148 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.5049, allocations: 104.8 kB / 0.4985 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.5049, allocations: 8 kB / 0.4985 GB, free: 6.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.5052, allocations: 27.97 kB / 0.4985 GB, free: 5.992 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.062e-05/0.5053, allocations: 24.03 kB / 0.4985 GB, free: 5.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/0.5053, allocations: 7.938 kB / 0.4985 GB, free: 5.961 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002273/0.5056, allocations: 160.6 kB / 0.4987 GB, free: 5.805 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.86e-07/0.5056, allocations: 0 / 0.4987 GB, free: 5.805 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000411/0.506, allocations: 55.92 kB / 0.4987 GB, free: 5.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001499/0.5075, allocations: 427.6 kB / 0.4992 GB, free: 5.461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004277/0.508, allocations: 159.3 kB / 0.4993 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.915e-06/0.508, allocations: 4 kB / 0.4993 GB, free: 5.289 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001518/0.5082, allocations: 44 kB / 0.4994 GB, free: 5.246 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000389/0.5086, allocations: 44.16 kB / 0.4994 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007224/0.5093, allocations: 224.6 kB / 0.4996 GB, free: 4.961 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000433/0.5098, allocations: 0.7283 MB / 0.5003 GB, free: 4.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001377/0.5099, allocations: 25.31 kB / 0.5003 GB, free: 4.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.642e-05/0.51, allocations: 19.44 kB / 0.5004 GB, free: 4.16 MB / 426.7 MB Notification: Performance of SimCode: time 1.726e-06/0.51, allocations: 3.938 kB / 0.5004 GB, free: 4.156 MB / 426.7 MB Notification: Performance of Templates: time 0.008356/0.5184, allocations: 2.548 MB / 0.5029 GB, free: 1.621 MB / 426.7 MB