Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.575/2.575, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.38e-05, allocations: 8 kB / 308 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4796, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.0026/0.4822, allocations: 1.347 MB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001572/0.4839, allocations: 0.6506 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.484, allocations: 5.875 kB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.4842, allocations: 24.92 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.4844, allocations: 37.03 kB / 364.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.4847, allocations: 45.69 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.4849, allocations: 50.08 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.843e-05/0.485, allocations: 6.453 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.4851, allocations: 36.09 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.471e-05/0.4852, allocations: 29.08 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.4853, allocations: 30.2 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.4854, allocations: 8.469 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.855e-05/0.4854, allocations: 23.61 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.246e-05/0.4855, allocations: 5.344 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.4857, allocations: 93.47 kB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4857, allocations: 0 / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.4857, allocations: 1.281 kB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.678e-06/0.4858, allocations: 0 / 365.2 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.0006528/0.4864, allocations: 462 kB / 365.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4865, allocations: 13.53 kB / 365.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.998e-05/0.4866, allocations: 18.09 kB / 365.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003117/0.4869, allocations: 206.9 kB / 365.9 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.4869, allocations: 11.16 kB / 365.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.487, allocations: 3.406 kB / 365.9 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.4872, allocations: 53.52 kB / 366 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4872, allocations: 0 / 366 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.4872, allocations: 1.188 kB / 366 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4872, allocations: 5.078 kB / 366 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001138/0.4874, allocations: 18.7 kB / 366 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004827/0.4879, allocations: 318.6 kB / 366.3 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.4881, allocations: 57.11 kB / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.4882, allocations: 1.594 kB / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002213/0.4884, allocations: 69.5 kB / 366.5 MB, free: 8.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.554e-06/0.4884, allocations: 4 kB / 366.5 MB, free: 8.926 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008769/0.4893, allocations: 186.4 kB / 366.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.777e-05/0.4894, allocations: 52.59 kB / 366.7 MB, free: 8.754 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.4898, allocations: 242.5 kB / 366.9 MB, free: 8.594 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.4898, allocations: 28.36 kB / 367 MB, free: 8.562 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.4899, allocations: 173.2 kB / 367.1 MB, free: 8.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.279e-05/0.49, allocations: 19.66 kB / 367.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-06/0.49, allocations: 1.438 kB / 367.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4902, allocations: 324.2 kB / 367.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4903, allocations: 34.67 kB / 367.5 MB, free: 8.035 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.4905, allocations: 50.97 kB / 367.6 MB, free: 8 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.4907, allocations: 66.25 kB / 367.6 MB, free: 7.949 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.4907, allocations: 0 / 367.6 MB, free: 7.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004261/0.4911, allocations: 153.1 kB / 367.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.106e-05/0.4912, allocations: 40.62 kB / 367.8 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.4912, allocations: 0 / 367.8 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.4912, allocations: 1.375 kB / 367.8 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.4914, allocations: 21.58 kB / 367.8 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4914, allocations: 1.344 kB / 367.8 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4915, allocations: 7.406 kB / 367.8 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.4916, allocations: 4.5 kB / 367.8 MB, free: 7.793 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.000192/0.4918, allocations: 138.4 kB / 368 MB, free: 7.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.4918, allocations: 17.78 kB / 368 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.279e-05/0.4919, allocations: 28.19 kB / 368 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4919, allocations: 1.344 kB / 368 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.4919, allocations: 0 / 368 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.92e-06/0.4919, allocations: 1.469 kB / 368 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007081/0.4927, allocations: 403.8 kB / 368.4 MB, free: 7.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.4927, allocations: 4.984 kB / 368.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.227e-05/0.4928, allocations: 7.156 kB / 368.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.4928, allocations: 1.125 kB / 368.4 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/0.4928, allocations: 6.25 kB / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.4928, allocations: 1.469 kB / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4928, allocations: 0 / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.4932, allocations: 216.4 kB / 368.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.4933, allocations: 101.6 kB / 368.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.778e-05/0.4934, allocations: 6.266 kB / 368.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4935, allocations: 6.969 kB / 368.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.4936, allocations: 11.5 kB / 368.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.727e-05/0.4936, allocations: 7.359 kB / 368.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.4939, allocations: 187.5 kB / 369 MB, free: 6.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4939, allocations: 0 / 369 MB, free: 6.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.4942, allocations: 30 kB / 369 MB, free: 6.785 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.001206/0.4955, allocations: 407.6 kB / 369.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004276/0.4959, allocations: 154.7 kB / 369.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4959, allocations: 0 / 369.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001194/0.4961, allocations: 25.73 kB / 369.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.4964, allocations: 33.44 kB / 369.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007773/0.4972, allocations: 324.6 kB / 369.9 MB, free: 6.137 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.4976, allocations: 0.7242 MB / 370.6 MB, free: 5.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.01e-05/0.4977, allocations: 14.19 kB / 370.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of SimCode: time 1.683e-06/0.4977, allocations: 0 / 370.7 MB, free: 5.406 MB / 298.7 MB Notification: Performance of Templates: time 0.006043/0.5038, allocations: 2.024 MB / 372.7 MB, free: 3.668 MB / 298.7 MB