Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.908e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3828, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002516/0.3853, allocations: 1.363 MB / 364.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001614/0.387, allocations: 0.6541 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.3872, allocations: 3.938 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002455/0.3874, allocations: 21.5 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001879/0.3876, allocations: 26.42 kB / 364.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.3879, allocations: 46.28 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.388, allocations: 57.31 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.3881, allocations: 2.469 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3883, allocations: 34.06 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.777e-05/0.3884, allocations: 34.72 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.3885, allocations: 27.06 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3886, allocations: 4.312 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.369e-05/0.3886, allocations: 18.8 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.3887, allocations: 5.531 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.3889, allocations: 84.69 kB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3889, allocations: 0 / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.389, allocations: 5.188 kB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.389, allocations: 0 / 365.2 MB, free: 10.18 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.0006078/0.3896, allocations: 446.9 kB / 365.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3896, allocations: 13.62 kB / 365.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.697e-05/0.3897, allocations: 8.281 kB / 365.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.39, allocations: 201.8 kB / 365.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.3901, allocations: 2.438 kB / 365.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.924e-05/0.3901, allocations: 2.875 kB / 365.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002027/0.3903, allocations: 67.02 kB / 366 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.3903, allocations: 0 / 366 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.3904, allocations: 3.984 kB / 366 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3904, allocations: 5.391 kB / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001166/0.3905, allocations: 22.05 kB / 366 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005016/0.391, allocations: 290.7 kB / 366.3 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.3913, allocations: 66.48 kB / 366.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.3913, allocations: 1.125 kB / 366.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.3916, allocations: 73.16 kB / 366.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.655e-06/0.3916, allocations: 0 / 366.4 MB, free: 8.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007877/0.3924, allocations: 176.4 kB / 366.6 MB, free: 8.863 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3924, allocations: 52.66 kB / 366.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002502/0.3927, allocations: 183.7 kB / 366.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.3928, allocations: 30.98 kB / 366.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3929, allocations: 165.6 kB / 367 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.166e-05/0.3929, allocations: 26.67 kB / 367 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-06/0.3929, allocations: 1.469 kB / 367 MB, free: 8.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3931, allocations: 316.4 kB / 367.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.3932, allocations: 27.02 kB / 367.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3934, allocations: 56.38 kB / 367.4 MB, free: 8.078 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.3935, allocations: 65.48 kB / 367.5 MB, free: 8.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3936, allocations: 0 / 367.5 MB, free: 8.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004067/0.394, allocations: 152.7 kB / 367.6 MB, free: 7.922 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.275e-05/0.394, allocations: 41.05 kB / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.3941, allocations: 384 / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3941, allocations: 2.25 kB / 367.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.3943, allocations: 20.73 kB / 367.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3943, allocations: 5.094 kB / 367.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.3944, allocations: 16.19 kB / 367.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.3944, allocations: 3.656 kB / 367.7 MB, free: 7.859 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.0001523/0.3946, allocations: 125 kB / 367.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.73e-05/0.3947, allocations: 9.25 kB / 367.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/0.3947, allocations: 17.73 kB / 367.9 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/0.3948, allocations: 5.844 kB / 367.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3948, allocations: 0 / 367.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3948, allocations: 0 / 367.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006788/0.3955, allocations: 395.8 kB / 368.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.3955, allocations: 5.016 kB / 368.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.3956, allocations: 15.02 kB / 368.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.012e-06/0.3956, allocations: 1.219 kB / 368.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.3956, allocations: 5.906 kB / 368.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3956, allocations: 1 kB / 368.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.3957, allocations: 1.062 kB / 368.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/0.396, allocations: 227.2 kB / 368.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.041e-05/0.3961, allocations: 93.22 kB / 368.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.728e-05/0.3962, allocations: 2.25 kB / 368.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.3963, allocations: 6.422 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.734e-05/0.3964, allocations: 3.438 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.3964, allocations: 7 kB / 368.6 MB, free: 7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001859/0.3966, allocations: 148 kB / 368.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.245e-06/0.3966, allocations: 0 / 368.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.397, allocations: 36.92 kB / 368.8 MB, free: 6.879 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.0012/0.3982, allocations: 406.8 kB / 369.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005043/0.3988, allocations: 147.2 kB / 369.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.3988, allocations: 64 / 369.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.3989, allocations: 33.7 kB / 369.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/0.3993, allocations: 21.09 kB / 369.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006786/0.4, allocations: 281.3 kB / 369.7 MB, free: 6.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003391/0.4004, allocations: 0.704 MB / 370.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.945e-05/0.4004, allocations: 18.67 kB / 370.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4004, allocations: 0 / 370.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of Templates: time 0.005781/0.4062, allocations: 1.895 MB / 372.3 MB, free: 4.066 MB / 298.7 MB