Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test53,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test53") Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.021e-05/4.032e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3979/0.3979, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.002345/0.4003, allocations: 1.306 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009589/0.4013, allocations: 403.4 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.4014, allocations: 2.844 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002232/0.4017, allocations: 20.66 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/0.4018, allocations: 25.19 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.402, allocations: 51.14 kB / 326.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.4022, allocations: 43.66 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.244e-05/0.4023, allocations: 7.922 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.309e-05/0.4024, allocations: 28.47 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.4025, allocations: 17.31 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.4026, allocations: 30.14 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.4026, allocations: 8.219 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.737e-05/0.4027, allocations: 22.02 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.665e-05/0.4027, allocations: 3.375 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.403, allocations: 79.7 kB / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.403, allocations: 0 / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.403, allocations: 0.5156 kB / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.111e-05/0.403, allocations: 4 kB / 326.9 MB, free: 2.035 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.0004554/0.4035, allocations: 407.2 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.4035, allocations: 9.562 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.4036, allocations: 9.219 kB / 327.3 MB, free: 1.613 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.4038, allocations: 194.5 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.4039, allocations: 6.938 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.4039, allocations: 2.125 kB / 327.5 MB, free: 1.402 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.404, allocations: 51.17 kB / 327.6 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.4041, allocations: 9.281 kB / 327.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4041, allocations: 0 / 327.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.4041, allocations: 0 / 327.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.316e-05/0.4042, allocations: 10.08 kB / 327.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.4045, allocations: 282.1 kB / 327.9 MB, free: 1.066 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.4048, allocations: 42.88 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.643e-05/0.4048, allocations: 1.938 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.405, allocations: 70.81 kB / 328 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.405, allocations: 0 / 328 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004442/0.4054, allocations: 120.4 kB / 328.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.4055, allocations: 53.12 kB / 328.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.4057, allocations: 187.8 kB / 328.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.4057, allocations: 27.83 kB / 328.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.4058, allocations: 174.7 kB / 328.5 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.4058, allocations: 15.19 kB / 328.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.4059, allocations: 1.062 kB / 328.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.4059, allocations: 318 kB / 328.8 MB, free: 204 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.996e-05/0.406, allocations: 20.05 kB / 328.9 MB, free: 196 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.476e-05/0.4061, allocations: 14.95 kB / 328.9 MB, free: 192 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.827e-05/0.4062, allocations: 50.61 kB / 328.9 MB, free: 148 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.4062, allocations: 1.062 kB / 328.9 MB, free: 148 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002185/0.4064, allocations: 116.6 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.4064, allocations: 37.72 kB / 329.1 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4065, allocations: 4 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.4065, allocations: 1.922 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.446e-05/0.4066, allocations: 9.516 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.4066, allocations: 0 / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.4067, allocations: 3.281 kB / 329.1 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.4067, allocations: 7.188 kB / 329.1 MB, free: 20 kB / 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.000163/0.4069, allocations: 132 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.498e-05/0.4069, allocations: 9.188 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.36e-05/0.407, allocations: 16.78 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.407, allocations: 5.125 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.407, allocations: 0 / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.407, allocations: 1.125 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004673/0.4075, allocations: 342 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4075, allocations: 3.938 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.4076, allocations: 12.22 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4076, allocations: 0 / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4076, allocations: 1.188 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4076, allocations: 5.219 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4076, allocations: 4 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.4079, allocations: 177.7 kB / 329.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.188e-05/0.4079, allocations: 84.28 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.408, allocations: 1.312 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.4081, allocations: 7.188 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.4081, allocations: 4.625 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.4082, allocations: 2.344 kB / 329.9 MB, free: 15.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.4084, allocations: 165.1 kB / 330.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4084, allocations: 0 / 330.1 MB, free: 15.18 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.4087, allocations: 28.16 kB / 330.1 MB, free: 15.17 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.0009476/0.4097, allocations: 344.2 kB / 330.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.4099, allocations: 102.9 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.41, allocations: 5.062 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.2e-05/0.41, allocations: 15.28 kB / 330.5 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.4103, allocations: 18.81 kB / 330.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005885/0.4109, allocations: 262.9 kB / 330.8 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003512/0.4113, allocations: 0.7074 MB / 331.5 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.998e-05/0.4114, allocations: 14.66 kB / 331.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.4114, allocations: 0 / 331.5 MB, free: 13.97 MB / 282.7 MB Notification: Performance of Templates: time 0.005338/0.4167, allocations: 1.732 MB / 333.3 MB, free: 13.77 MB / 282.7 MB