Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 3.01/3.01, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.319e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3823, allocations: 54.85 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002506/0.3848, allocations: 1.359 MB / 364.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.3864, allocations: 0.6541 MB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.457e-05/0.3866, allocations: 1.625 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002275/0.3868, allocations: 16.83 kB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.387, allocations: 33.84 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.3872, allocations: 46.25 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.3874, allocations: 49.5 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.153e-05/0.3875, allocations: 6.375 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.835e-05/0.3876, allocations: 37.22 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.391e-05/0.3877, allocations: 22.64 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.3878, allocations: 26.27 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.3878, allocations: 8.469 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.3879, allocations: 18.52 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.049e-05/0.3879, allocations: 4.938 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002044/0.3881, allocations: 83.89 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3882, allocations: 0 / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.996e-06/0.3882, allocations: 1.312 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.3882, allocations: 4 kB / 365.2 MB, free: 10.21 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.0005861/0.3888, allocations: 441.5 kB / 365.6 MB, free: 9.738 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.3888, allocations: 12.5 kB / 365.7 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.3889, allocations: 12.22 kB / 365.7 MB, free: 9.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.3892, allocations: 208 kB / 365.9 MB, free: 9.5 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.3893, allocations: 7.266 kB / 365.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.3893, allocations: 2.625 kB / 365.9 MB, free: 9.496 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3895, allocations: 58.58 kB / 365.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.3895, allocations: 3.938 kB / 365.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.3896, allocations: 0.5 kB / 365.9 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.3896, allocations: 4.703 kB / 366 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3897, allocations: 27.75 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.3902, allocations: 284.7 kB / 366.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002699/0.3905, allocations: 62.44 kB / 366.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.3905, allocations: 1.469 kB / 366.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.3907, allocations: 76.48 kB / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.555e-06/0.3908, allocations: 0 / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007887/0.3916, allocations: 180.4 kB / 366.6 MB, free: 8.891 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3916, allocations: 52.62 kB / 366.6 MB, free: 8.828 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002375/0.3919, allocations: 171.1 kB / 366.8 MB, free: 8.699 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.3919, allocations: 30.72 kB / 366.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.258e-05/0.392, allocations: 165 kB / 367 MB, free: 8.504 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.88e-05/0.3921, allocations: 24.06 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.3921, allocations: 0.9688 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3922, allocations: 321.3 kB / 367.3 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.3924, allocations: 30.55 kB / 367.3 MB, free: 8.148 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.3925, allocations: 52.08 kB / 367.4 MB, free: 8.109 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3927, allocations: 65.78 kB / 367.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3927, allocations: 3.938 kB / 367.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003931/0.3931, allocations: 156.3 kB / 367.6 MB, free: 7.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.109e-05/0.3932, allocations: 36.59 kB / 367.7 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3932, allocations: 1.125 kB / 367.7 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.3932, allocations: 1.375 kB / 367.7 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3934, allocations: 17.77 kB / 367.7 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.3934, allocations: 0 / 367.7 MB, free: 7.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.696e-05/0.3935, allocations: 12.44 kB / 367.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.3935, allocations: 4.406 kB / 367.7 MB, free: 7.898 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.0001343/0.3937, allocations: 128.1 kB / 367.8 MB, free: 7.773 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.3937, allocations: 11.72 kB / 367.8 MB, free: 7.766 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.948e-05/0.3938, allocations: 17.27 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.3938, allocations: 0.9062 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3938, allocations: 9.328 kB / 367.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.3938, allocations: 0 / 367.9 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006767/0.3945, allocations: 394.6 kB / 368.2 MB, free: 7.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.3945, allocations: 3.953 kB / 368.2 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.283e-05/0.3946, allocations: 12.45 kB / 368.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.3946, allocations: 1.469 kB / 368.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3946, allocations: 1.344 kB / 368.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3946, allocations: 1.469 kB / 368.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.3947, allocations: 0 / 368.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.395, allocations: 218.2 kB / 368.5 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.953e-05/0.3951, allocations: 93.75 kB / 368.6 MB, free: 7.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.3952, allocations: 6.219 kB / 368.6 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.3953, allocations: 6.391 kB / 368.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.3953, allocations: 4.312 kB / 368.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.319e-05/0.3954, allocations: 3.25 kB / 368.6 MB, free: 7.047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.3956, allocations: 143.9 kB / 368.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3956, allocations: 1.156 kB / 368.7 MB, free: 6.938 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003664/0.3959, allocations: 32.41 kB / 368.8 MB, free: 6.926 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.001191/0.3971, allocations: 410.8 kB / 369.2 MB, free: 6.668 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003944/0.3976, allocations: 151.8 kB / 369.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3976, allocations: 0 / 369.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3977, allocations: 33.66 kB / 369.3 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.3981, allocations: 21.78 kB / 369.4 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006839/0.3988, allocations: 271.2 kB / 369.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.3992, allocations: 0.7054 MB / 370.3 MB, free: 5.582 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.695e-05/0.3992, allocations: 14.91 kB / 370.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.3992, allocations: 0 / 370.3 MB, free: 5.574 MB / 298.7 MB Notification: Performance of Templates: time 0.005438/0.4047, allocations: 1.874 MB / 372.2 MB, free: 4.145 MB / 298.7 MB