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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test27") Notification: Performance of loadModel(ModelicaTest): time 1.947/1.947, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/3.983e-05, allocations: 4 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4087, allocations: 48.7 MB / 324.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002338/0.4111, allocations: 1.305 MB / 326.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009602/0.4121, allocations: 406.7 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.085e-05/0.4123, allocations: 1 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.4125, allocations: 15.16 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.4127, allocations: 30.72 kB / 326.6 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.4129, allocations: 50.58 kB / 326.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.4131, allocations: 41.98 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.198e-05/0.4132, allocations: 2.859 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.4132, allocations: 24.61 kB / 326.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.4133, allocations: 21.62 kB / 326.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.4135, allocations: 28.77 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.4135, allocations: 3.531 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.484e-05/0.4136, allocations: 14.45 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.4136, allocations: 2.406 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.4138, allocations: 83.27 kB / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.4138, allocations: 5.031 kB / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4139, allocations: 0 / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.4139, allocations: 0 / 326.9 MB, free: 2.02 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.000462/0.4144, allocations: 395.1 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.4144, allocations: 9.156 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/0.4145, allocations: 8.828 kB / 327.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002089/0.4147, allocations: 191.3 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.4147, allocations: 2.141 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.4147, allocations: 8.422 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.4149, allocations: 50.62 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4149, allocations: 0 / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.4149, allocations: 0 / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.4149, allocations: 3.75 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.414e-05/0.415, allocations: 15.14 kB / 327.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003586/0.4154, allocations: 283.7 kB / 327.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.4156, allocations: 46.38 kB / 327.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.4157, allocations: 1.188 kB / 327.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.4158, allocations: 55.33 kB / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.4158, allocations: 1.281 kB / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004838/0.4163, allocations: 119.3 kB / 328 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.4164, allocations: 52.44 kB / 328.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.4166, allocations: 157.3 kB / 328.2 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.4166, allocations: 27.8 kB / 328.3 MB, free: 0.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.4167, allocations: 164.9 kB / 328.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.688e-05/0.4167, allocations: 15.97 kB / 328.4 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.4167, allocations: 5.406 kB / 328.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.559e-05/0.4168, allocations: 320.3 kB / 328.8 MB, free: 216 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.943e-05/0.4169, allocations: 20.12 kB / 328.8 MB, free: 208 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.482e-05/0.4169, allocations: 16.09 kB / 328.8 MB, free: 204 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.923e-05/0.417, allocations: 51.98 kB / 328.8 MB, free: 160 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.417, allocations: 0 / 328.8 MB, free: 160 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002273/0.4173, allocations: 112.2 kB / 329 MB, free: 76 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.679e-05/0.4173, allocations: 37 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.4173, allocations: 1.25 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.4173, allocations: 1.688 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/0.4174, allocations: 12.41 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.962e-06/0.4175, allocations: 0 / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.461e-05/0.4175, allocations: 3.297 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.4176, allocations: 3.531 kB / 329 MB, free: 36 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.0001531/0.4177, allocations: 128.5 kB / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.4178, allocations: 8.031 kB / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.4178, allocations: 14.23 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4178, allocations: 1.219 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.4179, allocations: 0.5625 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.4179, allocations: 0 / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004873/0.4184, allocations: 346.6 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.4184, allocations: 0 / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.645e-05/0.4184, allocations: 5.531 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4185, allocations: 1.344 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.4185, allocations: 9.609 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.4185, allocations: 5.062 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4185, allocations: 0 / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.4187, allocations: 169.3 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.4188, allocations: 88.86 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.4189, allocations: 5.469 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.256e-05/0.419, allocations: 2.375 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.419, allocations: 4.047 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.419, allocations: 5.953 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.4192, allocations: 131.8 kB / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4192, allocations: 0 / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003535/0.4196, allocations: 28.98 kB / 330 MB, free: 15.2 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.0009993/0.4206, allocations: 345.7 kB / 330.3 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002684/0.4209, allocations: 105.3 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4209, allocations: 0 / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.576e-05/0.421, allocations: 20.27 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.4213, allocations: 16.09 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005572/0.4219, allocations: 221.8 kB / 330.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.4222, allocations: 0.6982 MB / 331.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.486e-05/0.4223, allocations: 22.38 kB / 331.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of SimCode: time 9.92e-07/0.4223, allocations: 0 / 331.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Templates: time 0.005315/0.4276, allocations: 1.659 MB / 333 MB, free: 13.83 MB / 282.7 MB