Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.787/2.787, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.645e-05, allocations: 8 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3647, allocations: 54.85 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002492/0.3672, allocations: 1.362 MB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002398/0.3697, allocations: 1.209 MB / 365.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001108/0.3698, allocations: 1.094 kB / 365.4 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.3701, allocations: 30.23 kB / 365.5 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001822/0.3703, allocations: 33.16 kB / 365.5 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001938/0.3705, allocations: 42.8 kB / 365.5 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.3707, allocations: 60.95 kB / 365.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.3708, allocations: 2.125 kB / 365.6 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.3709, allocations: 29.77 kB / 365.6 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.3711, allocations: 26.64 kB / 365.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001766/0.3713, allocations: 43.72 kB / 365.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.861e-05/0.3713, allocations: 5.031 kB / 365.7 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.3714, allocations: 12.92 kB / 365.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.298e-05/0.3714, allocations: 4.75 kB / 365.7 MB, free: 9.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002476/0.3717, allocations: 102.7 kB / 365.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.3717, allocations: 0 / 365.8 MB, free: 9.684 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3717, allocations: 4 kB / 365.8 MB, free: 9.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3717, allocations: 0 / 365.8 MB, free: 9.68 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.0005914/0.3723, allocations: 433.5 kB / 366.2 MB, free: 9.219 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.3724, allocations: 13.88 kB / 366.3 MB, free: 9.215 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.3724, allocations: 11.02 kB / 366.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3727, allocations: 200.4 kB / 366.5 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.3728, allocations: 3 kB / 366.5 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.3728, allocations: 3.625 kB / 366.5 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.3731, allocations: 81.78 kB / 366.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.3731, allocations: 0 / 366.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.3731, allocations: 1.156 kB / 366.5 MB, free: 8.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3731, allocations: 7.891 kB / 366.6 MB, free: 8.898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.3732, allocations: 23.72 kB / 366.6 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3737, allocations: 295.1 kB / 366.9 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.374, allocations: 62.75 kB / 366.9 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.374, allocations: 5.109 kB / 366.9 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002154/0.3742, allocations: 68.69 kB / 367 MB, free: 8.453 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.3743, allocations: 0.7812 kB / 367 MB, free: 8.453 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000758/0.375, allocations: 167 kB / 367.2 MB, free: 8.359 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.3751, allocations: 87.41 kB / 367.2 MB, free: 8.258 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3753, allocations: 137.5 kB / 367.4 MB, free: 8.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3753, allocations: 27.23 kB / 367.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.3754, allocations: 157.2 kB / 367.6 MB, free: 7.953 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.3755, allocations: 23.69 kB / 367.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.223e-05/0.3755, allocations: 5.281 kB / 367.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3756, allocations: 316.3 kB / 367.9 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.3758, allocations: 32.14 kB / 367.9 MB, free: 7.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3759, allocations: 56.61 kB / 368 MB, free: 7.555 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.3761, allocations: 74.69 kB / 368.1 MB, free: 7.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.3761, allocations: 0 / 368.1 MB, free: 7.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003914/0.3765, allocations: 158.2 kB / 368.2 MB, free: 7.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.268e-05/0.3766, allocations: 39.75 kB / 368.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3766, allocations: 0.9062 kB / 368.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.3766, allocations: 1.25 kB / 368.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001395/0.3768, allocations: 20.94 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3768, allocations: 0.9688 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.946e-05/0.3769, allocations: 8.828 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.3769, allocations: 11.97 kB / 368.3 MB, free: 7.328 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.0001277/0.3771, allocations: 117.1 kB / 368.4 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.3771, allocations: 12.2 kB / 368.4 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.497e-05/0.3772, allocations: 16.09 kB / 368.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.3772, allocations: 5.141 kB / 368.4 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.3772, allocations: 4 kB / 368.4 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.3772, allocations: 1.5 kB / 368.4 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006486/0.3779, allocations: 391.7 kB / 368.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3779, allocations: 0 / 368.8 MB, free: 6.801 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.378, allocations: 12.22 kB / 368.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.378, allocations: 1.469 kB / 368.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.378, allocations: 1.125 kB / 368.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.378, allocations: 1.25 kB / 368.8 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.378, allocations: 4.031 kB / 368.8 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003731/0.3784, allocations: 214.6 kB / 369.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.669e-05/0.3785, allocations: 97.91 kB / 369.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.596e-05/0.3786, allocations: 1.469 kB / 369.2 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.3787, allocations: 6.594 kB / 369.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.094e-05/0.3787, allocations: 11.8 kB / 369.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.3788, allocations: 4.5 kB / 369.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001296/0.3789, allocations: 105 kB / 369.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.675e-06/0.3789, allocations: 0 / 369.3 MB, free: 6.395 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003939/0.3793, allocations: 47.39 kB / 369.3 MB, free: 6.375 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.0014/0.3808, allocations: 496.6 kB / 369.8 MB, free: 6.047 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004411/0.3812, allocations: 155.4 kB / 370 MB, free: 5.934 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3812, allocations: 4.062 kB / 370 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.3814, allocations: 25.89 kB / 370 MB, free: 5.922 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003325/0.3817, allocations: 21.61 kB / 370 MB, free: 5.91 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006003/0.3823, allocations: 235.5 kB / 370.2 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.3826, allocations: 0.6985 MB / 370.9 MB, free: 4.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.489e-05/0.3827, allocations: 19.23 kB / 371 MB, free: 4.973 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.3827, allocations: 3.938 kB / 371 MB, free: 4.969 MB / 298.7 MB Notification: Performance of Templates: time 0.006058/0.3888, allocations: 2.118 MB / 373.1 MB, free: 3.254 MB / 298.7 MB