Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.3 MB / 224.4 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.578e-05/3.54e-05, allocations: 7.984 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3669, allocations: 48.69 MB / 324.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002339/0.3693, allocations: 1.307 MB / 326.2 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009371/0.3703, allocations: 401.4 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.3704, allocations: 1.375 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.3706, allocations: 20.58 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.3708, allocations: 20.84 kB / 326.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.371, allocations: 54.48 kB / 326.6 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001299/0.3712, allocations: 41.67 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.985e-05/0.3712, allocations: 5.125 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.233e-05/0.3713, allocations: 22.78 kB / 326.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.181e-05/0.3714, allocations: 19.97 kB / 326.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3716, allocations: 29.03 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.262e-05/0.3716, allocations: 3.594 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.19e-05/0.3716, allocations: 17.64 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.3717, allocations: 3.344 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000214/0.3719, allocations: 75.08 kB / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3719, allocations: 0 / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3719, allocations: 4 kB / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.372, allocations: 1.25 kB / 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.0004642/0.3724, allocations: 394.8 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.3725, allocations: 9.781 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.39e-05/0.3725, allocations: 3.562 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.3728, allocations: 187.2 kB / 327.4 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.3728, allocations: 11.02 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.3728, allocations: 2.688 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.373, allocations: 51.78 kB / 327.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.373, allocations: 0 / 327.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.373, allocations: 2.531 kB / 327.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.373, allocations: 1.125 kB / 327.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.333e-05/0.3731, allocations: 16.92 kB / 327.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003589/0.3735, allocations: 284.2 kB / 327.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002251/0.3737, allocations: 47.33 kB / 327.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3738, allocations: 1.344 kB / 327.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001393/0.3739, allocations: 55.7 kB / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.913e-06/0.3739, allocations: 0 / 327.9 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000462/0.3744, allocations: 119.8 kB / 328 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.3744, allocations: 51.41 kB / 328.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/0.3746, allocations: 149.5 kB / 328.2 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.3747, allocations: 31.05 kB / 328.3 MB, free: 0.6992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.3747, allocations: 159.9 kB / 328.4 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.71e-05/0.3747, allocations: 16.83 kB / 328.4 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.3748, allocations: 4 kB / 328.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.627e-05/0.3748, allocations: 317.6 kB / 328.7 MB, free: 216 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-05/0.3749, allocations: 20.39 kB / 328.8 MB, free: 208 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.671e-05/0.375, allocations: 15.84 kB / 328.8 MB, free: 204 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.3751, allocations: 46.17 kB / 328.8 MB, free: 164 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3751, allocations: 1.156 kB / 328.8 MB, free: 164 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00022/0.3753, allocations: 117.8 kB / 328.9 MB, free: 76 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.766e-05/0.3754, allocations: 41.78 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.3754, allocations: 0 / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3754, allocations: 2.234 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.3755, allocations: 8.031 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3755, allocations: 1.25 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.3756, allocations: 2.922 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.3756, allocations: 2.594 kB / 329 MB, free: 40 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.0001527/0.3758, allocations: 130.7 kB / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.3758, allocations: 8.422 kB / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.3759, allocations: 14.02 kB / 329.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3759, allocations: 0.8906 kB / 329.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3759, allocations: 1.156 kB / 329.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.3759, allocations: 0 / 329.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.3764, allocations: 337.6 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3764, allocations: 3.938 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.3765, allocations: 11 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.3765, allocations: 0 / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.3765, allocations: 6.219 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3765, allocations: 5.922 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3765, allocations: 0 / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3768, allocations: 167.8 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.3768, allocations: 84.38 kB / 329.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.3769, allocations: 7.359 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.558e-05/0.377, allocations: 5.094 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/0.377, allocations: 4.5 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.821e-05/0.3771, allocations: 6.406 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001427/0.3772, allocations: 121.2 kB / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3772, allocations: 0 / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003543/0.3776, allocations: 27.8 kB / 329.9 MB, free: 15.21 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.0009583/0.3786, allocations: 337.3 kB / 330.2 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002657/0.3789, allocations: 110.4 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.3789, allocations: 1.031 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.379, allocations: 11.38 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.3793, allocations: 18.75 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.3798, allocations: 214.4 kB / 330.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.3802, allocations: 0.7 MB / 331.3 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.082e-05/0.3802, allocations: 18.36 kB / 331.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 1.132e-06/0.3803, allocations: 0 / 331.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Templates: time 0.005457/0.3857, allocations: 1.633 MB / 332.9 MB, free: 13.84 MB / 282.7 MB