Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.645e-05/3.663e-05, allocations: 8 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3918, allocations: 48.69 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002904/0.3948, allocations: 1.308 MB / 326.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001456/0.3963, allocations: 392.6 kB / 326.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.3965, allocations: 3.938 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.3968, allocations: 16.5 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002309/0.3971, allocations: 24.88 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003938/0.3975, allocations: 49.09 kB / 326.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.3977, allocations: 46.2 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3979, allocations: 4.062 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001115/0.398, allocations: 21.56 kB / 326.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.3981, allocations: 20.08 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.3983, allocations: 29.56 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.3984, allocations: 3.438 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.3985, allocations: 7.844 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.594e-05/0.3985, allocations: 4.469 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003032/0.3988, allocations: 79.44 kB / 326.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.3989, allocations: 4.719 kB / 326.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3989, allocations: 0 / 326.9 MB, free: 2.457 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.3989, allocations: 0 / 326.9 MB, free: 2.457 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.000573/0.3995, allocations: 393 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.424e-05/0.3996, allocations: 9.188 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.3997, allocations: 8.281 kB / 327.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.4, allocations: 187.4 kB / 327.5 MB, free: 1.84 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.4001, allocations: 5.047 kB / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.4001, allocations: 10.41 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.4004, allocations: 45.33 kB / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.4004, allocations: 0.6094 kB / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.4004, allocations: 1.188 kB / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.4005, allocations: 0 / 327.5 MB, free: 1.793 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.4006, allocations: 17.98 kB / 327.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00058/0.4012, allocations: 281.8 kB / 327.8 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003518/0.4016, allocations: 41.31 kB / 327.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.4016, allocations: 1.922 kB / 327.9 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001978/0.4018, allocations: 62.16 kB / 327.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.297e-06/0.4019, allocations: 1.219 kB / 327.9 MB, free: 1.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006566/0.4025, allocations: 107.8 kB / 328 MB, free: 1.352 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.4026, allocations: 56.06 kB / 328.1 MB, free: 1.285 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.4028, allocations: 138.9 kB / 328.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4028, allocations: 34.83 kB / 328.3 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.4029, allocations: 91.16 kB / 328.3 MB, free: 1.055 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.608e-05/0.403, allocations: 19.98 kB / 328.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.403, allocations: 1.219 kB / 328.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/0.4031, allocations: 323.4 kB / 328.7 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.4032, allocations: 15.38 kB / 328.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.4033, allocations: 21.28 kB / 328.7 MB, free: 0.707 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.4034, allocations: 46.5 kB / 328.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4034, allocations: 0 / 328.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003393/0.4038, allocations: 128.2 kB / 328.9 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.186e-05/0.4038, allocations: 33.23 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.4039, allocations: 0 / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.4039, allocations: 2.812 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001119/0.404, allocations: 6.844 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.4041, allocations: 1.859 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001062/0.4042, allocations: 2.766 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.4042, allocations: 3.125 kB / 328.9 MB, free: 0.543 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.0001328/0.4044, allocations: 121.4 kB / 329.1 MB, free: 432 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.4044, allocations: 11.42 kB / 329.1 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.292e-05/0.4045, allocations: 12.81 kB / 329.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.551e-06/0.4045, allocations: 1.375 kB / 329.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4045, allocations: 1.656 kB / 329.1 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.4046, allocations: 3.984 kB / 329.1 MB, free: 412 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005502/0.4051, allocations: 333.2 kB / 329.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4052, allocations: 0.7031 kB / 329.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.4052, allocations: 5.953 kB / 329.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4052, allocations: 1.156 kB / 329.4 MB, free: 80 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.4053, allocations: 14.47 kB / 329.4 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4053, allocations: 0.7969 kB / 329.4 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.4053, allocations: 1.031 kB / 329.4 MB, free: 68 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003081/0.4056, allocations: 180.9 kB / 329.6 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.4057, allocations: 83.8 kB / 329.7 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.347e-05/0.4058, allocations: 6 kB / 329.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/0.4059, allocations: 0.6875 kB / 329.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.406, allocations: 8.656 kB / 329.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.4061, allocations: 3.125 kB / 329.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001894/0.4063, allocations: 113.2 kB / 329.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4063, allocations: 0 / 329.8 MB, free: 15.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005281/0.4068, allocations: 24.55 kB / 329.8 MB, free: 15.71 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.0009975/0.4079, allocations: 344.9 kB / 330.2 MB, free: 15.51 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000267/0.4081, allocations: 105.6 kB / 330.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4082, allocations: 0 / 330.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.044e-05/0.4082, allocations: 12.44 kB / 330.3 MB, free: 15.43 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.4086, allocations: 22 kB / 330.3 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.4091, allocations: 173.2 kB / 330.5 MB, free: 15.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.4094, allocations: 0.6949 MB / 331.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.169e-05/0.4095, allocations: 11.61 kB / 331.2 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.4095, allocations: 14.58 kB / 331.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.4095, allocations: 0 / 331.2 MB, free: 14.56 MB / 282.7 MB Notification: Performance of Templates: time 0.005952/0.4155, allocations: 1.388 MB / 332.6 MB, free: 14.39 MB / 282.7 MB