Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.224/2.224, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.799e-05/3.802e-05, allocations: 9.828 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4454/0.5558, allocations: 89.23 MB / 499.5 MB, free: 14.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/0.556, allocations: 71.97 kB / 499.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02185/0.5779, allocations: 5.41 MB / 0.4932 GB, free: 9.414 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.299e-06/0.578, allocations: 0 / 0.4932 GB, free: 9.414 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.581e-05/0.578, allocations: 0 / 0.4932 GB, free: 9.414 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.00053/0.5785, allocations: 398.2 kB / 0.4935 GB, free: 8.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.5786, allocations: 8.031 kB / 0.4935 GB, free: 8.973 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.5786, allocations: 7.906 kB / 0.4936 GB, free: 8.965 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.579, allocations: 206.9 kB / 0.4937 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.312e-05/0.579, allocations: 11.89 kB / 0.4938 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.5791, allocations: 3.906 kB / 0.4938 GB, free: 8.707 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.5792, allocations: 53.67 kB / 0.4938 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5793, allocations: 0 / 0.4938 GB, free: 8.648 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.5793, allocations: 4 kB / 0.4938 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-06/0.5793, allocations: 0 / 0.4938 GB, free: 8.645 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.084e-05/0.5794, allocations: 23.98 kB / 0.4938 GB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004528/0.5798, allocations: 288.9 kB / 0.4941 GB, free: 8.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.58, allocations: 58.62 kB / 0.4942 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.45e-05/0.5801, allocations: 20.92 kB / 0.4942 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.092e-05/0.5801, allocations: 3.984 kB / 0.4942 GB, free: 8.195 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.5803, allocations: 71.39 kB / 0.4943 GB, free: 8.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.431e-06/0.5803, allocations: 0 / 0.4943 GB, free: 8.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005339/0.5808, allocations: 161.1 kB / 0.4944 GB, free: 7.949 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.5809, allocations: 59.39 kB / 0.4945 GB, free: 7.879 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.5812, allocations: 166 kB / 0.4946 GB, free: 7.715 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.5812, allocations: 29.7 kB / 0.4947 GB, free: 7.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.869e-05/0.5813, allocations: 104.1 kB / 0.4948 GB, free: 7.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.5813, allocations: 19.72 kB / 0.4948 GB, free: 7.555 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.484e-06/0.5814, allocations: 4 kB / 0.4948 GB, free: 7.551 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.5815, allocations: 326.8 kB / 0.4951 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.5816, allocations: 20 kB / 0.4951 GB, free: 7.203 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.91e-05/0.5817, allocations: 33.7 kB / 0.4951 GB, free: 7.164 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.05e-05/0.5818, allocations: 23.94 kB / 0.4952 GB, free: 7.141 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.766e-06/0.5818, allocations: 0 / 0.4952 GB, free: 7.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002323/0.582, allocations: 101.6 kB / 0.4953 GB, free: 7.035 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.5821, allocations: 4 kB / 0.4953 GB, free: 7.031 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/0.5821, allocations: 3.984 kB / 0.4953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.5821, allocations: 0 / 0.4953 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.5822, allocations: 20 kB / 0.4953 GB, free: 7.008 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.5823, allocations: 7.922 kB / 0.4953 GB, free: 7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.5823, allocations: 7.938 kB / 0.4953 GB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.5824, allocations: 0 / 0.4953 GB, free: 6.992 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 9.797e-05/0.5825, allocations: 112.9 kB / 0.4954 GB, free: 6.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.5825, allocations: 15.84 kB / 0.4954 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.5828, allocations: 118.4 kB / 0.4955 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.791e-06/0.5828, allocations: 0 / 0.4955 GB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.761e-06/0.5828, allocations: 4 kB / 0.4955 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-06/0.5829, allocations: 0 / 0.4955 GB, free: 6.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/0.5835, allocations: 403.3 kB / 0.4959 GB, free: 6.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.067e-06/0.5835, allocations: 4 kB / 0.4959 GB, free: 6.281 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.258e-05/0.5836, allocations: 15.98 kB / 0.496 GB, free: 6.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.059e-06/0.5836, allocations: 4.031 kB / 0.496 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.5836, allocations: 4 kB / 0.496 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.5836, allocations: 288 / 0.496 GB, free: 6.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5836, allocations: 3.938 kB / 0.496 GB, free: 6.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.5839, allocations: 225.8 kB / 0.4962 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.584, allocations: 89 kB / 0.4963 GB, free: 5.902 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.5841, allocations: 8 kB / 0.4963 GB, free: 5.895 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.5842, allocations: 4 kB / 0.4963 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.447e-05/0.5843, allocations: 11.94 kB / 0.4963 GB, free: 5.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.5843, allocations: 4 kB / 0.4963 GB, free: 5.875 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.5845, allocations: 143.8 kB / 0.4964 GB, free: 5.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.28e-07/0.5845, allocations: 4 kB / 0.4964 GB, free: 5.734 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003612/0.5849, allocations: 24 kB / 0.4965 GB, free: 5.711 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.001602/0.5865, allocations: 467 kB / 0.4969 GB, free: 5.379 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001837/0.5867, allocations: 59.92 kB / 0.497 GB, free: 5.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.772e-06/0.5867, allocations: 0 / 0.497 GB, free: 5.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.427e-05/0.5868, allocations: 28 kB / 0.497 GB, free: 5.293 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.5871, allocations: 23.98 kB / 0.497 GB, free: 5.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.5876, allocations: 170.4 kB / 0.4972 GB, free: 5.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.588, allocations: 0.7082 MB / 0.4979 GB, free: 4.336 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.54e-05/0.5881, allocations: 16.42 kB / 0.4979 GB, free: 4.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.673e-05/0.5882, allocations: 19.42 kB / 0.4979 GB, free: 4.301 MB / 410.7 MB Notification: Performance of SimCode: time 1.417e-06/0.5882, allocations: 3.938 kB / 0.4979 GB, free: 4.297 MB / 410.7 MB Notification: Performance of Templates: time 0.008092/0.5963, allocations: 1.683 MB / 0.4995 GB, free: 2.629 MB / 410.7 MB