Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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_ModelicaTest.Tables.CombiTimeTable.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.617e-05, allocations: 7.984 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3692, allocations: 48.69 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002415/0.3717, allocations: 1.312 MB / 326.2 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009771/0.3727, allocations: 394.2 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.297e-05/0.3728, allocations: 3.938 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.373, allocations: 15.91 kB / 326.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.3732, allocations: 40.77 kB / 326.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3734, allocations: 50.14 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.3735, allocations: 40.55 kB / 326.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.416e-05/0.3736, allocations: 7.469 kB / 326.7 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.572e-05/0.3737, allocations: 25.95 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.376e-05/0.3738, allocations: 18.33 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.374, allocations: 31.16 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.374, allocations: 2.562 kB / 326.8 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.717e-05/0.3741, allocations: 24.77 kB / 326.8 MB, free: 2.457 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.97e-05/0.3741, allocations: 8.312 kB / 326.8 MB, free: 2.453 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.3744, allocations: 95.53 kB / 326.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.3744, allocations: 0 / 326.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.3744, allocations: 0.6562 kB / 326.9 MB, free: 2.434 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.3745, allocations: 0 / 326.9 MB, free: 2.434 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.0005051/0.375, allocations: 414.8 kB / 327.3 MB, free: 2.012 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.375, allocations: 8.188 kB / 327.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.3751, allocations: 14.42 kB / 327.4 MB, free: 2.004 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.3753, allocations: 196 kB / 327.6 MB, free: 1.797 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3754, allocations: 9.141 kB / 327.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.765e-05/0.3754, allocations: 3 kB / 327.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3755, allocations: 47.59 kB / 327.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3756, allocations: 0 / 327.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.3756, allocations: 1 kB / 327.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3756, allocations: 0.5625 kB / 327.6 MB, free: 1.75 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.776e-05/0.3757, allocations: 18.53 kB / 327.6 MB, free: 1.742 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003864/0.3761, allocations: 290 kB / 327.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.3763, allocations: 47.98 kB / 328 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.3764, allocations: 0.6562 kB / 328 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.3765, allocations: 59.48 kB / 328 MB, free: 1.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.3765, allocations: 1.125 kB / 328 MB, free: 1.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004728/0.377, allocations: 125.4 kB / 328.1 MB, free: 1.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.3771, allocations: 61.36 kB / 328.2 MB, free: 1.223 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.3774, allocations: 222 kB / 328.4 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.3774, allocations: 27.45 kB / 328.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.3775, allocations: 110.5 kB / 328.6 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.3775, allocations: 22.92 kB / 328.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.565e-06/0.3776, allocations: 0 / 328.6 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.041e-05/0.3776, allocations: 330.5 kB / 328.9 MB, free: 0.625 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.023e-05/0.3777, allocations: 18.16 kB / 328.9 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/0.3778, allocations: 15.23 kB / 328.9 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.3779, allocations: 50.36 kB / 329 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3779, allocations: 0 / 329 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002588/0.3782, allocations: 124.1 kB / 329.1 MB, free: 492 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.28e-05/0.3782, allocations: 33.52 kB / 329.1 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3783, allocations: 2.812 kB / 329.1 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.3783, allocations: 1.125 kB / 329.1 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.349e-05/0.3784, allocations: 9.234 kB / 329.2 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3784, allocations: 0.6562 kB / 329.2 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.5e-05/0.3785, allocations: 2.719 kB / 329.2 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.3785, allocations: 2.844 kB / 329.2 MB, free: 460 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.0001222/0.3786, allocations: 144 kB / 329.3 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.801e-05/0.3787, allocations: 14.08 kB / 329.3 MB, free: 316 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.3787, allocations: 18.11 kB / 329.3 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.3788, allocations: 1.953 kB / 329.3 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.3788, allocations: 0 / 329.3 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.3788, allocations: 0.6094 kB / 329.3 MB, free: 304 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.3792, allocations: 344.6 kB / 329.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3792, allocations: 96 / 329.7 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.3793, allocations: 18.31 kB / 329.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.3793, allocations: 0.7031 kB / 329.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/0.3793, allocations: 5.719 kB / 329.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.3794, allocations: 1.688 kB / 329.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3794, allocations: 0 / 329.7 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.3796, allocations: 179.4 kB / 329.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.3797, allocations: 88.42 kB / 330 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.168e-05/0.3797, allocations: 1.844 kB / 330 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.259e-05/0.3798, allocations: 6.766 kB / 330 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3799, allocations: 4.172 kB / 330 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3799, allocations: 2.969 kB / 330 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002553/0.3802, allocations: 189.5 kB / 330.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3802, allocations: 0 / 330.2 MB, free: 15.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.3806, allocations: 30.05 kB / 330.2 MB, free: 15.58 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.000983/0.3816, allocations: 349.5 kB / 330.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002614/0.3818, allocations: 102.6 kB / 330.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3819, allocations: 0 / 330.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.3819, allocations: 15.8 kB / 330.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/0.3824, allocations: 22.95 kB / 330.7 MB, free: 15.29 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006582/0.3831, allocations: 259.3 kB / 330.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.3835, allocations: 0.7144 MB / 331.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.3836, allocations: 12.08 kB / 331.6 MB, free: 14.41 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.3837, allocations: 18.05 kB / 331.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.3837, allocations: 0 / 331.7 MB, free: 14.4 MB / 282.7 MB Notification: Performance of Templates: time 0.006452/0.3901, allocations: 1.424 MB / 333.1 MB, free: 14.22 MB / 282.7 MB