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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadModel(ModelicaTest): time 1.939/1.939, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.406e-05/4.409e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3928/0.3928, allocations: 48.69 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002422/0.3953, allocations: 1.314 MB / 326.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009527/0.3963, allocations: 399.5 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.135e-05/0.3964, allocations: 4.938 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002246/0.3967, allocations: 14.62 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.3968, allocations: 36.39 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001951/0.397, allocations: 49.98 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.3972, allocations: 44.11 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.048e-05/0.3973, allocations: 3.969 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.327e-05/0.3974, allocations: 25.34 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.3975, allocations: 23.33 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.3976, allocations: 33.16 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.3976, allocations: 3.281 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.734e-05/0.3977, allocations: 31.92 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.745e-05/0.3977, allocations: 3.625 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.398, allocations: 84.11 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.398, allocations: 0 / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.398, allocations: 0 / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.398, allocations: 1.281 kB / 326.9 MB, free: 2.031 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004833/0.3985, allocations: 413.1 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3986, allocations: 10.12 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.3986, allocations: 13.5 kB / 327.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.3989, allocations: 199.5 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.3989, allocations: 6.266 kB / 327.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.399, allocations: 10.98 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.3991, allocations: 47.06 kB / 327.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.3992, allocations: 2.5 kB / 327.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.3992, allocations: 0 / 327.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.3992, allocations: 6.531 kB / 327.6 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.474e-05/0.3993, allocations: 13.45 kB / 327.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.3996, allocations: 295.3 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.3999, allocations: 42.42 kB / 327.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.3999, allocations: 1.906 kB / 327.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001401/0.4001, allocations: 59.72 kB / 328 MB, free: 0.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.853e-06/0.4001, allocations: 0 / 328 MB, free: 0.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004657/0.4006, allocations: 125.9 kB / 328.1 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.4006, allocations: 56.59 kB / 328.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4009, allocations: 222.9 kB / 328.4 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.4009, allocations: 27.02 kB / 328.4 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.507e-05/0.401, allocations: 169.5 kB / 328.6 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.4011, allocations: 16.62 kB / 328.6 MB, free: 492 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.094e-06/0.4011, allocations: 0 / 328.6 MB, free: 492 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.4011, allocations: 322.9 kB / 328.9 MB, free: 164 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.984e-05/0.4012, allocations: 15.09 kB / 328.9 MB, free: 160 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.615e-05/0.4013, allocations: 24.39 kB / 329 MB, free: 148 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.4014, allocations: 47.34 kB / 329 MB, free: 108 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.4014, allocations: 0 / 329 MB, free: 108 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002254/0.4016, allocations: 112.4 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.968e-05/0.4017, allocations: 37.47 kB / 329.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4017, allocations: 0.6562 kB / 329.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.4017, allocations: 1.281 kB / 329.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.117e-05/0.4018, allocations: 8.969 kB / 329.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.4018, allocations: 0.7031 kB / 329.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.4019, allocations: 2.969 kB / 329.2 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.402, allocations: 6.797 kB / 329.2 MB, free: 15.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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.0001654/0.4021, allocations: 142.1 kB / 329.3 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.4022, allocations: 17.41 kB / 329.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.4023, allocations: 16.39 kB / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4023, allocations: 2.188 kB / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4023, allocations: 0 / 329.3 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4023, allocations: 5.438 kB / 329.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005315/0.4028, allocations: 345.6 kB / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.895e-06/0.4029, allocations: 4 kB / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/0.4029, allocations: 10.5 kB / 329.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.4029, allocations: 5.094 kB / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.403, allocations: 1.875 kB / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.403, allocations: 0 / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.403, allocations: 1.219 kB / 329.7 MB, free: 15.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.4032, allocations: 173.2 kB / 329.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.489e-05/0.4033, allocations: 86.06 kB / 330 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.402e-05/0.4034, allocations: 8.703 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.742e-05/0.4035, allocations: 3.547 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.006e-05/0.4035, allocations: 3.547 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.4035, allocations: 3.125 kB / 330 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002617/0.4038, allocations: 189.5 kB / 330.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4038, allocations: 0 / 330.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000359/0.4042, allocations: 24.95 kB / 330.2 MB, free: 15.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 4 * 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.000985/0.4052, allocations: 348.3 kB / 330.5 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002557/0.4055, allocations: 101.3 kB / 330.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4055, allocations: 0 / 330.6 MB, free: 14.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.43e-05/0.4056, allocations: 16.39 kB / 330.6 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.0003276/0.4059, allocations: 22.53 kB / 330.7 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006939/0.4066, allocations: 291.7 kB / 331 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.407, allocations: 0.7137 MB / 331.7 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.614e-05/0.4071, allocations: 14.69 kB / 331.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.4071, allocations: 4 kB / 331.7 MB, free: 13.91 MB / 282.7 MB Notification: Performance of Templates: time 0.005612/0.4127, allocations: 1.809 MB / 333.5 MB, free: 13.7 MB / 282.7 MB