Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.146e-05/5.154e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4585/0.4586, allocations: 48.71 MB / 324.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002645/0.4613, allocations: 1.459 MB / 326.3 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.4624, allocations: 427.2 kB / 326.7 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000103/0.4625, allocations: 2.312 kB / 326.7 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002349/0.4628, allocations: 24.59 kB / 326.8 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.463, allocations: 28.59 kB / 326.8 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.4632, allocations: 58.66 kB / 326.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.4634, allocations: 57.11 kB / 326.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.4635, allocations: 17.5 kB / 326.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.497e-05/0.4636, allocations: 31.8 kB / 326.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.958e-05/0.4637, allocations: 27.78 kB / 327 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.4639, allocations: 31.48 kB / 327 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.4639, allocations: 3.5 kB / 327 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.718e-05/0.464, allocations: 24.59 kB / 327 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.066e-05/0.464, allocations: 8.531 kB / 327 MB, free: 1.914 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.4643, allocations: 95 kB / 327.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.4643, allocations: 0 / 327.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4643, allocations: 0 / 327.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.4643, allocations: 0 / 327.1 MB, free: 1.898 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005732/0.4649, allocations: 443.2 kB / 327.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.465, allocations: 9.281 kB / 327.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.538e-05/0.465, allocations: 19.03 kB / 327.6 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.4653, allocations: 204.7 kB / 327.8 MB, free: 1.227 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.4653, allocations: 5.828 kB / 327.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/0.4654, allocations: 13.08 kB / 327.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002463/0.4656, allocations: 70.31 kB / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4657, allocations: 0 / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.4657, allocations: 1.25 kB / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.4657, allocations: 1.219 kB / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.4659, allocations: 43.72 kB / 327.9 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005625/0.4665, allocations: 343.6 kB / 328.3 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.4668, allocations: 69.97 kB / 328.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.4669, allocations: 1.281 kB / 328.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.4671, allocations: 76.11 kB / 328.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.4671, allocations: 0 / 328.4 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004548/0.4676, allocations: 122.2 kB / 328.5 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.4676, allocations: 53.41 kB / 328.6 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.4678, allocations: 147.9 kB / 328.7 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4678, allocations: 27.14 kB / 328.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.4679, allocations: 175.2 kB / 328.9 MB, free: 336 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.468, allocations: 19.2 kB / 328.9 MB, free: 324 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.878e-06/0.468, allocations: 4 kB / 328.9 MB, free: 320 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.136e-05/0.4681, allocations: 321.5 kB / 329.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001565/0.4683, allocations: 32.55 kB / 329.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001364/0.4684, allocations: 46.12 kB / 329.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4686, allocations: 64.41 kB / 329.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.4686, allocations: 0 / 329.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003984/0.469, allocations: 148 kB / 329.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.009e-05/0.4691, allocations: 40.09 kB / 329.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4691, allocations: 1.312 kB / 329.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4691, allocations: 2.109 kB / 329.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.4693, allocations: 15.03 kB / 329.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.4693, allocations: 2.031 kB / 329.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.4694, allocations: 10.38 kB / 329.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.745e-05/0.4694, allocations: 8.062 kB / 329.6 MB, free: 15.77 MB / 282.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001442/0.4696, allocations: 130 kB / 329.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.321e-05/0.4696, allocations: 14.45 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.633e-05/0.4697, allocations: 13.14 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.4697, allocations: 1.406 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.4697, allocations: 0 / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4697, allocations: 0.7969 kB / 329.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002316/0.47, allocations: 207.8 kB / 330 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.47, allocations: 0 / 330 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001257/0.4701, allocations: 15.45 kB / 330 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.4702, allocations: 1.172 kB / 330 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.4702, allocations: 2.094 kB / 330 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.4702, allocations: 0 / 330 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4702, allocations: 1.594 kB / 330 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004803/0.4707, allocations: 153.9 kB / 330.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.307e-05/0.4708, allocations: 90.36 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.47e-05/0.4708, allocations: 8.453 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.344e-05/0.4709, allocations: 11.59 kB / 330.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.859e-05/0.471, allocations: 4.719 kB / 330.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.471, allocations: 3.344 kB / 330.3 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.4712, allocations: 123.7 kB / 330.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4712, allocations: 0.7188 kB / 330.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003201/0.4715, allocations: 33.84 kB / 330.4 MB, free: 15.11 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0008799/0.4724, allocations: 295 kB / 330.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004075/0.4729, allocations: 135.7 kB / 330.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4729, allocations: 0 / 330.8 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.473, allocations: 27.73 kB / 330.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4734, allocations: 37.31 kB / 330.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007045/0.4741, allocations: 276.3 kB / 331.2 MB, free: 14.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.4744, allocations: 0.7129 MB / 331.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.72e-05/0.4745, allocations: 15.56 kB / 331.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of SimCode: time 9.197e-06/0.4745, allocations: 0 / 331.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of Templates: time 0.00603/0.4806, allocations: 1.84 MB / 333.7 MB, free: 13.7 MB / 282.7 MB