Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 234.9 MB / 250.1 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.442e-05/4.436e-05, allocations: 4 kB / 308 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.3733, allocations: 54.87 MB / 362.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002414/0.3758, allocations: 1.357 MB / 364.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.3773, allocations: 0.6526 MB / 364.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.506e-05/0.3774, allocations: 0 / 364.9 MB, free: 9.746 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.3778, allocations: 67.83 kB / 364.9 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001922/0.378, allocations: 51.84 kB / 365 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3782, allocations: 47.77 kB / 365 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.3784, allocations: 51.88 kB / 365.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.624e-05/0.3785, allocations: 8 kB / 365.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3786, allocations: 39.89 kB / 365.1 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.3787, allocations: 39.91 kB / 365.2 MB, free: 9.445 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.3789, allocations: 31.86 kB / 365.2 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.579e-05/0.3789, allocations: 4 kB / 365.2 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.701e-05/0.379, allocations: 19.98 kB / 365.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.263e-05/0.379, allocations: 8 kB / 365.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.3793, allocations: 85.69 kB / 365.3 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.3793, allocations: 0 / 365.3 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3793, allocations: 3.938 kB / 365.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.3793, allocations: 0 / 365.3 MB, free: 9.297 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.0006144/0.3799, allocations: 450.4 kB / 365.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.38, allocations: 11.97 kB / 365.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.302e-05/0.3801, allocations: 11.91 kB / 365.8 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002922/0.3804, allocations: 207.6 kB / 366 MB, free: 8.531 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.961e-05/0.3804, allocations: 4 kB / 366 MB, free: 8.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.3805, allocations: 7.938 kB / 366 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3807, allocations: 53.67 kB / 366.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.3807, allocations: 0 / 366.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3807, allocations: 0 / 366.1 MB, free: 8.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.3807, allocations: 3.953 kB / 366.1 MB, free: 8.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3809, allocations: 23.92 kB / 366.1 MB, free: 8.434 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.3813, allocations: 300.8 kB / 366.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.3816, allocations: 58.67 kB / 366.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.3816, allocations: 0 / 366.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.3819, allocations: 71.41 kB / 366.5 MB, free: 7.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.174e-06/0.3819, allocations: 4 kB / 366.5 MB, free: 7.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007836/0.3827, allocations: 181.1 kB / 366.7 MB, free: 7.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3828, allocations: 55.41 kB / 366.7 MB, free: 7.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002555/0.383, allocations: 189.5 kB / 366.9 MB, free: 7.496 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3831, allocations: 25.7 kB / 366.9 MB, free: 7.465 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.3832, allocations: 178.3 kB / 367.1 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.3832, allocations: 19.75 kB / 367.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.3832, allocations: 0 / 367.1 MB, free: 7.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.3834, allocations: 322.8 kB / 367.5 MB, free: 6.945 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001213/0.3835, allocations: 27.98 kB / 367.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.3837, allocations: 53.22 kB / 367.5 MB, free: 6.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.3838, allocations: 61.69 kB / 367.6 MB, free: 6.797 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.3838, allocations: 0 / 367.6 MB, free: 6.797 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003979/0.3843, allocations: 159.2 kB / 367.7 MB, free: 6.629 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.3843, allocations: 37.66 kB / 367.8 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3843, allocations: 4.031 kB / 367.8 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3844, allocations: 0 / 367.8 MB, free: 6.582 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.3845, allocations: 24.3 kB / 367.8 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3846, allocations: 0 / 367.8 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3847, allocations: 8 kB / 367.8 MB, free: 6.551 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3847, allocations: 8 kB / 367.8 MB, free: 6.543 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.0001451/0.3848, allocations: 125.8 kB / 368 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.3849, allocations: 11.81 kB / 368 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.385, allocations: 29.28 kB / 368 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.385, allocations: 4 kB / 368 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.385, allocations: 0 / 368 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.385, allocations: 0 / 368 MB, free: 6.363 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007089/0.3857, allocations: 395.3 kB / 368.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3858, allocations: 7.953 kB / 368.4 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.393e-05/0.3858, allocations: 8 kB / 368.4 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3859, allocations: 0 / 368.4 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3859, allocations: 0 / 368.4 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.82e-06/0.3859, allocations: 8.188 kB / 368.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3859, allocations: 3.984 kB / 368.4 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003768/0.3863, allocations: 217.9 kB / 368.6 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.86e-05/0.3864, allocations: 100.9 kB / 368.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.636e-05/0.3864, allocations: 4 kB / 368.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.3866, allocations: 4 kB / 368.7 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.079e-05/0.3866, allocations: 11.98 kB / 368.7 MB, free: 5.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.3867, allocations: 4 kB / 368.7 MB, free: 5.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001862/0.3869, allocations: 151.2 kB / 368.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3869, allocations: 0 / 368.9 MB, free: 5.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.3872, allocations: 28 kB / 368.9 MB, free: 5.336 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.001166/0.3884, allocations: 408.9 kB / 369.3 MB, free: 5.008 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000423/0.3889, allocations: 143.4 kB / 369.5 MB, free: 4.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3889, allocations: 0 / 369.5 MB, free: 4.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.389, allocations: 35.92 kB / 369.5 MB, free: 4.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3894, allocations: 19.94 kB / 369.5 MB, free: 4.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006943/0.3901, allocations: 288.4 kB / 369.8 MB, free: 4.488 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.3904, allocations: 0.7082 MB / 370.5 MB, free: 3.754 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.3905, allocations: 15.44 kB / 370.5 MB, free: 3.738 MB / 298.7 MB Notification: Performance of SimCode: time 1.182e-06/0.3905, allocations: 4 kB / 370.5 MB, free: 3.734 MB / 298.7 MB Notification: Performance of Templates: time 0.005478/0.396, allocations: 1.929 MB / 372.5 MB, free: 1.809 MB / 298.7 MB