Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,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.Test56") Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.495e-05, allocations: 4 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3711, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.0026/0.3737, allocations: 1.354 MB / 364.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002542/0.3763, allocations: 1.217 MB / 365.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.3765, allocations: 1.062 kB / 365.4 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002568/0.3767, allocations: 22.67 kB / 365.5 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.377, allocations: 32.86 kB / 365.5 MB, free: 9.922 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002041/0.3772, allocations: 47.28 kB / 365.5 MB, free: 9.887 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3773, allocations: 40.42 kB / 365.6 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.341e-05/0.3774, allocations: 10.61 kB / 365.6 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001036/0.3776, allocations: 35.84 kB / 365.6 MB, free: 9.828 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.3777, allocations: 28.23 kB / 365.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.3779, allocations: 42.7 kB / 365.7 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.886e-05/0.378, allocations: 5.344 kB / 365.7 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.378, allocations: 20.09 kB / 365.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.3781, allocations: 5.281 kB / 365.7 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.3783, allocations: 95.5 kB / 365.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3784, allocations: 0 / 365.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.3784, allocations: 0 / 365.8 MB, free: 9.723 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.3784, allocations: 0 / 365.8 MB, free: 9.723 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.0006928/0.3791, allocations: 440.8 kB / 366.2 MB, free: 9.254 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3792, allocations: 13.06 kB / 366.3 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.3792, allocations: 9.062 kB / 366.3 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.3796, allocations: 199.7 kB / 366.5 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.836e-05/0.3796, allocations: 6.938 kB / 366.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.3796, allocations: 2.938 kB / 366.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3799, allocations: 70.64 kB / 366.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.3799, allocations: 0 / 366.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3799, allocations: 8.781 kB / 366.5 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.38, allocations: 5.016 kB / 366.6 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.3801, allocations: 22.52 kB / 366.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.3806, allocations: 291.2 kB / 366.9 MB, free: 8.617 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3809, allocations: 62.58 kB / 366.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.086e-05/0.3809, allocations: 4.938 kB / 366.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.3811, allocations: 73.09 kB / 367 MB, free: 8.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.394e-06/0.3812, allocations: 1.125 kB / 367 MB, free: 8.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007773/0.3819, allocations: 175.4 kB / 367.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.706e-05/0.382, allocations: 78.48 kB / 367.2 MB, free: 8.301 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.3822, allocations: 134.2 kB / 367.4 MB, free: 8.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.3823, allocations: 30.89 kB / 367.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.648e-05/0.3824, allocations: 165.6 kB / 367.6 MB, free: 7.988 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.682e-05/0.3824, allocations: 23.31 kB / 367.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.3824, allocations: 1.25 kB / 367.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001813/0.3826, allocations: 320.4 kB / 367.9 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3828, allocations: 31.42 kB / 367.9 MB, free: 7.633 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.3829, allocations: 57.08 kB / 368 MB, free: 7.59 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.3831, allocations: 74.25 kB / 368.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3831, allocations: 0 / 368.1 MB, free: 7.531 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004312/0.3836, allocations: 161.5 kB / 368.2 MB, free: 7.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.3836, allocations: 33.36 kB / 368.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3837, allocations: 0 / 368.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.3837, allocations: 1.125 kB / 368.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3838, allocations: 18.17 kB / 368.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3839, allocations: 1.062 kB / 368.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.384, allocations: 8.188 kB / 368.3 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.384, allocations: 7.5 kB / 368.3 MB, free: 7.375 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.0001582/0.3842, allocations: 125.1 kB / 368.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.3842, allocations: 12.02 kB / 368.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.3843, allocations: 12.81 kB / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3843, allocations: 1.062 kB / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.3843, allocations: 0 / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.3843, allocations: 3.938 kB / 368.4 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.385, allocations: 396 kB / 368.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.3851, allocations: 1.281 kB / 368.8 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.367e-05/0.3851, allocations: 15.27 kB / 368.8 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.3852, allocations: 5.359 kB / 368.8 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3852, allocations: 2.125 kB / 368.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3852, allocations: 0.9062 kB / 368.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3852, allocations: 0 / 368.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.3856, allocations: 222.8 kB / 369.1 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.3857, allocations: 93.19 kB / 369.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.3857, allocations: 1.938 kB / 369.2 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.3859, allocations: 7.516 kB / 369.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.3859, allocations: 3.688 kB / 369.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.431e-05/0.386, allocations: 2.781 kB / 369.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000138/0.3861, allocations: 114 kB / 369.3 MB, free: 6.43 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3861, allocations: 4 kB / 369.3 MB, free: 6.426 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004274/0.3866, allocations: 39.61 kB / 369.3 MB, free: 6.414 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.00146/0.3881, allocations: 496 kB / 369.8 MB, free: 6.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.3885, allocations: 151.9 kB / 370 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.3886, allocations: 0 / 370 MB, free: 5.977 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.3887, allocations: 34.7 kB / 370 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003324/0.389, allocations: 20.89 kB / 370 MB, free: 5.949 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.3897, allocations: 231 kB / 370.2 MB, free: 5.734 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003505/0.39, allocations: 0.6983 MB / 370.9 MB, free: 5.027 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.876e-05/0.3901, allocations: 23.73 kB / 371 MB, free: 5.012 MB / 298.7 MB Notification: Performance of SimCode: time 9.62e-07/0.3901, allocations: 0 / 371 MB, free: 5.012 MB / 298.7 MB Notification: Performance of Templates: time 0.006233/0.3964, allocations: 2.114 MB / 373.1 MB, free: 3.238 MB / 298.7 MB