Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 234.9 MB / 250.1 MB, free: 10.91 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.151e-05, allocations: 4 kB / 308 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3665/0.3665, allocations: 54.86 MB / 362.9 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002604/0.3692, allocations: 1.361 MB / 364.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001583/0.3708, allocations: 0.6448 MB / 364.9 MB, free: 9.859 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.581e-05/0.3709, allocations: 7.938 kB / 364.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.3712, allocations: 15.91 kB / 364.9 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.3714, allocations: 27.95 kB / 364.9 MB, free: 9.809 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.3716, allocations: 51.8 kB / 365 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.3718, allocations: 47.89 kB / 365 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.3719, allocations: 4 kB / 365 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001103/0.372, allocations: 43.83 kB / 365.1 MB, free: 9.664 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.3721, allocations: 19.92 kB / 365.1 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.3722, allocations: 24 kB / 365.1 MB, free: 9.621 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.3723, allocations: 7.938 kB / 365.1 MB, free: 9.613 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.3723, allocations: 23.86 kB / 365.1 MB, free: 9.59 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.3724, allocations: 8 kB / 365.1 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.3726, allocations: 81.69 kB / 365.2 MB, free: 9.504 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3726, allocations: 4 kB / 365.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3726, allocations: 0 / 365.2 MB, free: 9.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.034e-05/0.3727, allocations: 0 / 365.2 MB, free: 9.5 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.0006424/0.3733, allocations: 442.4 kB / 365.7 MB, free: 9.008 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3734, allocations: 11.97 kB / 365.7 MB, free: 8.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.724e-05/0.3734, allocations: 11.91 kB / 365.7 MB, free: 8.984 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003055/0.3738, allocations: 206.2 kB / 365.9 MB, free: 8.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3738, allocations: 8 kB / 365.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.3739, allocations: 7.984 kB / 365.9 MB, free: 8.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.3741, allocations: 57.61 kB / 366 MB, free: 8.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.3741, allocations: 3.938 kB / 366 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.3741, allocations: 0 / 366 MB, free: 8.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3741, allocations: 3.953 kB / 366 MB, free: 8.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3743, allocations: 23.98 kB / 366 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004849/0.3748, allocations: 288.9 kB / 366.3 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002596/0.375, allocations: 62.62 kB / 366.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.3751, allocations: 0 / 366.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.3753, allocations: 75.45 kB / 366.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.833e-06/0.3753, allocations: 0 / 366.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008138/0.3762, allocations: 177.2 kB / 366.6 MB, free: 7.969 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.3762, allocations: 55.41 kB / 366.6 MB, free: 7.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002338/0.3765, allocations: 169.3 kB / 366.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.3765, allocations: 25.7 kB / 366.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.3766, allocations: 166.5 kB / 367 MB, free: 7.535 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.3767, allocations: 27.64 kB / 367 MB, free: 7.508 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.3767, allocations: 0 / 367 MB, free: 7.508 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3769, allocations: 322.8 kB / 367.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.377, allocations: 31.98 kB / 367.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.3772, allocations: 45.64 kB / 367.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.3773, allocations: 69.69 kB / 367.5 MB, free: 7.027 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.3774, allocations: 0 / 367.5 MB, free: 7.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004151/0.3778, allocations: 151.4 kB / 367.6 MB, free: 6.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.31e-05/0.3778, allocations: 41.59 kB / 367.7 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3779, allocations: 4.375 kB / 367.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.3779, allocations: 0 / 367.7 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.3781, allocations: 20.02 kB / 367.7 MB, free: 6.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.3781, allocations: 4 kB / 367.7 MB, free: 6.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.401e-05/0.3782, allocations: 4 kB / 367.7 MB, free: 6.789 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.3782, allocations: 8.094 kB / 367.7 MB, free: 6.781 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.0001513/0.3784, allocations: 129.8 kB / 367.8 MB, free: 6.645 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.3784, allocations: 11.81 kB / 367.8 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.11e-05/0.3785, allocations: 16.67 kB / 367.9 MB, free: 6.617 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.3785, allocations: 7.984 kB / 367.9 MB, free: 6.609 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3785, allocations: 7.938 kB / 367.9 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3786, allocations: 0 / 367.9 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006877/0.3792, allocations: 383.4 kB / 368.2 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.3793, allocations: 7.938 kB / 368.2 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.306e-05/0.3793, allocations: 11.94 kB / 368.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/0.3794, allocations: 0 / 368.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3794, allocations: 0 / 368.3 MB, free: 6.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.3794, allocations: 4 kB / 368.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/0.3794, allocations: 0 / 368.3 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.3798, allocations: 222 kB / 368.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.3799, allocations: 89 kB / 368.6 MB, free: 5.797 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.38, allocations: 11.98 kB / 368.6 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3801, allocations: 0 / 368.6 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.3802, allocations: 8 kB / 368.6 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.797e-05/0.3802, allocations: 7.984 kB / 368.6 MB, free: 5.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001783/0.3804, allocations: 139.1 kB / 368.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3804, allocations: 0 / 368.7 MB, free: 5.633 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.3808, allocations: 35.91 kB / 368.8 MB, free: 5.598 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.001225/0.382, allocations: 403.1 kB / 369.2 MB, free: 5.273 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.3825, allocations: 159.2 kB / 369.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.3825, allocations: 0 / 369.3 MB, free: 5.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.3826, allocations: 27.98 kB / 369.3 MB, free: 5.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.383, allocations: 19.94 kB / 369.4 MB, free: 5.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006705/0.3837, allocations: 267.9 kB / 369.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.3841, allocations: 0.7043 MB / 370.3 MB, free: 4.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.069e-05/0.3841, allocations: 15.44 kB / 370.3 MB, free: 4.016 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3841, allocations: 0 / 370.3 MB, free: 4.016 MB / 298.7 MB Notification: Performance of Templates: time 0.005519/0.3897, allocations: 1.872 MB / 372.2 MB, free: 2.148 MB / 298.7 MB