Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 2.671/2.671, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.409e-05/3.402e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.368, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002568/0.3706, allocations: 1.358 MB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.3723, allocations: 0.6466 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3724, allocations: 5 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.3727, allocations: 21.28 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.3729, allocations: 31.27 kB / 364.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.3731, allocations: 46 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.3733, allocations: 52.28 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.3734, allocations: 2.594 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.3735, allocations: 39.34 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.314e-05/0.3736, allocations: 26.5 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3738, allocations: 26.12 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.3738, allocations: 4.344 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.3739, allocations: 19.23 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.148e-05/0.3739, allocations: 4.594 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3742, allocations: 89.69 kB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3742, allocations: 0 / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.604e-06/0.3742, allocations: 0 / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.3742, allocations: 0 / 365.2 MB, free: 10.18 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.0006903/0.3749, allocations: 446.4 kB / 365.7 MB, free: 9.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.375, allocations: 13.22 kB / 365.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.569e-05/0.3751, allocations: 9.188 kB / 365.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.3754, allocations: 204.8 kB / 365.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.3754, allocations: 6.75 kB / 365.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.404e-05/0.3755, allocations: 6.562 kB / 365.9 MB, free: 9.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.3757, allocations: 62.77 kB / 366 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.3757, allocations: 0 / 366 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.3758, allocations: 1.281 kB / 366 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.3758, allocations: 3.953 kB / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.3759, allocations: 19.3 kB / 366 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004905/0.3764, allocations: 294.2 kB / 366.3 MB, free: 9.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3767, allocations: 66.61 kB / 366.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.3767, allocations: 1.406 kB / 366.3 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.377, allocations: 76.69 kB / 366.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.825e-06/0.377, allocations: 0 / 366.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008425/0.3778, allocations: 177.5 kB / 366.6 MB, free: 8.859 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.3779, allocations: 55.41 kB / 366.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002647/0.3782, allocations: 180 kB / 366.8 MB, free: 8.664 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.3783, allocations: 30.73 kB / 366.8 MB, free: 8.629 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.3784, allocations: 164.7 kB / 367 MB, free: 8.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.132e-05/0.3784, allocations: 28.02 kB / 367 MB, free: 8.445 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.3784, allocations: 1.125 kB / 367 MB, free: 8.445 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.3786, allocations: 316 kB / 367.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3787, allocations: 27.73 kB / 367.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.379, allocations: 58.89 kB / 367.4 MB, free: 8.074 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.3791, allocations: 66.02 kB / 367.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3791, allocations: 0 / 367.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004248/0.3796, allocations: 152 kB / 367.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.304e-05/0.3797, allocations: 44.8 kB / 367.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.3797, allocations: 1.281 kB / 367.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.3797, allocations: 1.188 kB / 367.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001586/0.3799, allocations: 20.86 kB / 367.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.3799, allocations: 1.219 kB / 367.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.38, allocations: 3.688 kB / 367.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.241e-05/0.38, allocations: 8.438 kB / 367.7 MB, free: 7.863 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.0001588/0.3802, allocations: 124.5 kB / 367.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.1e-05/0.3802, allocations: 9.562 kB / 367.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.833e-05/0.3803, allocations: 17.67 kB / 367.9 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.3803, allocations: 5.188 kB / 367.9 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3804, allocations: 1.25 kB / 367.9 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3804, allocations: 4 kB / 367.9 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006991/0.3811, allocations: 391.4 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.136e-06/0.3811, allocations: 4.828 kB / 368.3 MB, free: 7.332 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.3812, allocations: 15.77 kB / 368.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.872e-06/0.3812, allocations: 1.031 kB / 368.3 MB, free: 7.324 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.3812, allocations: 9.062 kB / 368.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3813, allocations: 1.188 kB / 368.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.604e-06/0.3813, allocations: 1.062 kB / 368.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003822/0.3817, allocations: 222.4 kB / 368.5 MB, free: 7.117 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.776e-05/0.3818, allocations: 94.47 kB / 368.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.494e-05/0.3818, allocations: 1.156 kB / 368.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3819, allocations: 7.172 kB / 368.6 MB, free: 7.008 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.382, allocations: 7.531 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.502e-05/0.382, allocations: 3.156 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001929/0.3822, allocations: 151 kB / 368.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3823, allocations: 1.156 kB / 368.8 MB, free: 6.895 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003737/0.3826, allocations: 32.58 kB / 368.8 MB, free: 6.883 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.001241/0.3839, allocations: 402.9 kB / 369.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.3844, allocations: 151.1 kB / 369.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3844, allocations: 0 / 369.3 MB, free: 6.523 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.3845, allocations: 29.86 kB / 369.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.3849, allocations: 21.91 kB / 369.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006896/0.3856, allocations: 281.6 kB / 369.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.386, allocations: 0.7035 MB / 370.4 MB, free: 5.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.907e-05/0.3861, allocations: 22.11 kB / 370.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3861, allocations: 0 / 370.4 MB, free: 5.539 MB / 298.7 MB Notification: Performance of Templates: time 0.006094/0.3922, allocations: 1.903 MB / 372.3 MB, free: 4.047 MB / 298.7 MB