Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test55") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 234.9 MB / 250.1 MB, free: 10.91 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.525e-05, allocations: 7.125 kB / 308 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3563/0.3563, allocations: 54.86 MB / 362.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.002469/0.3589, allocations: 1.357 MB / 364.2 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00237/0.3613, allocations: 1.219 MB / 365.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.3614, allocations: 0 / 365.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002561/0.3617, allocations: 23.91 kB / 365.5 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.3619, allocations: 35.81 kB / 365.5 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.3621, allocations: 39.89 kB / 365.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.3623, allocations: 55.86 kB / 365.6 MB, free: 9.148 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.876e-05/0.3624, allocations: 8 kB / 365.6 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.957e-05/0.3625, allocations: 27.92 kB / 365.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.3627, allocations: 31.84 kB / 365.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.3629, allocations: 43.92 kB / 365.7 MB, free: 9.039 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.363, allocations: 4 kB / 365.7 MB, free: 9.035 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.936e-05/0.363, allocations: 11.98 kB / 365.7 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.976e-05/0.3631, allocations: 4 kB / 365.7 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.3633, allocations: 97.62 kB / 365.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3633, allocations: 3.938 kB / 365.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3634, allocations: 0 / 365.8 MB, free: 8.922 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.3634, allocations: 4 kB / 365.8 MB, free: 8.918 MB / 298.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.0006072/0.364, allocations: 434.6 kB / 366.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3641, allocations: 15.97 kB / 366.3 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.3641, allocations: 11.89 kB / 366.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.3644, allocations: 197.9 kB / 366.5 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.3645, allocations: 0 / 366.5 MB, free: 8.176 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.3645, allocations: 4 kB / 366.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.3647, allocations: 75.38 kB / 366.5 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.3648, allocations: 7.875 kB / 366.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.3648, allocations: 0 / 366.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.3648, allocations: 7.891 kB / 366.6 MB, free: 8.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3649, allocations: 23.98 kB / 366.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.3654, allocations: 296.8 kB / 366.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002539/0.3657, allocations: 66.62 kB / 366.9 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.3657, allocations: 0 / 366.9 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.3659, allocations: 75.45 kB / 367 MB, free: 7.547 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.366, allocations: 0 / 367 MB, free: 7.547 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008368/0.3668, allocations: 169.3 kB / 367.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.3669, allocations: 77.11 kB / 367.3 MB, free: 7.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001911/0.3671, allocations: 142.7 kB / 367.4 MB, free: 7.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.3672, allocations: 33.7 kB / 367.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.864e-05/0.3673, allocations: 154.6 kB / 367.6 MB, free: 6.941 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.3673, allocations: 23.66 kB / 367.6 MB, free: 6.918 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.3673, allocations: 4 kB / 367.6 MB, free: 6.914 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3675, allocations: 318.8 kB / 367.9 MB, free: 6.594 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000122/0.3676, allocations: 27.98 kB / 367.9 MB, free: 6.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3678, allocations: 58.56 kB / 368 MB, free: 6.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.368, allocations: 69.62 kB / 368.1 MB, free: 6.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.368, allocations: 0 / 368.1 MB, free: 6.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004488/0.3684, allocations: 159.2 kB / 368.2 MB, free: 6.258 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.321e-05/0.3685, allocations: 37.69 kB / 368.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.3685, allocations: 0 / 368.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3685, allocations: 0 / 368.3 MB, free: 6.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3687, allocations: 19.94 kB / 368.3 MB, free: 6.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.011e-05/0.3687, allocations: 8.062 kB / 368.3 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.99e-05/0.3688, allocations: 4 kB / 368.3 MB, free: 6.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.3689, allocations: 7.984 kB / 368.3 MB, free: 6.176 MB / 298.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 (11): * Single equations (assignments): 10 * 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.0001437/0.369, allocations: 121.8 kB / 368.4 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.993e-05/0.3691, allocations: 11.86 kB / 368.4 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.665e-05/0.3691, allocations: 4.719 kB / 368.4 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.3692, allocations: 4 kB / 368.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3692, allocations: 0 / 368.4 MB, free: 6.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.3692, allocations: 3.984 kB / 368.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006826/0.3699, allocations: 399.2 kB / 368.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3699, allocations: 0 / 368.8 MB, free: 5.574 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.37, allocations: 8 kB / 368.8 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.37, allocations: 3.938 kB / 368.8 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.37, allocations: 8 kB / 368.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.37, allocations: 96 / 368.9 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.37, allocations: 3.938 kB / 368.9 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.3704, allocations: 218 kB / 369.1 MB, free: 5.312 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.3706, allocations: 101 kB / 369.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.3706, allocations: 384 / 369.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.3707, allocations: 4 kB / 369.2 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.3708, allocations: 11.98 kB / 369.2 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.367e-05/0.3708, allocations: 8 kB / 369.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001348/0.371, allocations: 108.5 kB / 369.3 MB, free: 5.066 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.371, allocations: 0 / 369.3 MB, free: 5.066 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003872/0.3714, allocations: 35.98 kB / 369.3 MB, free: 5.031 MB / 298.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 (8): * Single equations (assignments): 6 * 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.001463/0.3729, allocations: 490.6 kB / 369.8 MB, free: 4.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.3734, allocations: 155.3 kB / 370 MB, free: 4.457 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.3734, allocations: 3.938 kB / 370 MB, free: 4.453 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.3735, allocations: 28.11 kB / 370 MB, free: 4.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.3739, allocations: 31.88 kB / 370 MB, free: 4.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006514/0.3746, allocations: 227.7 kB / 370.2 MB, free: 4.137 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003708/0.375, allocations: 0.7082 MB / 371 MB, free: 3.402 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.3751, allocations: 19.42 kB / 371 MB, free: 3.383 MB / 298.7 MB Notification: Performance of SimCode: time 9.31e-07/0.3751, allocations: 0 / 371 MB, free: 3.383 MB / 298.7 MB Notification: Performance of Templates: time 0.006286/0.3814, allocations: 2.106 MB / 373.1 MB, free: 1.277 MB / 298.7 MB