Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.437e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3755, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002343/0.3779, allocations: 1.304 MB / 326.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000987/0.3789, allocations: 400.8 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.3791, allocations: 0 / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.3793, allocations: 20.8 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.3795, allocations: 27.94 kB / 326.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.3798, allocations: 51.39 kB / 326.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.38, allocations: 35.86 kB / 326.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.247e-05/0.3801, allocations: 7.047 kB / 326.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.927e-05/0.3802, allocations: 26.58 kB / 326.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.5e-05/0.3802, allocations: 15.44 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001585/0.3804, allocations: 30.23 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3804, allocations: 3.688 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.3805, allocations: 17.33 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.3805, allocations: 2.438 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002216/0.3808, allocations: 77.91 kB / 326.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.3808, allocations: 0 / 326.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3808, allocations: 1.094 kB / 326.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.46e-05/0.3808, allocations: 4 kB / 326.9 MB, free: 2.445 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.0004668/0.3813, allocations: 397.4 kB / 327.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3814, allocations: 9.438 kB / 327.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.771e-05/0.3814, allocations: 4.094 kB / 327.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.3817, allocations: 188.8 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.3817, allocations: 5.984 kB / 327.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.3817, allocations: 2.719 kB / 327.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3819, allocations: 46.97 kB / 327.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3819, allocations: 4 kB / 327.5 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.3819, allocations: 0.7031 kB / 327.5 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3819, allocations: 0.7812 kB / 327.5 MB, free: 1.781 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.8e-05/0.382, allocations: 18.97 kB / 327.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.3824, allocations: 280.5 kB / 327.8 MB, free: 1.484 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.3826, allocations: 46.11 kB / 327.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.3827, allocations: 1.312 kB / 327.9 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.3828, allocations: 62.22 kB / 327.9 MB, free: 1.395 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.805e-06/0.3829, allocations: 1.125 kB / 327.9 MB, free: 1.395 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005066/0.3834, allocations: 108.4 kB / 328 MB, free: 1.336 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.3834, allocations: 57.48 kB / 328.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000179/0.3836, allocations: 151 kB / 328.3 MB, free: 1.156 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.3837, allocations: 27.83 kB / 328.3 MB, free: 1.125 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.3837, allocations: 93.08 kB / 328.4 MB, free: 1.035 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.3838, allocations: 20.62 kB / 328.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.3838, allocations: 1.438 kB / 328.4 MB, free: 1.02 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.624e-05/0.3839, allocations: 323.7 kB / 328.7 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.3839, allocations: 19.62 kB / 328.7 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.855e-05/0.384, allocations: 16.08 kB / 328.7 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.701e-05/0.3841, allocations: 54.7 kB / 328.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3841, allocations: 0 / 328.8 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002722/0.3844, allocations: 115.7 kB / 328.9 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.31e-05/0.3844, allocations: 36.52 kB / 328.9 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3845, allocations: 5.469 kB / 328.9 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3845, allocations: 0.5625 kB / 328.9 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.472e-05/0.3846, allocations: 13.08 kB / 329 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.3846, allocations: 0 / 329 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.392e-05/0.3847, allocations: 8.078 kB / 329 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.3847, allocations: 2.781 kB / 329 MB, free: 0.5156 MB / 266.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.0001122/0.3848, allocations: 122.9 kB / 329.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3849, allocations: 7.344 kB / 329.1 MB, free: 400 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.3849, allocations: 15 kB / 329.1 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.385, allocations: 6.953 kB / 329.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.385, allocations: 2.281 kB / 329.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.385, allocations: 0.5156 kB / 329.1 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.3854, allocations: 335.1 kB / 329.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.277e-06/0.3854, allocations: 1.188 kB / 329.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.77e-05/0.3855, allocations: 9.25 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3855, allocations: 1.125 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.3855, allocations: 5.844 kB / 329.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.3855, allocations: 0.875 kB / 329.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3855, allocations: 5.859 kB / 329.5 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002589/0.3858, allocations: 171.4 kB / 329.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.94e-05/0.3859, allocations: 84.91 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.523e-05/0.3859, allocations: 9.609 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.072e-05/0.386, allocations: 2.875 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.3861, allocations: 3.656 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.267e-05/0.3861, allocations: 2.969 kB / 329.7 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.3863, allocations: 127.1 kB / 329.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3863, allocations: 3.938 kB / 329.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003634/0.3867, allocations: 25.52 kB / 329.9 MB, free: 15.68 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.00106/0.3877, allocations: 338 kB / 330.2 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003006/0.3881, allocations: 102.6 kB / 330.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3881, allocations: 4 kB / 330.3 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.837e-05/0.3882, allocations: 21.8 kB / 330.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3885, allocations: 18.66 kB / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.3891, allocations: 176.1 kB / 330.5 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3895, allocations: 0.7044 MB / 331.2 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.775e-05/0.3896, allocations: 11.55 kB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.3896, allocations: 19.27 kB / 331.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.433e-06/0.3896, allocations: 0 / 331.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of Templates: time 0.006372/0.396, allocations: 1.394 MB / 332.7 MB, free: 14.35 MB / 282.7 MB