Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.707e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4433, allocations: 54.86 MB / 362.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002624/0.4459, allocations: 1.349 MB / 364.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.4475, allocations: 0.6579 MB / 364.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.4476, allocations: 1.562 kB / 364.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.4478, allocations: 21.31 kB / 364.9 MB, free: 10.57 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001437/0.448, allocations: 28.11 kB / 364.9 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.4482, allocations: 50.7 kB / 365 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.4484, allocations: 52.61 kB / 365 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.347e-05/0.4484, allocations: 2.844 kB / 365 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.458e-05/0.4486, allocations: 33.88 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.159e-05/0.4486, allocations: 21.45 kB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.4488, allocations: 30.89 kB / 365.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.302e-05/0.4488, allocations: 3.344 kB / 365.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.694e-05/0.4489, allocations: 17.98 kB / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.963e-05/0.4489, allocations: 4.25 kB / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.4491, allocations: 78.23 kB / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.4491, allocations: 0 / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4491, allocations: 4 kB / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.4492, allocations: 1.375 kB / 365.2 MB, free: 10.36 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.0005788/0.4498, allocations: 431 kB / 365.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4498, allocations: 9.25 kB / 365.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.4499, allocations: 7.875 kB / 365.7 MB, free: 9.895 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.4501, allocations: 195.5 kB / 365.9 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.789e-05/0.4502, allocations: 10.17 kB / 365.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.4502, allocations: 3.781 kB / 365.9 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.4504, allocations: 62.52 kB / 365.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.4505, allocations: 3.953 kB / 365.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.4505, allocations: 0 / 365.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.4505, allocations: 1.281 kB / 365.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.4506, allocations: 19.11 kB / 366 MB, free: 9.602 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4511, allocations: 299.4 kB / 366.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002481/0.4513, allocations: 62.7 kB / 366.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.4514, allocations: 4.922 kB / 366.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.4516, allocations: 65.61 kB / 366.4 MB, free: 9.168 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.773e-06/0.4516, allocations: 0 / 366.4 MB, free: 9.168 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007856/0.4524, allocations: 171.7 kB / 366.6 MB, free: 9.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.4525, allocations: 52.91 kB / 366.6 MB, free: 9.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.4527, allocations: 154.1 kB / 366.8 MB, free: 8.883 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.4527, allocations: 31.58 kB / 366.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.308e-05/0.4528, allocations: 99.72 kB / 366.9 MB, free: 8.75 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.896e-05/0.4529, allocations: 23.3 kB / 366.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.036e-05/0.4529, allocations: 1.219 kB / 366.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4531, allocations: 325.8 kB / 367.2 MB, free: 8.406 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.4532, allocations: 31.58 kB / 367.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.4533, allocations: 47.88 kB / 367.3 MB, free: 8.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.4535, allocations: 64.52 kB / 367.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4535, allocations: 1.219 kB / 367.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003981/0.4539, allocations: 157.9 kB / 367.5 MB, free: 8.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.288e-05/0.454, allocations: 36.09 kB / 367.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.454, allocations: 0.6875 kB / 367.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.454, allocations: 1.281 kB / 367.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.4542, allocations: 21.55 kB / 367.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.4542, allocations: 1.094 kB / 367.6 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.4543, allocations: 8.688 kB / 367.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.774e-05/0.4543, allocations: 3.938 kB / 367.6 MB, free: 8.152 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.0001407/0.4545, allocations: 126 kB / 367.7 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.842e-05/0.4545, allocations: 15.42 kB / 367.7 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.4546, allocations: 8.312 kB / 367.7 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.4546, allocations: 9.062 kB / 367.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.4546, allocations: 1.062 kB / 367.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4546, allocations: 0 / 367.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006564/0.4553, allocations: 404.9 kB / 368.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.4553, allocations: 0 / 368.1 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.666e-05/0.4554, allocations: 8.219 kB / 368.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4554, allocations: 1.188 kB / 368.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.4554, allocations: 1.469 kB / 368.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4554, allocations: 1.406 kB / 368.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.4554, allocations: 3.984 kB / 368.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.4558, allocations: 227.1 kB / 368.4 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.4559, allocations: 93.38 kB / 368.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.456, allocations: 5.125 kB / 368.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4561, allocations: 3.25 kB / 368.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.997e-05/0.4561, allocations: 14.84 kB / 368.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.4562, allocations: 3.938 kB / 368.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.4563, allocations: 124.2 kB / 368.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4563, allocations: 0 / 368.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003344/0.4567, allocations: 29.03 kB / 368.7 MB, free: 7.176 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.001155/0.4578, allocations: 391.7 kB / 369 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003861/0.4582, allocations: 155.5 kB / 369.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4583, allocations: 0 / 369.2 MB, free: 6.82 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.4584, allocations: 33.95 kB / 369.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003/0.4587, allocations: 25.59 kB / 369.2 MB, free: 6.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00055/0.4593, allocations: 206.3 kB / 369.4 MB, free: 6.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.4596, allocations: 0.7036 MB / 370.2 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.479e-05/0.4597, allocations: 11.39 kB / 370.2 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.915e-05/0.4598, allocations: 14.69 kB / 370.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.4598, allocations: 0 / 370.2 MB, free: 5.883 MB / 298.7 MB Notification: Performance of Templates: time 0.006251/0.4661, allocations: 1.588 MB / 371.8 MB, free: 4.539 MB / 298.7 MB