Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.124/2.124, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.76e-05, allocations: 8 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3766, allocations: 48.69 MB / 324.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002614/0.3793, allocations: 1.309 MB / 326.2 MB, free: 2.734 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.3804, allocations: 404.7 kB / 326.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.3806, allocations: 0 / 326.6 MB, free: 2.527 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003573/0.381, allocations: 65.7 kB / 326.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.3812, allocations: 43.83 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.3815, allocations: 49.69 kB / 326.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.3817, allocations: 43.72 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.845e-05/0.3818, allocations: 6.797 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.956e-05/0.3819, allocations: 27.73 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.382, allocations: 36.73 kB / 326.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000183/0.3822, allocations: 30.34 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.3823, allocations: 3.75 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.3823, allocations: 20.33 kB / 326.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.3824, allocations: 3.781 kB / 326.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3827, allocations: 82.25 kB / 327 MB, free: 2.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3827, allocations: 0 / 327 MB, free: 2.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3827, allocations: 0 / 327 MB, free: 2.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.3827, allocations: 4 kB / 327 MB, free: 2.426 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.0005565/0.3833, allocations: 406.8 kB / 327.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.3834, allocations: 8.344 kB / 327.4 MB, free: 2.008 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.254e-05/0.3834, allocations: 9.234 kB / 327.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.3837, allocations: 196.4 kB / 327.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3837, allocations: 10.08 kB / 327.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.3838, allocations: 3.375 kB / 327.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3839, allocations: 46.17 kB / 327.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.384, allocations: 5.125 kB / 327.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.384, allocations: 0 / 327.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.384, allocations: 1.188 kB / 327.7 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.279e-05/0.3841, allocations: 14.03 kB / 327.7 MB, free: 1.738 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.3845, allocations: 281.9 kB / 328 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.3848, allocations: 42.22 kB / 328 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.3848, allocations: 3.781 kB / 328 MB, free: 1.422 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.385, allocations: 63.23 kB / 328.1 MB, free: 1.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.036e-06/0.385, allocations: 0 / 328.1 MB, free: 1.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005272/0.3856, allocations: 117 kB / 328.2 MB, free: 1.297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.093e-05/0.3856, allocations: 52.16 kB / 328.2 MB, free: 1.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002519/0.3859, allocations: 178.4 kB / 328.4 MB, free: 1.121 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.3859, allocations: 32.48 kB / 328.4 MB, free: 1.086 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.173e-05/0.386, allocations: 99.02 kB / 328.5 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.386, allocations: 17.33 kB / 328.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.386, allocations: 1.094 kB / 328.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.505e-05/0.3861, allocations: 325.7 kB / 328.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.3862, allocations: 22.88 kB / 328.9 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.267e-05/0.3863, allocations: 23.61 kB / 328.9 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.931e-05/0.3864, allocations: 47.28 kB / 329 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3864, allocations: 0 / 329 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003019/0.3867, allocations: 121.4 kB / 329.1 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.3868, allocations: 33.7 kB / 329.1 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3868, allocations: 4 kB / 329.1 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.3868, allocations: 1.188 kB / 329.1 MB, free: 492 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.749e-05/0.3869, allocations: 15.31 kB / 329.1 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.3869, allocations: 0 / 329.1 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.51e-05/0.387, allocations: 6.766 kB / 329.1 MB, free: 484 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.606e-05/0.3871, allocations: 4.547 kB / 329.1 MB, free: 484 kB / 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.0001298/0.3872, allocations: 126.7 kB / 329.3 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.674e-05/0.3872, allocations: 8.156 kB / 329.3 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.329e-05/0.3873, allocations: 15.89 kB / 329.3 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.3873, allocations: 4.562 kB / 329.3 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3873, allocations: 0 / 329.3 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3874, allocations: 1.812 kB / 329.3 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.3878, allocations: 345.9 kB / 329.6 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.3878, allocations: 0.6094 kB / 329.6 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.589e-05/0.3879, allocations: 6.234 kB / 329.6 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.3879, allocations: 0.7031 kB / 329.6 MB, free: 4 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.3879, allocations: 6.219 kB / 329.6 MB, free: 0 / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.92e-06/0.3879, allocations: 1.625 kB / 329.6 MB, free: 0 / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.388, allocations: 96 / 329.6 MB, free: 0 / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.3883, allocations: 178.5 kB / 329.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.3883, allocations: 84.72 kB / 329.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.3884, allocations: 5.547 kB / 329.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.3885, allocations: 7.016 kB / 329.9 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.3886, allocations: 7.688 kB / 329.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.3886, allocations: 3.188 kB / 329.9 MB, free: 15.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002145/0.3888, allocations: 144.2 kB / 330.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3888, allocations: 5.375 kB / 330.1 MB, free: 15.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.3892, allocations: 32.66 kB / 330.1 MB, free: 15.63 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.001034/0.3903, allocations: 333.8 kB / 330.4 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003508/0.3907, allocations: 101.8 kB / 330.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.3907, allocations: 0 / 330.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/0.3908, allocations: 24.12 kB / 330.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.3911, allocations: 22.88 kB / 330.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000632/0.3918, allocations: 211.3 kB / 330.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.3922, allocations: 0.7104 MB / 331.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.21e-05/0.3923, allocations: 12.61 kB / 331.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.637e-05/0.3924, allocations: 13.89 kB / 331.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of SimCode: time 1.233e-06/0.3924, allocations: 0 / 331.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of Templates: time 0.006797/0.3992, allocations: 1.42 MB / 332.9 MB, free: 14.28 MB / 282.7 MB