Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test11") Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/3.999e-05, allocations: 4 kB / 276.1 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3762, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002598/0.3788, allocations: 1.461 MB / 326.3 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001041/0.3799, allocations: 428.2 kB / 326.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.38, allocations: 2.188 kB / 326.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002273/0.3803, allocations: 24.89 kB / 326.8 MB, free: 2.023 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.3804, allocations: 25.7 kB / 326.8 MB, free: 2.016 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000236/0.3807, allocations: 63.5 kB / 326.8 MB, free: 1.988 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.3809, allocations: 60.56 kB / 326.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.381, allocations: 12.91 kB / 326.9 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.312e-05/0.3811, allocations: 32.84 kB / 326.9 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.3812, allocations: 25.64 kB / 327 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000152/0.3814, allocations: 29.56 kB / 327 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.3814, allocations: 7.781 kB / 327 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.76e-05/0.3815, allocations: 15.48 kB / 327 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.975e-05/0.3815, allocations: 9.969 kB / 327 MB, free: 1.922 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.3818, allocations: 99.11 kB / 327.1 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3818, allocations: 0 / 327.1 MB, free: 1.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3818, allocations: 3.938 kB / 327.1 MB, free: 1.898 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3818, 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.0005658/0.3824, allocations: 446.6 kB / 327.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3824, allocations: 9.281 kB / 327.6 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.3825, allocations: 10.64 kB / 327.6 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002433/0.3828, allocations: 206.3 kB / 327.8 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3828, allocations: 10.92 kB / 327.8 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.3828, allocations: 7.188 kB / 327.8 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.3831, allocations: 73.33 kB / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3831, allocations: 0 / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3831, allocations: 2.719 kB / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.3832, allocations: 1.25 kB / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001925/0.3834, allocations: 46.61 kB / 327.9 MB, free: 1.156 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005451/0.3839, allocations: 334.8 kB / 328.3 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.3843, allocations: 74.69 kB / 328.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.3843, allocations: 1.094 kB / 328.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/0.3845, allocations: 73.42 kB / 328.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 2.394e-06/0.3845, allocations: 0 / 328.4 MB, free: 0.7578 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004829/0.385, allocations: 124.9 kB / 328.5 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.3851, allocations: 57.48 kB / 328.6 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.3853, allocations: 144.5 kB / 328.7 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.992e-05/0.3853, allocations: 31.14 kB / 328.8 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.3854, allocations: 177 kB / 328.9 MB, free: 332 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.3854, allocations: 16.12 kB / 328.9 MB, free: 320 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.3854, allocations: 1.5 kB / 328.9 MB, free: 320 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.126e-05/0.3855, allocations: 314.7 kB / 329.2 MB, free: 0 / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001883/0.3857, allocations: 29.44 kB / 329.3 MB, free: 0 / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.3859, allocations: 55.23 kB / 329.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.3861, allocations: 67.94 kB / 329.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3861, allocations: 0 / 329.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003836/0.3865, allocations: 141.3 kB / 329.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.3865, allocations: 41.59 kB / 329.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.3865, allocations: 2.047 kB / 329.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3866, allocations: 0 / 329.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/0.3867, allocations: 19.72 kB / 329.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.3867, allocations: 1.25 kB / 329.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.3869, allocations: 18.69 kB / 329.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.3869, allocations: 4.484 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.0001381/0.387, allocations: 123 kB / 329.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.915e-05/0.3871, allocations: 15.56 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.411e-05/0.3871, allocations: 14.12 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.3871, allocations: 1.219 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3872, allocations: 1.094 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.3872, allocations: 0.75 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/0.3874, allocations: 196.4 kB / 330 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3874, allocations: 7.891 kB / 330 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.3876, allocations: 10.52 kB / 330 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3876, allocations: 1.5 kB / 330 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.3876, allocations: 5.484 kB / 330 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3876, allocations: 9.375 kB / 330 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3877, allocations: 0 / 330 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004713/0.3881, allocations: 148.2 kB / 330.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.331e-05/0.3882, allocations: 93.48 kB / 330.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3883, allocations: 6.516 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.3884, allocations: 10.3 kB / 330.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.3884, allocations: 5.281 kB / 330.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3885, allocations: 6.281 kB / 330.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3886, allocations: 120.6 kB / 330.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3886, allocations: 0 / 330.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003673/0.389, allocations: 30.05 kB / 330.4 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: 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.0008638/0.3899, allocations: 310.1 kB / 330.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.3903, allocations: 129.4 kB / 330.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3903, allocations: 0 / 330.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3905, allocations: 30.16 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.0003338/0.3908, allocations: 32.58 kB / 330.9 MB, free: 14.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007061/0.3915, allocations: 277.9 kB / 331.2 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.3919, allocations: 0.7173 MB / 331.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.653e-05/0.392, allocations: 19 kB / 331.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.392, allocations: 0 / 331.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of Templates: time 0.00582/0.3978, allocations: 1.825 MB / 333.7 MB, free: 13.71 MB / 282.7 MB