Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.035e-05/7.033e-05, allocations: 4.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3772, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002876/0.3801, allocations: 1.514 MB / 364.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.3818, allocations: 0.6773 MB / 365 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.382, allocations: 6.438 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000267/0.3823, allocations: 20.72 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001854/0.3825, allocations: 38.03 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.3827, allocations: 51.5 kB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.3829, allocations: 69.89 kB / 365.2 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.383, allocations: 13.48 kB / 365.2 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3832, allocations: 46.33 kB / 365.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.3833, allocations: 26.7 kB / 365.3 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.3834, allocations: 32.58 kB / 365.3 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.3835, allocations: 4.188 kB / 365.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.089e-05/0.3835, allocations: 22.73 kB / 365.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.3836, allocations: 6.938 kB / 365.4 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.3838, allocations: 110.5 kB / 365.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3839, allocations: 0 / 365.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3839, allocations: 0 / 365.5 MB, free: 9.98 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.3839, allocations: 1.562 kB / 365.5 MB, free: 9.98 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007306/0.3846, allocations: 486.3 kB / 366 MB, free: 9.473 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.3847, allocations: 9.031 kB / 366 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.908e-05/0.3848, allocations: 18.81 kB / 366 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.3851, allocations: 219.9 kB / 366.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.569e-05/0.3851, allocations: 4.531 kB / 366.2 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.606e-05/0.3852, allocations: 12.98 kB / 366.2 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.3855, allocations: 79.7 kB / 366.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.3855, allocations: 1.594 kB / 366.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.3856, allocations: 4 kB / 366.3 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.3856, allocations: 5.016 kB / 366.3 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002414/0.3858, allocations: 48.75 kB / 366.4 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006887/0.3865, allocations: 342.9 kB / 366.7 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000483/0.387, allocations: 98.23 kB / 366.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.605e-05/0.3871, allocations: 2.312 kB / 366.8 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003004/0.3874, allocations: 82.12 kB / 366.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.3874, allocations: 1.062 kB / 366.9 MB, free: 8.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006222/0.388, allocations: 153.2 kB / 367 MB, free: 8.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.3881, allocations: 56.52 kB / 367.1 MB, free: 8.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.3883, allocations: 159.7 kB / 367.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.3884, allocations: 28.14 kB / 367.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.3885, allocations: 169.1 kB / 367.4 MB, free: 8.184 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.186e-05/0.3886, allocations: 36.5 kB / 367.5 MB, free: 8.152 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.3886, allocations: 5.438 kB / 367.5 MB, free: 8.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3887, allocations: 316.3 kB / 367.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001699/0.3889, allocations: 37.91 kB / 367.8 MB, free: 7.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.3891, allocations: 67.48 kB / 367.9 MB, free: 7.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.3894, allocations: 71.55 kB / 367.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3894, allocations: 1.375 kB / 368 MB, free: 7.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005189/0.3899, allocations: 185.4 kB / 368.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.287e-05/0.39, allocations: 37.77 kB / 368.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.39, allocations: 0 / 368.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.39, allocations: 1.281 kB / 368.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3902, allocations: 25.83 kB / 368.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3903, allocations: 6.188 kB / 368.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.3904, allocations: 15.11 kB / 368.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.3905, allocations: 4.688 kB / 368.2 MB, free: 7.535 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 12 * 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.0001668/0.3906, allocations: 129.8 kB / 368.3 MB, free: 7.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.3907, allocations: 12.98 kB / 368.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.554e-05/0.3907, allocations: 21.05 kB / 368.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3908, allocations: 1.094 kB / 368.4 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3908, allocations: 5 kB / 368.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.3908, allocations: 0 / 368.4 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.3911, allocations: 204.7 kB / 368.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3911, allocations: 0 / 368.6 MB, free: 7.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.3912, allocations: 15.3 kB / 368.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.3912, allocations: 0 / 368.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.3913, allocations: 4.984 kB / 368.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3913, allocations: 1.031 kB / 368.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3913, allocations: 0 / 368.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.3919, allocations: 194.6 kB / 368.8 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.392, allocations: 94.47 kB / 368.9 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.719e-05/0.3921, allocations: 8.938 kB / 368.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.3922, allocations: 10.61 kB / 368.9 MB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.3923, allocations: 11.33 kB / 368.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.3923, allocations: 3.375 kB / 368.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001571/0.3925, allocations: 131.7 kB / 369.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3925, allocations: 0 / 369.1 MB, free: 6.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003183/0.3928, allocations: 27.66 kB / 369.1 MB, free: 6.777 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001055/0.3939, allocations: 371.6 kB / 369.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005231/0.3944, allocations: 163.6 kB / 369.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.3944, allocations: 0 / 369.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.3946, allocations: 48.47 kB / 369.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.395, allocations: 25.11 kB / 369.7 MB, free: 6.402 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007272/0.3957, allocations: 297.9 kB / 370 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3961, allocations: 0.7131 MB / 370.7 MB, free: 5.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.3962, allocations: 17.91 kB / 370.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3962, allocations: 1.156 kB / 370.7 MB, free: 5.426 MB / 298.7 MB Notification: Performance of Templates: time 0.005879/0.4021, allocations: 2.021 MB / 372.7 MB, free: 3.652 MB / 298.7 MB