Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 270 MB / 283.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.752e-05, allocations: 8 kB / 348.4 MB, free: 2.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 61.89 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.4673, allocations: 89.12 MB / 499.4 MB, free: 1.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.4676, allocations: 79.94 kB / 499.5 MB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02654/0.4941, allocations: 6.633 MB / 0.4943 GB, free: 10.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.4942, allocations: 0 / 0.4943 GB, free: 10.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.749e-05/0.4942, allocations: 8 kB / 0.4943 GB, free: 10.75 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009749/0.4952, allocations: 0.5987 MB / 0.4948 GB, free: 10.11 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4953, allocations: 12.03 kB / 0.4949 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.4954, allocations: 47.34 kB / 0.4949 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4965, allocations: 491 kB / 0.4954 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.4965, allocations: 3.953 kB / 0.4954 GB, free: 9.523 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.156e-05/0.4966, allocations: 7.984 kB / 0.4954 GB, free: 9.516 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.4968, allocations: 79.38 kB / 0.4955 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4968, allocations: 0 / 0.4955 GB, free: 9.426 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.4969, allocations: 4 kB / 0.4955 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.131e-06/0.4969, allocations: 4 kB / 0.4955 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.497, allocations: 31.92 kB / 0.4955 GB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005904/0.4976, allocations: 378.3 kB / 0.4959 GB, free: 8.965 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.4979, allocations: 101.3 kB / 0.496 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.498, allocations: 49.73 kB / 0.496 GB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.498, allocations: 3.938 kB / 0.496 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.4983, allocations: 101.1 kB / 0.4961 GB, free: 8.672 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.792e-06/0.4983, allocations: 0 / 0.4961 GB, free: 8.672 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004868/0.4988, allocations: 164.9 kB / 0.4963 GB, free: 8.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.4989, allocations: 85.09 kB / 0.4963 GB, free: 8.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.5008, allocations: 0.9344 MB / 0.4973 GB, free: 7.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.5008, allocations: 25.7 kB / 0.4973 GB, free: 7.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.5011, allocations: 232.1 kB / 0.4975 GB, free: 7.199 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.895e-05/0.5012, allocations: 35.62 kB / 0.4975 GB, free: 7.164 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.629e-06/0.5012, allocations: 0 / 0.4975 GB, free: 7.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.5014, allocations: 366.8 kB / 0.4979 GB, free: 6.797 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.304e-05/0.5015, allocations: 24 kB / 0.4979 GB, free: 6.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001018/0.5016, allocations: 59.42 kB / 0.498 GB, free: 6.703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.687e-05/0.5018, allocations: 32.05 kB / 0.498 GB, free: 6.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.707e-06/0.5018, allocations: 4 kB / 0.498 GB, free: 6.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004244/0.5022, allocations: 168.9 kB / 0.4982 GB, free: 6.496 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.5022, allocations: 4 kB / 0.4982 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.537e-06/0.5023, allocations: 8.062 kB / 0.4982 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.5023, allocations: 3.984 kB / 0.4982 GB, free: 6.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.5025, allocations: 23.98 kB / 0.4982 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.362e-06/0.5025, allocations: 0 / 0.4982 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.5027, allocations: 11.98 kB / 0.4982 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.5027, allocations: 8 kB / 0.4982 GB, free: 6.438 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001151/0.5028, allocations: 108.9 kB / 0.4983 GB, free: 6.324 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.503, allocations: 67.23 kB / 0.4984 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000474/0.5035, allocations: 193.6 kB / 0.4986 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-06/0.5035, allocations: 0 / 0.4986 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.325e-06/0.5035, allocations: 0 / 0.4986 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-06/0.5035, allocations: 0 / 0.4986 GB, free: 6.059 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.5041, allocations: 389.2 kB / 0.4989 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.509e-06/0.5041, allocations: 0 / 0.4989 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.5042, allocations: 16 kB / 0.499 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.667e-06/0.5042, allocations: 7.938 kB / 0.499 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.5042, allocations: 0 / 0.499 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.22e-06/0.5042, allocations: 4 kB / 0.499 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.298e-06/0.5042, allocations: 4 kB / 0.499 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.5047, allocations: 223.1 kB / 0.4992 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.505, allocations: 192.5 kB / 0.4994 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.5051, allocations: 4 kB / 0.4994 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.5053, allocations: 15.98 kB / 0.4994 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.872e-05/0.5054, allocations: 11.98 kB / 0.4994 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.5054, allocations: 7.938 kB / 0.4994 GB, free: 5.105 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001292/0.5067, allocations: 0.7435 MB / 0.5001 GB, free: 4.363 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.14e-07/0.5067, allocations: 0 / 0.5001 GB, free: 4.363 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004982/0.5072, allocations: 83.98 kB / 0.5002 GB, free: 4.281 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001497/0.5088, allocations: 405.5 kB / 0.5006 GB, free: 4.004 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.5091, allocations: 75.92 kB / 0.5007 GB, free: 3.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.118e-06/0.5091, allocations: 0 / 0.5007 GB, free: 3.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.5092, allocations: 39.94 kB / 0.5007 GB, free: 3.891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005664/0.5098, allocations: 66.16 kB / 0.5008 GB, free: 3.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001718/0.5115, allocations: 0.7831 MB / 0.5015 GB, free: 3.016 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006734/0.5122, allocations: 0.8546 MB / 0.5024 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0002895/0.5125, allocations: 90.94 kB / 0.5025 GB, free: 2.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.5127, allocations: 39.44 kB / 0.5025 GB, free: 2.004 MB / 426.7 MB Notification: Performance of SimCode: time 1.852e-06/0.5127, allocations: 4 kB / 0.5025 GB, free: 2 MB / 426.7 MB Notification: Performance of Templates: time 0.01402/0.5268, allocations: 4.567 MB / 0.507 GB, free: 13.45 MB / 442.7 MB