Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.884e-05/3.889e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3639/0.364, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002349/0.3664, allocations: 1.308 MB / 326.2 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009809/0.3674, allocations: 401.2 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.148e-05/0.3675, allocations: 1 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.3678, allocations: 17.19 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001537/0.368, allocations: 26.94 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3682, allocations: 55.33 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3684, allocations: 39.03 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.025e-05/0.3685, allocations: 2.984 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.401e-05/0.3686, allocations: 22.58 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.359e-05/0.3687, allocations: 19.14 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001717/0.3688, allocations: 31.17 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.3689, allocations: 4 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.223e-05/0.3689, allocations: 11.2 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.803e-05/0.369, allocations: 3.594 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.3692, allocations: 73.78 kB / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3692, allocations: 5.125 kB / 326.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.3692, allocations: 0 / 326.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.246e-05/0.3693, allocations: 0 / 326.9 MB, free: 2.035 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.0004716/0.3697, allocations: 392.5 kB / 327.2 MB, free: 1.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3698, allocations: 9.5 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.769e-05/0.3698, allocations: 7.281 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.3701, allocations: 187.8 kB / 327.4 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.3701, allocations: 8.641 kB / 327.4 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.3701, allocations: 7.406 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.3703, allocations: 46.02 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.3703, allocations: 1.281 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.3703, allocations: 4 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3703, allocations: 2.016 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.65e-05/0.3704, allocations: 13 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.3708, allocations: 276.2 kB / 327.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.3711, allocations: 49.61 kB / 327.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.3711, allocations: 2 kB / 327.8 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001452/0.3713, allocations: 55.66 kB / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.926e-06/0.3713, allocations: 5.016 kB / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005268/0.3718, allocations: 110.9 kB / 328 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3719, allocations: 52.84 kB / 328.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.372, allocations: 135.2 kB / 328.2 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3721, allocations: 35.2 kB / 328.2 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.3721, allocations: 160.6 kB / 328.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.693e-05/0.3722, allocations: 15.25 kB / 328.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.3722, allocations: 1.25 kB / 328.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.191e-05/0.3723, allocations: 322.4 kB / 328.7 MB, free: 240 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.912e-05/0.3723, allocations: 15.08 kB / 328.7 MB, free: 236 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/0.3724, allocations: 20.89 kB / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.326e-05/0.3725, allocations: 45.05 kB / 328.8 MB, free: 188 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3725, allocations: 5.094 kB / 328.8 MB, free: 184 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002419/0.3728, allocations: 115.8 kB / 328.9 MB, free: 96 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.3728, allocations: 37.55 kB / 328.9 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3728, allocations: 0.6562 kB / 328.9 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3728, allocations: 1.062 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.514e-05/0.3729, allocations: 9.047 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.373, allocations: 1.094 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.3731, allocations: 7.656 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.3731, allocations: 2.406 kB / 329 MB, free: 56 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.0001481/0.3732, allocations: 125.4 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3733, allocations: 7.438 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.3733, allocations: 13.14 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3734, allocations: 0 / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.3734, allocations: 2.484 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3734, allocations: 0 / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.3739, allocations: 334.5 kB / 329.4 MB, free: 15.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.3739, allocations: 3.938 kB / 329.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.374, allocations: 10.52 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.437e-06/0.374, allocations: 128 / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.374, allocations: 13.98 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.374, allocations: 1.281 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3741, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.3743, allocations: 167.8 kB / 329.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.392e-05/0.3744, allocations: 85.06 kB / 329.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.3744, allocations: 1.125 kB / 329.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.595e-05/0.3745, allocations: 2.438 kB / 329.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.3746, allocations: 8.312 kB / 329.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3746, allocations: 2.969 kB / 329.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.3748, allocations: 112.1 kB / 329.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3748, allocations: 1.156 kB / 329.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003639/0.3752, allocations: 27.59 kB / 329.9 MB, free: 15.23 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.001039/0.3762, allocations: 350.8 kB / 330.2 MB, free: 15.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002836/0.3765, allocations: 102.4 kB / 330.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3766, allocations: 0 / 330.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.217e-05/0.3766, allocations: 11.2 kB / 330.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.377, allocations: 26.83 kB / 330.3 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005484/0.3775, allocations: 204.2 kB / 330.5 MB, free: 14.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3779, allocations: 0.6944 MB / 331.2 MB, free: 14.06 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.378, allocations: 19.03 kB / 331.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of SimCode: time 1.322e-06/0.378, allocations: 0 / 331.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of Templates: time 0.00559/0.3836, allocations: 1.616 MB / 332.9 MB, free: 13.87 MB / 282.7 MB