Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.905e-05/3.899e-05, allocations: 12 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3749, allocations: 54.87 MB / 362.9 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002506/0.3774, allocations: 1.359 MB / 364.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3791, allocations: 0.6511 MB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.3792, allocations: 0.5625 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002375/0.3795, allocations: 16.69 kB / 364.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001788/0.3797, allocations: 32.98 kB / 364.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00018/0.3798, allocations: 49.53 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001489/0.38, allocations: 48.75 kB / 365 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.3801, allocations: 6.828 kB / 365 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.3802, allocations: 39.31 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.3803, allocations: 23.83 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.3805, allocations: 31.08 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.549e-05/0.3805, allocations: 3.594 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.662e-05/0.3806, allocations: 25.8 kB / 365.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.315e-05/0.3806, allocations: 4.844 kB / 365.2 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.3809, allocations: 90.84 kB / 365.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3809, allocations: 0 / 365.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3809, allocations: 0 / 365.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.044e-05/0.3809, allocations: 1.5 kB / 365.2 MB, free: 10.15 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.000626/0.3816, allocations: 451.3 kB / 365.7 MB, free: 9.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.3816, allocations: 12.59 kB / 365.7 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/0.3817, allocations: 10.06 kB / 365.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.382, allocations: 213.7 kB / 365.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.638e-05/0.382, allocations: 5.719 kB / 365.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.393e-05/0.3821, allocations: 4 kB / 365.9 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.3823, allocations: 57.86 kB / 366 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.3823, allocations: 0 / 366 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.3823, allocations: 1.5 kB / 366 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.894e-06/0.3824, allocations: 3.953 kB / 366 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.3825, allocations: 19.42 kB / 366 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.383, allocations: 299.4 kB / 366.3 MB, free: 9.047 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.3832, allocations: 67.5 kB / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.3833, allocations: 0 / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002113/0.3835, allocations: 73.19 kB / 366.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.3835, allocations: 0 / 366.4 MB, free: 8.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007774/0.3843, allocations: 185.8 kB / 366.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.3844, allocations: 52.47 kB / 366.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.3847, allocations: 201.1 kB / 366.9 MB, free: 8.617 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.3847, allocations: 31.17 kB / 366.9 MB, free: 8.582 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.969e-05/0.3848, allocations: 173.1 kB / 367.1 MB, free: 8.414 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.524e-05/0.3849, allocations: 27.64 kB / 367.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.3849, allocations: 1.438 kB / 367.1 MB, free: 8.391 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.385, allocations: 316.2 kB / 367.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.3852, allocations: 39.14 kB / 367.4 MB, free: 8.051 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3853, allocations: 46.84 kB / 367.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3855, allocations: 62.3 kB / 367.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3855, allocations: 0 / 367.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000391/0.3859, allocations: 156.5 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.386, allocations: 44.42 kB / 367.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.386, allocations: 1.094 kB / 367.7 MB, free: 7.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.386, allocations: 5.562 kB / 367.7 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3862, allocations: 16.83 kB / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.3862, allocations: 1.438 kB / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.615e-05/0.3863, allocations: 2.75 kB / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.3863, allocations: 4.5 kB / 367.8 MB, free: 7.812 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.0001515/0.3865, allocations: 134.9 kB / 367.9 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/0.3865, allocations: 9.312 kB / 367.9 MB, free: 7.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.69e-05/0.3866, allocations: 19.77 kB / 367.9 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.3866, allocations: 13.3 kB / 367.9 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3866, allocations: 0 / 367.9 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3866, allocations: 0 / 367.9 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000673/0.3873, allocations: 390 kB / 368.3 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/0.3874, allocations: 5.266 kB / 368.3 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.3874, allocations: 15.25 kB / 368.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.3874, allocations: 1.406 kB / 368.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.3875, allocations: 1.406 kB / 368.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3875, allocations: 5.281 kB / 368.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3875, allocations: 0 / 368.4 MB, free: 7.262 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.3878, allocations: 223.4 kB / 368.6 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.621e-05/0.388, allocations: 101.8 kB / 368.7 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.388, allocations: 2.469 kB / 368.7 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3881, allocations: 1.906 kB / 368.7 MB, free: 6.949 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.3882, allocations: 15.33 kB / 368.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.3882, allocations: 4.969 kB / 368.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002039/0.3884, allocations: 157.4 kB / 368.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3884, allocations: 0 / 368.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003595/0.3888, allocations: 29.92 kB / 368.9 MB, free: 6.824 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.001181/0.39, allocations: 402.3 kB / 369.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.3904, allocations: 154.3 kB / 369.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3905, allocations: 1.094 kB / 369.4 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.3906, allocations: 25.27 kB / 369.4 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.391, allocations: 25.28 kB / 369.5 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006848/0.3917, allocations: 295.6 kB / 369.8 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.392, allocations: 0.7209 MB / 370.5 MB, free: 5.477 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.721e-05/0.3921, allocations: 13.75 kB / 370.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3921, allocations: 1.156 kB / 370.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of Templates: time 0.005719/0.3978, allocations: 1.946 MB / 372.4 MB, free: 3.891 MB / 298.7 MB