Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadModel(ModelicaTest): time 2.026/2.026, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.1e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3965, allocations: 48.7 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002452/0.399, allocations: 1.305 MB / 326.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000986/0.4, allocations: 405.7 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.518e-05/0.4002, allocations: 1 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.4004, allocations: 21.08 kB / 326.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001732/0.4006, allocations: 22.66 kB / 326.6 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002775/0.4009, allocations: 52.19 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.4011, allocations: 46.59 kB / 326.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.643e-05/0.4012, allocations: 2.656 kB / 326.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.4013, allocations: 23.77 kB / 326.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.878e-05/0.4014, allocations: 21.25 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001826/0.4016, allocations: 31 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.417e-05/0.4016, allocations: 3.031 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.4017, allocations: 19.55 kB / 326.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.4017, allocations: 3.25 kB / 326.8 MB, free: 2.461 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002563/0.402, allocations: 80.11 kB / 326.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.402, allocations: 0 / 326.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.402, allocations: 4 kB / 326.9 MB, free: 2.441 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.402, allocations: 0 / 326.9 MB, free: 2.441 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.0005741/0.4026, allocations: 406.2 kB / 327.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.557e-05/0.4027, allocations: 10.2 kB / 327.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.4028, allocations: 8.688 kB / 327.3 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.4031, allocations: 192 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/0.4031, allocations: 5.172 kB / 327.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.4031, allocations: 5.25 kB / 327.5 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.4033, allocations: 50.73 kB / 327.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.4033, allocations: 1.125 kB / 327.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.4034, allocations: 0.5625 kB / 327.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4034, allocations: 1.031 kB / 327.6 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.4035, allocations: 17.91 kB / 327.6 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.4039, allocations: 281.2 kB / 327.9 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/0.4042, allocations: 42.97 kB / 327.9 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.4042, allocations: 4.797 kB / 327.9 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001719/0.4044, allocations: 55.05 kB / 328 MB, free: 1.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 3.035e-06/0.4044, allocations: 1.25 kB / 328 MB, free: 1.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005849/0.405, allocations: 113.1 kB / 328.1 MB, free: 1.324 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.4051, allocations: 57.64 kB / 328.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.4054, allocations: 168.6 kB / 328.3 MB, free: 1.148 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4054, allocations: 31.02 kB / 328.3 MB, free: 1.113 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.4055, allocations: 107 kB / 328.4 MB, free: 1.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.4055, allocations: 11.89 kB / 328.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-06/0.4055, allocations: 1.344 kB / 328.4 MB, free: 1.004 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.4056, allocations: 325.2 kB / 328.8 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.655e-05/0.4057, allocations: 15.16 kB / 328.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.142e-05/0.4058, allocations: 24.27 kB / 328.8 MB, free: 0.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.616e-05/0.4059, allocations: 46.84 kB / 328.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4059, allocations: 0.5625 kB / 328.8 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000273/0.4062, allocations: 127.6 kB / 329 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.789e-05/0.4062, allocations: 37.12 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.4063, allocations: 0 / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.31e-05/0.4063, allocations: 1.703 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.829e-05/0.4064, allocations: 8.922 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.4064, allocations: 0.6094 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.035e-05/0.4065, allocations: 3.391 kB / 329 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.4065, allocations: 2.312 kB / 329 MB, free: 0.5 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.0001557/0.4067, allocations: 135 kB / 329.2 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.4067, allocations: 7.156 kB / 329.2 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.118e-05/0.4068, allocations: 18.03 kB / 329.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.4068, allocations: 1.031 kB / 329.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4069, allocations: 0.6562 kB / 329.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.4069, allocations: 1.125 kB / 329.2 MB, free: 368 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004592/0.4073, allocations: 338.8 kB / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.4074, allocations: 0.625 kB / 329.5 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.628e-05/0.4074, allocations: 10.39 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.4075, allocations: 0.5625 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.4075, allocations: 5.516 kB / 329.5 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.4075, allocations: 9.406 kB / 329.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4075, allocations: 0 / 329.5 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.4078, allocations: 172.8 kB / 329.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.692e-05/0.4079, allocations: 86.61 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.394e-05/0.4079, allocations: 4.094 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.4081, allocations: 6.219 kB / 329.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.4081, allocations: 4.125 kB / 329.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.4081, allocations: 6.828 kB / 329.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002003/0.4084, allocations: 137.8 kB / 329.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4084, allocations: 0 / 329.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003919/0.4088, allocations: 28.88 kB / 330 MB, free: 15.66 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.001093/0.4099, allocations: 346.2 kB / 330.3 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003329/0.4103, allocations: 106.5 kB / 330.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4103, allocations: 0 / 330.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.92e-05/0.4104, allocations: 15.33 kB / 330.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.4108, allocations: 19.34 kB / 330.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.4115, allocations: 206.3 kB / 330.7 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.4119, allocations: 0.6999 MB / 331.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.766e-05/0.412, allocations: 12.73 kB / 331.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.914e-05/0.4121, allocations: 14.47 kB / 331.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4121, allocations: 0 / 331.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of Templates: time 0.006836/0.419, allocations: 1.409 MB / 332.8 MB, free: 14.32 MB / 282.7 MB