Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.97/1.97, allocations: 209.2 MB / 224.4 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.26e-05, allocations: 4 kB / 276.1 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.356, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002638/0.3587, allocations: 1.305 MB / 326.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001036/0.3598, allocations: 404.7 kB / 326.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.3599, allocations: 0 / 326.5 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.3603, allocations: 63.89 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002022/0.3605, allocations: 49.17 kB / 326.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.3608, allocations: 49.56 kB / 326.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.361, allocations: 43.25 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.363e-05/0.3611, allocations: 6.766 kB / 326.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.493e-05/0.3612, allocations: 24.05 kB / 326.8 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3613, allocations: 42.14 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001792/0.3615, allocations: 33.16 kB / 326.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.322e-05/0.3615, allocations: 3.594 kB / 326.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.3616, allocations: 20.03 kB / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.901e-05/0.3617, allocations: 3.75 kB / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.3619, allocations: 77.47 kB / 327 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3619, allocations: 0 / 327 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.156e-06/0.3619, allocations: 0 / 327 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.362, allocations: 0 / 327 MB, free: 2.043 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005259/0.3625, allocations: 409.6 kB / 327.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.3626, allocations: 9.312 kB / 327.4 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.644e-05/0.3626, allocations: 9.094 kB / 327.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002515/0.3629, allocations: 201.9 kB / 327.6 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.3629, allocations: 6.328 kB / 327.6 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.363, allocations: 6.062 kB / 327.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3631, allocations: 44.2 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.957e-05/0.3631, allocations: 0 / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.3632, allocations: 1.188 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.3632, allocations: 3.25 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.254e-05/0.3633, allocations: 17.55 kB / 327.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.3637, allocations: 286.1 kB / 327.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.364, allocations: 42.19 kB / 328 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.364, allocations: 2.266 kB / 328 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001573/0.3642, allocations: 62.03 kB / 328 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.3642, allocations: 0 / 328 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005016/0.3647, allocations: 121 kB / 328.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.3648, allocations: 52.53 kB / 328.2 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002352/0.365, allocations: 178.2 kB / 328.4 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.365, allocations: 28.14 kB / 328.4 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.3651, allocations: 165.8 kB / 328.6 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.3651, allocations: 12.86 kB / 328.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.228e-06/0.3652, allocations: 0 / 328.6 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.992e-05/0.3652, allocations: 325.2 kB / 328.9 MB, free: 212 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.3653, allocations: 20.59 kB / 328.9 MB, free: 204 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.728e-05/0.3654, allocations: 19.14 kB / 328.9 MB, free: 196 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.161e-05/0.3655, allocations: 47.36 kB / 329 MB, free: 156 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3655, allocations: 0 / 329 MB, free: 156 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000236/0.3657, allocations: 117.7 kB / 329.1 MB, free: 68 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.013e-05/0.3658, allocations: 32.94 kB / 329.1 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.3658, allocations: 0 / 329.1 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3658, allocations: 2.031 kB / 329.1 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.169e-05/0.3659, allocations: 9.141 kB / 329.1 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3659, allocations: 4.75 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.641e-05/0.366, allocations: 2.312 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.366, allocations: 4.375 kB / 329.1 MB, free: 32 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001612/0.3662, allocations: 129.6 kB / 329.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.3663, allocations: 12.81 kB / 329.3 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.319e-05/0.3663, allocations: 12 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.3663, allocations: 1.062 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.3664, allocations: 0 / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.3664, allocations: 9.891 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005333/0.3669, allocations: 347.7 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3669, allocations: 0 / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.793e-05/0.367, allocations: 5.984 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.367, allocations: 1.406 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.367, allocations: 5.641 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.3671, allocations: 1.75 kB / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3671, allocations: 0 / 329.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.3673, allocations: 176.4 kB / 329.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.702e-05/0.3674, allocations: 88.23 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.3674, allocations: 3.359 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.519e-05/0.3675, allocations: 1.594 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.915e-05/0.3676, allocations: 3.578 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.3676, allocations: 3.047 kB / 329.9 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002014/0.3678, allocations: 150.1 kB / 330.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3678, allocations: 0 / 330.1 MB, free: 15.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.3682, allocations: 27.95 kB / 330.1 MB, free: 15.19 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001002/0.3692, allocations: 340 kB / 330.4 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002785/0.3695, allocations: 103.2 kB / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/0.3695, allocations: 0 / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.636e-05/0.3696, allocations: 20.05 kB / 330.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/0.37, allocations: 24.67 kB / 330.6 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006075/0.3706, allocations: 248 kB / 330.8 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004047/0.371, allocations: 0.706 MB / 331.5 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.3711, allocations: 18.47 kB / 331.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3711, allocations: 0 / 331.5 MB, free: 13.99 MB / 282.7 MB Notification: Performance of Templates: time 0.005757/0.3769, allocations: 1.712 MB / 333.3 MB, free: 13.79 MB / 282.7 MB