Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadModel(ModelicaTest): time 2.574/2.574, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.703e-05/3.715e-05, allocations: 7.938 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.142, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.639, allocations: 89.28 MB / 499.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/0.6393, allocations: 75.95 kB / 499.6 MB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03768/0.677, allocations: 5.575 MB / 0.4934 GB, free: 9.215 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.029e-06/0.6771, allocations: 0 / 0.4934 GB, free: 9.215 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.6771, allocations: 0 / 0.4934 GB, free: 9.215 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.0007705/0.6779, allocations: 402.1 kB / 0.4937 GB, free: 8.777 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.678, allocations: 12.03 kB / 0.4938 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.073e-05/0.6781, allocations: 7.906 kB / 0.4938 GB, free: 8.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005445/0.6787, allocations: 218.3 kB / 0.494 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.6787, allocations: 11.95 kB / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.05e-05/0.6788, allocations: 4 kB / 0.494 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.679, allocations: 49.67 kB / 0.494 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.679, allocations: 3.938 kB / 0.494 GB, free: 8.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.6791, allocations: 8 kB / 0.494 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.6791, allocations: 0 / 0.494 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.6793, allocations: 19.94 kB / 0.4941 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006865/0.68, allocations: 292.9 kB / 0.4943 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.6802, allocations: 58.69 kB / 0.4944 GB, free: 8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.661e-05/0.6804, allocations: 20.92 kB / 0.4944 GB, free: 7.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.6804, allocations: 3.938 kB / 0.4944 GB, free: 7.973 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.6807, allocations: 71.39 kB / 0.4945 GB, free: 7.891 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.958e-06/0.6807, allocations: 0 / 0.4945 GB, free: 7.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008677/0.6816, allocations: 153.2 kB / 0.4946 GB, free: 7.734 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.6817, allocations: 55.39 kB / 0.4947 GB, free: 7.668 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004152/0.6821, allocations: 177.3 kB / 0.4949 GB, free: 7.484 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.6822, allocations: 33.7 kB / 0.4949 GB, free: 7.445 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.6823, allocations: 100.1 kB / 0.495 GB, free: 7.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.6824, allocations: 27.64 kB / 0.495 GB, free: 7.316 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.5e-05/0.6824, allocations: 4 kB / 0.495 GB, free: 7.312 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.6827, allocations: 326.8 kB / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.6828, allocations: 27.98 kB / 0.4954 GB, free: 6.957 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.683, allocations: 29.72 kB / 0.4954 GB, free: 6.922 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001165/0.6831, allocations: 20.06 kB / 0.4954 GB, free: 6.902 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.142e-06/0.6831, allocations: 0 / 0.4954 GB, free: 6.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004083/0.6835, allocations: 105.4 kB / 0.4955 GB, free: 6.793 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.6836, allocations: 4 kB / 0.4955 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.817e-06/0.6836, allocations: 0 / 0.4955 GB, free: 6.789 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.6837, allocations: 4 kB / 0.4955 GB, free: 6.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.6839, allocations: 20.02 kB / 0.4955 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.262e-06/0.6839, allocations: 0 / 0.4955 GB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.6841, allocations: 8 kB / 0.4955 GB, free: 6.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.319e-05/0.6841, allocations: 4 kB / 0.4955 GB, free: 6.754 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.0001484/0.6843, allocations: 116.9 kB / 0.4957 GB, free: 6.633 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.6843, allocations: 11.91 kB / 0.4957 GB, free: 6.621 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.6849, allocations: 115.1 kB / 0.4958 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.6849, allocations: 0 / 0.4958 GB, free: 6.504 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-06/0.6849, allocations: 7.938 kB / 0.4958 GB, free: 6.496 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.685, allocations: 3.984 kB / 0.4958 GB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.686, allocations: 407.3 kB / 0.4962 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.437e-06/0.686, allocations: 288 / 0.4962 GB, free: 6.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001191/0.6862, allocations: 15.94 kB / 0.4962 GB, free: 6.02 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.92e-06/0.6862, allocations: 3.938 kB / 0.4962 GB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.6862, allocations: 7.938 kB / 0.4962 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.254e-06/0.6863, allocations: 0 / 0.4962 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.6863, allocations: 8.016 kB / 0.4962 GB, free: 6 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005134/0.6868, allocations: 217.9 kB / 0.4964 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.687, allocations: 92.92 kB / 0.4965 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.6871, allocations: 4 kB / 0.4965 GB, free: 5.648 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.6873, allocations: 7.984 kB / 0.4965 GB, free: 5.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.6874, allocations: 11.95 kB / 0.4965 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.6874, allocations: 192 / 0.4965 GB, free: 5.629 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003166/0.6878, allocations: 155.2 kB / 0.4967 GB, free: 5.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.378e-06/0.6878, allocations: 0 / 0.4967 GB, free: 5.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007204/0.6885, allocations: 39.92 kB / 0.4967 GB, free: 5.441 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.001933/0.6905, allocations: 457.7 kB / 0.4972 GB, free: 5.125 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.6907, allocations: 59.94 kB / 0.4972 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.871e-06/0.6907, allocations: 0 / 0.4972 GB, free: 5.066 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.233e-05/0.6908, allocations: 35.92 kB / 0.4972 GB, free: 5.031 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.6912, allocations: 31.86 kB / 0.4973 GB, free: 5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004731/0.6917, allocations: 170.4 kB / 0.4974 GB, free: 4.812 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004108/0.6921, allocations: 0.7162 MB / 0.4981 GB, free: 4.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.075e-05/0.6922, allocations: 24.7 kB / 0.4982 GB, free: 4.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.654e-05/0.6922, allocations: 15.44 kB / 0.4982 GB, free: 4.031 MB / 410.7 MB Notification: Performance of SimCode: time 1.43e-06/0.6923, allocations: 0 / 0.4982 GB, free: 4.031 MB / 410.7 MB Notification: Performance of Templates: time 0.006094/0.6984, allocations: 1.702 MB / 0.4998 GB, free: 2.34 MB / 410.7 MB