Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.308e-05/4.321e-05, allocations: 8 kB / 308 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3775/0.3776, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002515/0.3802, allocations: 1.358 MB / 364.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.3817, allocations: 0.6507 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.19e-05/0.3819, allocations: 0 / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.3821, allocations: 21.03 kB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.3824, allocations: 26.45 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.3826, allocations: 46.38 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.3828, allocations: 53.38 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.287e-05/0.3829, allocations: 10.33 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.919e-05/0.383, allocations: 34.2 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.257e-05/0.3831, allocations: 22.14 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3832, allocations: 31.42 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.516e-05/0.3832, allocations: 3.594 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.22e-05/0.3833, allocations: 17.78 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.771e-05/0.3833, allocations: 5.625 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.3836, allocations: 79.28 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3836, allocations: 0 / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3836, allocations: 1 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3836, allocations: 0 / 365.2 MB, free: 10.2 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.0006096/0.3842, allocations: 449.7 kB / 365.7 MB, free: 9.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.3843, allocations: 12.06 kB / 365.7 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.024e-05/0.3844, allocations: 9.375 kB / 365.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002877/0.3847, allocations: 208.1 kB / 365.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.774e-05/0.3847, allocations: 6.656 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.3848, allocations: 4.094 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.385, allocations: 61.64 kB / 365.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.385, allocations: 0 / 365.9 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.385, allocations: 4 kB / 366 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.385, allocations: 5.266 kB / 366 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.3852, allocations: 19.27 kB / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.3856, allocations: 289.6 kB / 366.3 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/0.3859, allocations: 57.38 kB / 366.3 MB, free: 9.055 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.3859, allocations: 9.109 kB / 366.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002095/0.3861, allocations: 73.91 kB / 366.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/0.3862, allocations: 0 / 366.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007864/0.387, allocations: 176.9 kB / 366.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.387, allocations: 56.55 kB / 366.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002201/0.3873, allocations: 165.5 kB / 366.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.46e-05/0.3873, allocations: 27.95 kB / 366.8 MB, free: 8.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.181e-05/0.3874, allocations: 169.3 kB / 367 MB, free: 8.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.117e-05/0.3874, allocations: 27.7 kB / 367 MB, free: 8.465 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.3875, allocations: 4.875 kB / 367 MB, free: 8.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3876, allocations: 312.1 kB / 367.3 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.3877, allocations: 32.48 kB / 367.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.3879, allocations: 50.22 kB / 367.4 MB, free: 8.098 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3881, allocations: 74.09 kB / 367.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3881, allocations: 0 / 367.5 MB, free: 8.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003967/0.3885, allocations: 152.1 kB / 367.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.3885, allocations: 36.41 kB / 367.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.3886, allocations: 1.562 kB / 367.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.3886, allocations: 5.297 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.3887, allocations: 16.44 kB / 367.7 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3888, allocations: 1.625 kB / 367.7 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.873e-05/0.3889, allocations: 4.094 kB / 367.7 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.3889, allocations: 3.875 kB / 367.7 MB, free: 7.891 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.0001512/0.3891, allocations: 132.3 kB / 367.8 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.132e-05/0.3891, allocations: 12.44 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.3892, allocations: 21.31 kB / 367.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.3892, allocations: 5.219 kB / 367.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3892, allocations: 0 / 367.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.3892, allocations: 3.984 kB / 367.9 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006778/0.3899, allocations: 395.2 kB / 368.2 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.3899, allocations: 4.047 kB / 368.2 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.55e-05/0.39, allocations: 15.38 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.433e-06/0.39, allocations: 1.281 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3901, allocations: 2.156 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.3901, allocations: 1.094 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3901, allocations: 0 / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003893/0.3905, allocations: 215.2 kB / 368.5 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-05/0.3906, allocations: 97.14 kB / 368.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.31e-05/0.3906, allocations: 2.125 kB / 368.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3908, allocations: 2.312 kB / 368.6 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.3908, allocations: 11.42 kB / 368.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.3908, allocations: 8.344 kB / 368.6 MB, free: 7.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000164/0.391, allocations: 132.5 kB / 368.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.391, allocations: 0 / 368.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003656/0.3914, allocations: 41.95 kB / 368.8 MB, free: 6.906 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.001198/0.3926, allocations: 402.4 kB / 369.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.3931, allocations: 147.7 kB / 369.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3931, allocations: 0 / 369.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.3932, allocations: 33.22 kB / 369.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.3936, allocations: 26.47 kB / 369.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.3943, allocations: 266.9 kB / 369.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.3946, allocations: 0.7095 MB / 370.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.409e-05/0.3947, allocations: 18.62 kB / 370.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3947, allocations: 0 / 370.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of Templates: time 0.005547/0.4003, allocations: 1.876 MB / 372.2 MB, free: 4.117 MB / 298.7 MB