Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,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.Test42") Notification: Performance of loadModel(ModelicaTest): time 2.082/2.082, allocations: 209.3 MB / 223.8 MB, free: 0.5781 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.761e-05/3.767e-05, allocations: 8 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.383/0.3831, allocations: 48.69 MB / 324.9 MB, free: 3.387 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003486/0.3867, allocations: 1.312 MB / 326.2 MB, free: 2.766 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001422/0.3882, allocations: 396.2 kB / 326.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3884, allocations: 1.094 kB / 326.6 MB, free: 2.562 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00032/0.3887, allocations: 20.16 kB / 326.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002464/0.389, allocations: 27.08 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003156/0.3893, allocations: 55.12 kB / 326.7 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3895, allocations: 39.03 kB / 326.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.399e-05/0.3896, allocations: 3.156 kB / 326.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.224e-05/0.3897, allocations: 24.05 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.3898, allocations: 20.64 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.39, allocations: 29.83 kB / 326.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.39, allocations: 3.688 kB / 326.8 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.071e-05/0.3901, allocations: 15.09 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.3901, allocations: 4.656 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002521/0.3904, allocations: 88.25 kB / 326.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.3904, allocations: 0 / 326.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.3904, allocations: 1.312 kB / 326.9 MB, free: 2.461 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.279e-05/0.3905, allocations: 0 / 326.9 MB, free: 2.461 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.0004983/0.391, allocations: 400 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.391, allocations: 9.875 kB / 327.3 MB, free: 2.047 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.3911, allocations: 7.969 kB / 327.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002324/0.3913, allocations: 198.1 kB / 327.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.3914, allocations: 5.078 kB / 327.5 MB, free: 1.828 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3914, allocations: 11.05 kB / 327.5 MB, free: 1.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.3916, allocations: 43 kB / 327.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3916, allocations: 0 / 327.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3916, allocations: 2.812 kB / 327.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.3916, allocations: 0 / 327.6 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.356e-05/0.3917, allocations: 17.75 kB / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004525/0.3922, allocations: 277.4 kB / 327.9 MB, free: 1.496 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002522/0.3924, allocations: 50.22 kB / 327.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.3925, allocations: 0.9375 kB / 327.9 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.3927, allocations: 55.89 kB / 328 MB, free: 1.406 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.574e-06/0.3927, allocations: 0 / 328 MB, free: 1.406 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000529/0.3932, allocations: 112.8 kB / 328.1 MB, free: 1.344 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/0.3933, allocations: 51.97 kB / 328.1 MB, free: 1.281 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002545/0.3935, allocations: 173.1 kB / 328.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.3936, allocations: 31.92 kB / 328.3 MB, free: 1.133 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.448e-05/0.3936, allocations: 107.2 kB / 328.4 MB, free: 1.031 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.3937, allocations: 8.766 kB / 328.4 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.027e-06/0.3937, allocations: 4.875 kB / 328.4 MB, free: 1.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.609e-05/0.3938, allocations: 329 kB / 328.8 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.3939, allocations: 15.75 kB / 328.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.024e-05/0.3939, allocations: 19.66 kB / 328.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.864e-05/0.394, allocations: 51.11 kB / 328.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.394, allocations: 0 / 328.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002602/0.3943, allocations: 126.1 kB / 329 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.185e-05/0.3944, allocations: 37.56 kB / 329 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3944, allocations: 0 / 329 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.3944, allocations: 0.9688 kB / 329 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.3945, allocations: 13.55 kB / 329 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.3945, allocations: 0 / 329 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.171e-05/0.3946, allocations: 3.812 kB / 329 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.3947, allocations: 3.25 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.0001189/0.3948, allocations: 124.8 kB / 329.2 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3948, allocations: 13.06 kB / 329.2 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.3949, allocations: 14.19 kB / 329.2 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.882e-06/0.3949, allocations: 2.688 kB / 329.2 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.3949, allocations: 0 / 329.2 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3949, allocations: 0.6562 kB / 329.2 MB, free: 388 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.3954, allocations: 343 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3954, allocations: 1.656 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.3955, allocations: 4.547 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.3955, allocations: 1.906 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.311e-05/0.3955, allocations: 10.19 kB / 329.5 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.3955, allocations: 1.344 kB / 329.5 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3955, allocations: 0 / 329.5 MB, free: 44 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002648/0.3958, allocations: 173.8 kB / 329.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.806e-05/0.3959, allocations: 87.66 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.143e-05/0.3959, allocations: 2.016 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.396, allocations: 5.438 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.442e-05/0.3961, allocations: 12.75 kB / 329.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3962, allocations: 6.219 kB / 329.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001972/0.3964, allocations: 140.5 kB / 330 MB, free: 15.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3964, allocations: 0 / 330 MB, free: 15.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000367/0.3968, allocations: 25.64 kB / 330 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.001052/0.3978, allocations: 341.8 kB / 330.3 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003289/0.3982, allocations: 101.6 kB / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3982, allocations: 1.281 kB / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-05/0.3983, allocations: 16.28 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.0004734/0.3988, allocations: 17.89 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.0006205/0.3994, allocations: 201.8 kB / 330.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.3998, allocations: 0.7043 MB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.033e-05/0.3999, allocations: 12.61 kB / 331.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.904e-05/0.4, allocations: 14.11 kB / 331.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.4, allocations: 0 / 331.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of Templates: time 0.006653/0.4067, allocations: 1.42 MB / 332.8 MB, free: 14.34 MB / 282.7 MB