Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 234.9 MB / 250.1 MB, free: 10.99 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.222e-05, allocations: 7.984 kB / 308 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3579/0.358, allocations: 54.87 MB / 362.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003579/0.3616, allocations: 1.353 MB / 364.2 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.3638, allocations: 0.6526 MB / 364.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.364, allocations: 0 / 364.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002874/0.3643, allocations: 15.91 kB / 364.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002149/0.3645, allocations: 35.88 kB / 364.9 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.3648, allocations: 43.83 kB / 365 MB, free: 9.781 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001934/0.365, allocations: 51.88 kB / 365 MB, free: 9.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.3651, allocations: 4 kB / 365 MB, free: 9.727 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3653, allocations: 31.91 kB / 365 MB, free: 9.695 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3654, allocations: 23.92 kB / 365.1 MB, free: 9.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001592/0.3656, allocations: 27.92 kB / 365.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.3656, allocations: 4 kB / 365.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.938e-05/0.3657, allocations: 19.92 kB / 365.1 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.761e-05/0.3658, allocations: 8 kB / 365.1 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00026/0.366, allocations: 77.7 kB / 365.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3661, allocations: 0 / 365.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3661, allocations: 0 / 365.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.3661, allocations: 0 / 365.2 MB, free: 9.539 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.0007425/0.3669, allocations: 434.6 kB / 365.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.3669, allocations: 15.97 kB / 365.6 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.826e-05/0.367, allocations: 7.906 kB / 365.7 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.3674, allocations: 198.8 kB / 365.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.3674, allocations: 7.938 kB / 365.9 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.3675, allocations: 4 kB / 365.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3677, allocations: 53.67 kB / 365.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.3678, allocations: 3.953 kB / 365.9 MB, free: 8.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.3678, allocations: 7.984 kB / 365.9 MB, free: 8.715 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.3678, allocations: 3.938 kB / 365.9 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.368, allocations: 23.97 kB / 366 MB, free: 8.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.3686, allocations: 292.8 kB / 366.2 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003176/0.3689, allocations: 66.61 kB / 366.3 MB, free: 8.277 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.369, allocations: 3.953 kB / 366.3 MB, free: 8.273 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.3693, allocations: 63.52 kB / 366.4 MB, free: 8.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.206e-06/0.3693, allocations: 0 / 366.4 MB, free: 8.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009849/0.3703, allocations: 177.6 kB / 366.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.3704, allocations: 51.41 kB / 366.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.3706, allocations: 148.1 kB / 366.7 MB, free: 7.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.3707, allocations: 25.7 kB / 366.8 MB, free: 7.777 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.3708, allocations: 174.3 kB / 366.9 MB, free: 7.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.476e-05/0.3709, allocations: 15.72 kB / 366.9 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.3709, allocations: 4 kB / 367 MB, free: 7.586 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3711, allocations: 314.8 kB / 367.3 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.3712, allocations: 39.92 kB / 367.3 MB, free: 7.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.3715, allocations: 48.09 kB / 367.3 MB, free: 7.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002059/0.3717, allocations: 61.7 kB / 367.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3717, allocations: 0 / 367.4 MB, free: 7.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005431/0.3722, allocations: 155.2 kB / 367.6 MB, free: 6.949 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.375e-05/0.3723, allocations: 37.7 kB / 367.6 MB, free: 6.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3724, allocations: 4.062 kB / 367.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.3724, allocations: 0 / 367.6 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.3726, allocations: 24.02 kB / 367.6 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3726, allocations: 0 / 367.6 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.3728, allocations: 4 kB / 367.6 MB, free: 6.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3728, allocations: 4 kB / 367.6 MB, free: 6.871 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.000192/0.373, allocations: 129.8 kB / 367.8 MB, free: 6.734 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.406e-05/0.3731, allocations: 15.8 kB / 367.8 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.741e-05/0.3732, allocations: 12.72 kB / 367.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.3732, allocations: 0 / 367.8 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3732, allocations: 4 kB / 367.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.3733, allocations: 0 / 367.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009211/0.3742, allocations: 399.1 kB / 368.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.3742, allocations: 0 / 368.2 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.114e-05/0.3743, allocations: 8 kB / 368.2 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.3743, allocations: 0 / 368.2 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.3744, allocations: 4 kB / 368.2 MB, free: 6.242 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.278e-06/0.3744, allocations: 7.984 kB / 368.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3744, allocations: 32 / 368.2 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.3749, allocations: 218 kB / 368.4 MB, free: 5.996 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.3751, allocations: 97.03 kB / 368.5 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.3751, allocations: 3.938 kB / 368.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3753, allocations: 4 kB / 368.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/0.3754, allocations: 11.98 kB / 368.5 MB, free: 5.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.322e-05/0.3754, allocations: 8 kB / 368.5 MB, free: 5.855 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001759/0.3756, allocations: 114.2 kB / 368.6 MB, free: 5.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.92e-07/0.3756, allocations: 0 / 368.6 MB, free: 5.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006271/0.3763, allocations: 32 kB / 368.7 MB, free: 5.715 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.001775/0.3781, allocations: 410.6 kB / 369.1 MB, free: 5.383 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005781/0.3787, allocations: 155.3 kB / 369.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3787, allocations: 0 / 369.2 MB, free: 5.219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001647/0.3789, allocations: 31.98 kB / 369.3 MB, free: 5.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004835/0.3794, allocations: 19.94 kB / 369.3 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007813/0.3802, allocations: 236.2 kB / 369.5 MB, free: 4.898 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004111/0.3806, allocations: 0.7004 MB / 370.2 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.249e-05/0.3807, allocations: 19.44 kB / 370.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3808, allocations: 0 / 370.2 MB, free: 4.152 MB / 298.7 MB Notification: Performance of Templates: time 0.007281/0.3881, allocations: 1.826 MB / 372.1 MB, free: 2.332 MB / 298.7 MB