Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,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.Test36") Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.677e-05/4.677e-05, allocations: 4 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4042, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.002555/0.4068, allocations: 1.359 MB / 364.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.4084, allocations: 0.6548 MB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.4085, allocations: 1.375 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.4088, allocations: 70.45 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.409, allocations: 55.5 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.4093, allocations: 41.64 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.4094, allocations: 54.81 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.4095, allocations: 2.562 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4097, allocations: 42.3 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001266/0.4098, allocations: 43.84 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.4099, allocations: 30.83 kB / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.41, allocations: 3.219 kB / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.461e-05/0.41, allocations: 21.52 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.4101, allocations: 5.094 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.4103, allocations: 90.78 kB / 365.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4103, allocations: 0 / 365.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.4103, allocations: 1.469 kB / 365.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.458e-06/0.4104, allocations: 3.938 kB / 365.3 MB, free: 10.16 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.0006232/0.411, allocations: 458.6 kB / 365.8 MB, free: 9.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4111, allocations: 17.59 kB / 365.8 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.4111, allocations: 9.625 kB / 365.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002911/0.4114, allocations: 198.5 kB / 366 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.4115, allocations: 2.125 kB / 366 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.4115, allocations: 7.344 kB / 366 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.4117, allocations: 54.45 kB / 366.1 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/0.4118, allocations: 4 kB / 366.1 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4118, allocations: 5.016 kB / 366.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.4118, allocations: 7.953 kB / 366.1 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001335/0.4119, allocations: 23.59 kB / 366.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004683/0.4124, allocations: 299.7 kB / 366.4 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002433/0.4127, allocations: 58.59 kB / 366.4 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.4127, allocations: 1.781 kB / 366.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.4129, allocations: 80.27 kB / 366.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.953e-06/0.413, allocations: 0 / 366.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007945/0.4138, allocations: 177.2 kB / 366.7 MB, free: 8.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.4138, allocations: 52.75 kB / 366.8 MB, free: 8.766 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002907/0.4141, allocations: 204.8 kB / 367 MB, free: 8.625 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.4142, allocations: 30.83 kB / 367 MB, free: 8.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.508e-05/0.4143, allocations: 173.7 kB / 367.2 MB, free: 8.422 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.4143, allocations: 23.88 kB / 367.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.4144, allocations: 5.156 kB / 367.2 MB, free: 8.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.4145, allocations: 315.9 kB / 367.5 MB, free: 8.082 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.4146, allocations: 32.55 kB / 367.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000137/0.4148, allocations: 46.44 kB / 367.6 MB, free: 8.035 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001547/0.4149, allocations: 65.62 kB / 367.6 MB, free: 7.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.415, allocations: 4 kB / 367.6 MB, free: 7.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003939/0.4154, allocations: 153 kB / 367.8 MB, free: 7.875 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.193e-05/0.4154, allocations: 40.75 kB / 367.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4155, allocations: 0 / 367.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.4155, allocations: 1.281 kB / 367.8 MB, free: 7.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.4156, allocations: 17.48 kB / 367.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.4157, allocations: 1.531 kB / 367.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.4158, allocations: 2.781 kB / 367.8 MB, free: 7.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.259e-05/0.4158, allocations: 5.156 kB / 367.9 MB, free: 7.832 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.0001581/0.416, allocations: 138.5 kB / 368 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.416, allocations: 9.531 kB / 368 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.211e-05/0.4161, allocations: 23.44 kB / 368 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4161, allocations: 5.25 kB / 368 MB, free: 7.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.4161, allocations: 3.938 kB / 368 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4161, allocations: 0 / 368 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006803/0.4168, allocations: 393.3 kB / 368.4 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.4169, allocations: 9.484 kB / 368.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.4169, allocations: 7.5 kB / 368.4 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/0.4169, allocations: 5.078 kB / 368.4 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.417, allocations: 5.438 kB / 368.4 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.417, allocations: 1.375 kB / 368.4 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.165e-06/0.417, allocations: 0 / 368.4 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.4174, allocations: 224.8 kB / 368.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.4175, allocations: 97.12 kB / 368.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.4175, allocations: 3.031 kB / 368.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.4177, allocations: 1.406 kB / 368.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.428e-05/0.4177, allocations: 7.859 kB / 368.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-05/0.4178, allocations: 11.97 kB / 368.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002221/0.418, allocations: 161.9 kB / 368.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.418, allocations: 0 / 368.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003674/0.4184, allocations: 29.03 kB / 369 MB, free: 6.836 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.001209/0.4196, allocations: 406.9 kB / 369.4 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000414/0.42, allocations: 154.1 kB / 369.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4201, allocations: 1.031 kB / 369.5 MB, free: 6.469 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4202, allocations: 25.78 kB / 369.5 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.4206, allocations: 32.97 kB / 369.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.4213, allocations: 291.3 kB / 369.9 MB, free: 6.203 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.4217, allocations: 0.7166 MB / 370.6 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.4217, allocations: 14.5 kB / 370.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4218, allocations: 1.406 kB / 370.6 MB, free: 5.477 MB / 298.7 MB Notification: Performance of Templates: time 0.005581/0.4274, allocations: 1.943 MB / 372.5 MB, free: 3.824 MB / 298.7 MB