Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 234.9 MB / 250.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.931e-05/3.934e-05, allocations: 7.938 kB / 308 MB, free: 15.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3663, allocations: 54.86 MB / 362.9 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002377/0.3687, allocations: 1.365 MB / 364.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001513/0.3703, allocations: 0.6447 MB / 364.9 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.3704, allocations: 4 kB / 364.9 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002414/0.3707, allocations: 15.92 kB / 364.9 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.3709, allocations: 35.88 kB / 364.9 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002085/0.3711, allocations: 43.83 kB / 365 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.3713, allocations: 55.86 kB / 365 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.083e-05/0.3714, allocations: 4 kB / 365 MB, free: 9.574 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.699e-05/0.3715, allocations: 27.92 kB / 365.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.904e-05/0.3716, allocations: 31.84 kB / 365.1 MB, free: 9.516 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001268/0.3717, allocations: 23.98 kB / 365.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.3718, allocations: 8 kB / 365.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.889e-05/0.3718, allocations: 19.92 kB / 365.1 MB, free: 9.465 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.3719, allocations: 4 kB / 365.1 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.3721, allocations: 77.72 kB / 365.2 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3721, allocations: 3.938 kB / 365.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.3721, allocations: 0 / 365.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.828e-06/0.3721, allocations: 0 / 365.2 MB, free: 9.383 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006132/0.3728, allocations: 455.6 kB / 365.7 MB, free: 8.879 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.41e-05/0.3728, allocations: 11.97 kB / 365.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.3729, allocations: 15.89 kB / 365.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.3732, allocations: 202.8 kB / 365.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/0.3733, allocations: 0 / 365.9 MB, free: 8.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.157e-05/0.3733, allocations: 4 kB / 365.9 MB, free: 8.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/0.3735, allocations: 53.67 kB / 365.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3735, allocations: 0 / 365.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.3736, allocations: 3.938 kB / 365.9 MB, free: 8.547 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.3736, allocations: 7.953 kB / 366 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.3737, allocations: 19.92 kB / 366 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.3742, allocations: 296.9 kB / 366.3 MB, free: 8.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002423/0.3744, allocations: 54.67 kB / 366.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.3745, allocations: 4 kB / 366.3 MB, free: 8.113 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002151/0.3747, allocations: 71.41 kB / 366.4 MB, free: 8.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.605e-06/0.3747, allocations: 4 kB / 366.4 MB, free: 8.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000801/0.3755, allocations: 185.1 kB / 366.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.3756, allocations: 51.41 kB / 366.6 MB, free: 7.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002268/0.3759, allocations: 165.3 kB / 366.8 MB, free: 7.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3759, allocations: 29.7 kB / 366.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.532e-05/0.376, allocations: 166.5 kB / 367 MB, free: 7.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.094e-05/0.3761, allocations: 27.64 kB / 367 MB, free: 7.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.3761, allocations: 0 / 367 MB, free: 7.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.3762, allocations: 318.8 kB / 367.3 MB, free: 7.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.3763, allocations: 31.92 kB / 367.3 MB, free: 7.031 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3765, allocations: 53.2 kB / 367.4 MB, free: 6.977 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.3767, allocations: 61.7 kB / 367.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.3767, allocations: 0 / 367.5 MB, free: 6.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004211/0.3771, allocations: 151.3 kB / 367.6 MB, free: 6.75 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.3772, allocations: 49.67 kB / 367.7 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3772, allocations: 0 / 367.7 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.3772, allocations: 0 / 367.7 MB, free: 6.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3774, allocations: 23.92 kB / 367.7 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.3774, allocations: 0 / 367.7 MB, free: 6.672 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.57e-05/0.3775, allocations: 4 kB / 367.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.033e-05/0.3775, allocations: 8 kB / 367.7 MB, free: 6.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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.0001475/0.3777, allocations: 129.8 kB / 367.8 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.037e-05/0.3777, allocations: 11.81 kB / 367.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.801e-05/0.3778, allocations: 20.67 kB / 367.9 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3778, allocations: 0 / 367.9 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/0.3778, allocations: 384 / 367.9 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3779, allocations: 3.938 kB / 367.9 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006716/0.3785, allocations: 391.3 kB / 368.2 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3786, allocations: 7.953 kB / 368.2 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.3786, allocations: 8 kB / 368.3 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3787, allocations: 0 / 368.3 MB, free: 6.031 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.3787, allocations: 12.02 kB / 368.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.3787, allocations: 0 / 368.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.3787, allocations: 0 / 368.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.3791, allocations: 222 kB / 368.5 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.3792, allocations: 93 kB / 368.6 MB, free: 5.668 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.3792, allocations: 4 kB / 368.6 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3794, allocations: 8 kB / 368.6 MB, free: 5.656 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.3794, allocations: 7.984 kB / 368.6 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.365e-05/0.3795, allocations: 4 kB / 368.6 MB, free: 5.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001641/0.3796, allocations: 139.2 kB / 368.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3796, allocations: 0 / 368.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000355/0.38, allocations: 31.91 kB / 368.8 MB, free: 5.477 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001206/0.3812, allocations: 404.6 kB / 369.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004446/0.3817, allocations: 151.3 kB / 369.3 MB, free: 4.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.3817, allocations: 4 kB / 369.3 MB, free: 4.988 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.3819, allocations: 23.94 kB / 369.3 MB, free: 4.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3822, allocations: 23.94 kB / 369.4 MB, free: 4.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.3829, allocations: 271.7 kB / 369.6 MB, free: 4.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3832, allocations: 0.7043 MB / 370.3 MB, free: 3.91 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.3833, allocations: 15.44 kB / 370.3 MB, free: 3.895 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3833, allocations: 4 kB / 370.3 MB, free: 3.891 MB / 298.7 MB Notification: Performance of Templates: time 0.005567/0.3889, allocations: 1.881 MB / 372.2 MB, free: 2.016 MB / 298.7 MB