Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,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.Test45") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.2 MB / 224.4 MB, free: 0.8633 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.871e-05/4.866e-05, allocations: 11.53 kB / 276.2 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3596, allocations: 48.68 MB / 324.8 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003094/0.3628, allocations: 1.315 MB / 326.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.364, allocations: 402.5 kB / 326.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.816e-05/0.3642, allocations: 8.969 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.3644, allocations: 13.17 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001885/0.3646, allocations: 31.64 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.3649, allocations: 54.23 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3651, allocations: 42.88 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.932e-05/0.3652, allocations: 4.219 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.075e-05/0.3653, allocations: 23.81 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.33e-05/0.3654, allocations: 20.92 kB / 326.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.3656, allocations: 28.95 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.3656, allocations: 3.531 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.3657, allocations: 17.53 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.443e-05/0.3658, allocations: 3.344 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002737/0.3661, allocations: 86.31 kB / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.3661, allocations: 0 / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.3661, allocations: 1.031 kB / 326.9 MB, free: 2.023 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.3661, allocations: 0 / 326.9 MB, free: 2.023 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.0005463/0.3667, allocations: 400.5 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.3667, allocations: 9.125 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.3668, allocations: 8.688 kB / 327.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.3671, allocations: 197.1 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.3671, allocations: 5.172 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.3672, allocations: 10.47 kB / 327.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3674, allocations: 44.78 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3674, allocations: 0 / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.3674, allocations: 3.938 kB / 327.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3674, allocations: 1.375 kB / 327.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.717e-05/0.3675, allocations: 18.55 kB / 327.6 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004556/0.368, allocations: 276 kB / 327.8 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002832/0.3683, allocations: 41.75 kB / 327.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.608e-05/0.3684, allocations: 6.062 kB / 327.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.3685, allocations: 64.06 kB / 327.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.645e-06/0.3686, allocations: 0 / 327.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006181/0.3692, allocations: 112.2 kB / 328.1 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.3693, allocations: 53.38 kB / 328.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.3696, allocations: 176.9 kB / 328.3 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.136e-05/0.3696, allocations: 27.95 kB / 328.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.17e-05/0.3697, allocations: 169.1 kB / 328.5 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.3697, allocations: 12.77 kB / 328.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.438e-06/0.3698, allocations: 0 / 328.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.3698, allocations: 317.3 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.808e-05/0.3699, allocations: 20.03 kB / 328.8 MB, free: 204 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.172e-05/0.37, allocations: 20.53 kB / 328.8 MB, free: 196 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.3702, allocations: 49.78 kB / 328.9 MB, free: 152 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3702, allocations: 5.188 kB / 328.9 MB, free: 148 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003271/0.3705, allocations: 116.3 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.3706, allocations: 34.86 kB / 329 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.3706, allocations: 0 / 329 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.3706, allocations: 0 / 329 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.3708, allocations: 9.469 kB / 329 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3708, allocations: 2.156 kB / 329 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3709, allocations: 3.641 kB / 329 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.088e-05/0.3709, allocations: 6.875 kB / 329.1 MB, free: 24 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.0002002/0.3711, allocations: 129.9 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.3712, allocations: 7.344 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.529e-05/0.3713, allocations: 19.48 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.3713, allocations: 0 / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3713, allocations: 1.5 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3713, allocations: 0.8906 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.372, allocations: 337.2 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.372, allocations: 2.078 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.239e-05/0.3721, allocations: 8.562 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.3721, allocations: 5.594 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3721, allocations: 1.438 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.3722, allocations: 2.094 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.3722, allocations: 0 / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.3725, allocations: 175.3 kB / 329.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.421e-05/0.3726, allocations: 85.2 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.246e-05/0.3726, allocations: 2 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3728, allocations: 3.016 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.3729, allocations: 11.25 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-05/0.3729, allocations: 2.375 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002379/0.3732, allocations: 138.7 kB / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.3732, allocations: 0 / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006482/0.3739, allocations: 32.61 kB / 330 MB, free: 15.19 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.001372/0.3752, allocations: 338.8 kB / 330.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000336/0.3756, allocations: 106.8 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3756, allocations: 0 / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.522e-05/0.3757, allocations: 17.94 kB / 330.5 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.0004674/0.3762, allocations: 17.45 kB / 330.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000771/0.377, allocations: 234.2 kB / 330.7 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004053/0.3774, allocations: 0.7035 MB / 331.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.01e-05/0.3775, allocations: 14.05 kB / 331.4 MB, free: 14 MB / 282.7 MB Notification: Performance of SimCode: time 3.616e-06/0.3775, allocations: 1.156 kB / 331.4 MB, free: 14 MB / 282.7 MB Notification: Performance of Templates: time 0.005857/0.3834, allocations: 1.691 MB / 333.1 MB, free: 13.8 MB / 282.7 MB