Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.954e-05, allocations: 8 kB / 308 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3872, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002633/0.3899, allocations: 1.354 MB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.3916, allocations: 0.655 MB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3918, allocations: 0 / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.392, allocations: 21.69 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.3922, allocations: 34.77 kB / 364.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.3924, allocations: 46.28 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3926, allocations: 53.38 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.3927, allocations: 3.031 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.3928, allocations: 28.92 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.749e-05/0.3929, allocations: 31.27 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.3931, allocations: 26.31 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.3931, allocations: 3.781 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.3932, allocations: 15.95 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.3932, allocations: 4.875 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.3935, allocations: 93.53 kB / 365.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3935, allocations: 0 / 365.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.3935, allocations: 0 / 365.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.058e-05/0.3935, allocations: 0 / 365.2 MB, free: 10.17 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.0006917/0.3942, allocations: 446.5 kB / 365.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.942e-05/0.3943, allocations: 12.47 kB / 365.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.487e-05/0.3943, allocations: 9 kB / 365.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003215/0.3947, allocations: 205.1 kB / 365.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.597e-05/0.3947, allocations: 2.562 kB / 365.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.3948, allocations: 8 kB / 365.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.395, allocations: 58.17 kB / 365.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.395, allocations: 0 / 365.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.3951, allocations: 0 / 365.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3951, allocations: 9.578 kB / 366 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.3952, allocations: 18.48 kB / 366 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.3957, allocations: 293.8 kB / 366.3 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002543/0.396, allocations: 63.14 kB / 366.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3961, allocations: 1.031 kB / 366.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002444/0.3963, allocations: 85.27 kB / 366.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.895e-06/0.3963, allocations: 0 / 366.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008109/0.3972, allocations: 172.7 kB / 366.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3972, allocations: 60.75 kB / 366.6 MB, free: 8.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002613/0.3975, allocations: 178.3 kB / 366.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.3975, allocations: 28.36 kB / 366.8 MB, free: 8.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.3977, allocations: 167.8 kB / 367 MB, free: 8.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.112e-05/0.3977, allocations: 27.83 kB / 367 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.407e-06/0.3978, allocations: 1.25 kB / 367 MB, free: 8.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3979, allocations: 316.5 kB / 367.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3981, allocations: 27.3 kB / 367.4 MB, free: 8.109 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.3982, allocations: 55.05 kB / 367.4 MB, free: 8.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001663/0.3984, allocations: 66.42 kB / 367.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.3984, allocations: 0 / 367.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004219/0.3988, allocations: 151.9 kB / 367.6 MB, free: 7.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.297e-05/0.3989, allocations: 44.42 kB / 367.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.399, allocations: 1.156 kB / 367.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.399, allocations: 1.094 kB / 367.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.3992, allocations: 20.95 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3992, allocations: 1.844 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.903e-05/0.3993, allocations: 3.031 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3993, allocations: 5.125 kB / 367.7 MB, free: 7.863 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.0001623/0.3995, allocations: 132.3 kB / 367.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.977e-05/0.3995, allocations: 8.594 kB / 367.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.3996, allocations: 19.05 kB / 367.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.3996, allocations: 5.406 kB / 367.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3996, allocations: 0 / 367.9 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3997, allocations: 4 kB / 367.9 MB, free: 7.707 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007052/0.4004, allocations: 392.2 kB / 368.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.121e-06/0.4004, allocations: 3.953 kB / 368.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.7e-05/0.4005, allocations: 11.67 kB / 368.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4005, allocations: 1.5 kB / 368.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.4005, allocations: 1.438 kB / 368.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.4005, allocations: 1.375 kB / 368.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4005, allocations: 0 / 368.3 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.4009, allocations: 232.2 kB / 368.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.03e-05/0.401, allocations: 93 kB / 368.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.4011, allocations: 6.344 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.4012, allocations: 6.359 kB / 368.6 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.023e-05/0.4013, allocations: 12.23 kB / 368.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.4013, allocations: 3.281 kB / 368.6 MB, free: 6.992 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001865/0.4015, allocations: 142.2 kB / 368.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4015, allocations: 1.469 kB / 368.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.4019, allocations: 32.36 kB / 368.8 MB, free: 6.879 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.001311/0.4032, allocations: 398.3 kB / 369.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004583/0.4037, allocations: 155.4 kB / 369.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.4037, allocations: 0.9688 kB / 369.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.4039, allocations: 33.2 kB / 369.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.4042, allocations: 25.59 kB / 369.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.4049, allocations: 274 kB / 369.7 MB, free: 6.258 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.4053, allocations: 0.7064 MB / 370.4 MB, free: 5.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.484e-05/0.4054, allocations: 18.67 kB / 370.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4054, allocations: 0 / 370.4 MB, free: 5.535 MB / 298.7 MB Notification: Performance of Templates: time 0.006498/0.4119, allocations: 1.901 MB / 372.3 MB, free: 4.051 MB / 298.7 MB