Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.187/2.187, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.782e-05, allocations: 8 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 61.88 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4153/0.5614, allocations: 89.33 MB / 499.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002149/0.5617, allocations: 71.97 kB / 499.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02362/0.5853, allocations: 5.869 MB / 0.4937 GB, free: 8.895 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5854, allocations: 0 / 0.4937 GB, free: 8.895 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.5854, allocations: 4 kB / 0.4937 GB, free: 8.891 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005618/0.586, allocations: 406.1 kB / 0.4941 GB, free: 8.449 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.586, allocations: 8.031 kB / 0.4941 GB, free: 8.441 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.642e-05/0.5861, allocations: 19.81 kB / 0.4941 GB, free: 8.422 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.5865, allocations: 226.2 kB / 0.4943 GB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.5865, allocations: 3.953 kB / 0.4943 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.6e-05/0.5866, allocations: 4 kB / 0.4943 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.5867, allocations: 53.67 kB / 0.4944 GB, free: 8.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.5868, allocations: 7.984 kB / 0.4944 GB, free: 8.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.533e-05/0.5868, allocations: 4 kB / 0.4944 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.5868, allocations: 0 / 0.4944 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.66e-05/0.5869, allocations: 20 kB / 0.4944 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.5874, allocations: 316.7 kB / 0.4947 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002384/0.5877, allocations: 54.56 kB / 0.4948 GB, free: 7.645 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.36e-05/0.5877, allocations: 20.98 kB / 0.4948 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.5878, allocations: 0 / 0.4948 GB, free: 7.621 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.5879, allocations: 75.39 kB / 0.4949 GB, free: 7.535 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.62e-06/0.588, allocations: 0 / 0.4949 GB, free: 7.535 MB / 410.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006858/0.5887, allocations: 213 kB / 0.4951 GB, free: 7.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.5887, allocations: 55.41 kB / 0.4951 GB, free: 7.254 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000299/0.589, allocations: 195.1 kB / 0.4953 GB, free: 7.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.5891, allocations: 25.7 kB / 0.4953 GB, free: 7.023 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.5892, allocations: 104.1 kB / 0.4954 GB, free: 6.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.329e-05/0.5893, allocations: 35.55 kB / 0.4955 GB, free: 6.883 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.5893, allocations: 7.938 kB / 0.4955 GB, free: 6.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001763/0.5895, allocations: 330.8 kB / 0.4958 GB, free: 6.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.938e-05/0.5896, allocations: 31.94 kB / 0.4958 GB, free: 6.512 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.146e-05/0.5897, allocations: 37.72 kB / 0.4958 GB, free: 6.469 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.109e-05/0.5898, allocations: 40.58 kB / 0.4959 GB, free: 6.43 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-06/0.5898, allocations: 0 / 0.4959 GB, free: 6.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002864/0.5901, allocations: 117.5 kB / 0.496 GB, free: 6.309 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.5901, allocations: 4 kB / 0.496 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5901, allocations: 4.031 kB / 0.496 GB, free: 6.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.5901, allocations: 4 kB / 0.496 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.5903, allocations: 27.92 kB / 0.496 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.5903, allocations: 480 / 0.496 GB, free: 6.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.5904, allocations: 7.938 kB / 0.496 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.5904, allocations: 4 kB / 0.496 GB, free: 6.258 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 (13): * Single equations (assignments): 13 * 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.0001149/0.5905, allocations: 112.9 kB / 0.4962 GB, free: 6.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.273e-05/0.5906, allocations: 15.8 kB / 0.4962 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.591, allocations: 151.1 kB / 0.4963 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.591, allocations: 0 / 0.4963 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.257e-06/0.591, allocations: 4 kB / 0.4963 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.452e-06/0.591, allocations: 0 / 0.4963 GB, free: 5.965 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007562/0.5918, allocations: 464 kB / 0.4968 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.214e-06/0.5918, allocations: 3.938 kB / 0.4968 GB, free: 5.445 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.388e-05/0.5919, allocations: 24.05 kB / 0.4968 GB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.22e-06/0.5919, allocations: 4 kB / 0.4968 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.592, allocations: 0 / 0.4968 GB, free: 5.418 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.002e-06/0.592, allocations: 4 kB / 0.4968 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.323e-06/0.592, allocations: 3.953 kB / 0.4968 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.5924, allocations: 252.5 kB / 0.497 GB, free: 5.129 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.623e-05/0.5925, allocations: 105 kB / 0.4971 GB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.833e-05/0.5925, allocations: 7.938 kB / 0.4971 GB, free: 5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.5927, allocations: 7.984 kB / 0.4972 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.5927, allocations: 8 kB / 0.4972 GB, free: 4.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.237e-05/0.5928, allocations: 7.984 kB / 0.4972 GB, free: 4.977 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002057/0.593, allocations: 160.2 kB / 0.4973 GB, free: 4.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.37e-07/0.593, allocations: 0 / 0.4973 GB, free: 4.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004084/0.5934, allocations: 43.94 kB / 0.4974 GB, free: 4.777 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001822/0.5952, allocations: 0.5079 MB / 0.4979 GB, free: 4.414 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.5955, allocations: 68 kB / 0.4979 GB, free: 4.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.891e-06/0.5955, allocations: 3.938 kB / 0.4979 GB, free: 4.344 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.5956, allocations: 39.98 kB / 0.498 GB, free: 4.305 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.596, allocations: 25.84 kB / 0.498 GB, free: 4.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005338/0.5965, allocations: 208.6 kB / 0.4982 GB, free: 4.051 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.5969, allocations: 0.7199 MB / 0.4989 GB, free: 3.305 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.332e-05/0.5971, allocations: 28.53 kB / 0.4989 GB, free: 3.277 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.5971, allocations: 19.44 kB / 0.4989 GB, free: 3.258 MB / 410.7 MB Notification: Performance of SimCode: time 1.54e-06/0.5971, allocations: 4 kB / 0.4989 GB, free: 3.254 MB / 410.7 MB Notification: Performance of Templates: time 0.006429/0.6036, allocations: 1.958 MB / 0.5009 GB, free: 1.312 MB / 410.7 MB