Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadModel(ModelicaTest): time 1.861/1.861, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.391e-05, allocations: 7.984 kB / 273.1 MB, free: 0.7383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08592/0.08598, allocations: 48.7 MB / 321.8 MB, free: 15.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3289/0.4149, allocations: 75.78 MB / 397.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4152, allocations: 71.97 kB / 397.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01682/0.432, allocations: 4.011 MB / 401.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.762e-06/0.4321, allocations: 0 / 401.6 MB, free: 10.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.4321, allocations: 4 kB / 401.6 MB, free: 10.15 MB / 330.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.0005457/0.4326, allocations: 407.9 kB / 402 MB, free: 9.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4327, allocations: 12.02 kB / 402 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.4328, allocations: 11.91 kB / 402.1 MB, free: 9.676 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003126/0.4331, allocations: 194.9 kB / 402.2 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.4331, allocations: 0 / 402.2 MB, free: 9.445 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.738e-05/0.4332, allocations: 4 kB / 402.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.4333, allocations: 45.69 kB / 402.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4333, allocations: 0 / 402.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4333, allocations: 0 / 402.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-06/0.4334, allocations: 0 / 402.3 MB, free: 9.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.774e-05/0.4334, allocations: 19.98 kB / 402.3 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.4339, allocations: 304.7 kB / 402.6 MB, free: 9.023 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.4342, allocations: 50.56 kB / 402.7 MB, free: 8.965 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.4342, allocations: 8.859 kB / 402.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.4343, allocations: 0 / 402.7 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001394/0.4344, allocations: 59.89 kB / 402.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 5.178e-06/0.4344, allocations: 0 / 402.7 MB, free: 8.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004391/0.4349, allocations: 113.3 kB / 402.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.435, allocations: 55.39 kB / 402.9 MB, free: 8.699 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.4352, allocations: 155.6 kB / 403 MB, free: 8.539 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.4352, allocations: 33.7 kB / 403.1 MB, free: 8.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.352e-05/0.4353, allocations: 158.5 kB / 403.2 MB, free: 8.344 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.878e-05/0.4354, allocations: 15.81 kB / 403.2 MB, free: 8.328 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.739e-06/0.4354, allocations: 0 / 403.2 MB, free: 8.328 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4356, allocations: 318.8 kB / 403.6 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-05/0.4356, allocations: 20 kB / 403.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.906e-05/0.4357, allocations: 23.94 kB / 403.6 MB, free: 7.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.95e-05/0.4358, allocations: 53.69 kB / 403.7 MB, free: 7.906 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.4359, allocations: 4 kB / 403.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002617/0.4361, allocations: 127.4 kB / 403.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.4362, allocations: 29.7 kB / 403.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.535e-06/0.4362, allocations: 80 / 403.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4362, allocations: 4 kB / 403.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.799e-05/0.4363, allocations: 11.89 kB / 403.8 MB, free: 7.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.621e-06/0.4363, allocations: 7.984 kB / 403.8 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.4364, allocations: 3.984 kB / 403.8 MB, free: 7.703 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.4364, allocations: 8 kB / 403.8 MB, free: 7.695 MB / 330.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.0001076/0.4365, allocations: 117 kB / 404 MB, free: 7.574 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.621e-05/0.4366, allocations: 11.81 kB / 404 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.4369, allocations: 85.77 kB / 404.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.844e-06/0.4369, allocations: 0 / 404.1 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.64e-06/0.4369, allocations: 7.953 kB / 404.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.904e-06/0.4369, allocations: 0 / 404.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.4374, allocations: 346.5 kB / 404.4 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.824e-06/0.4374, allocations: 3.984 kB / 404.4 MB, free: 7.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.999e-05/0.4375, allocations: 12 kB / 404.4 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.505e-06/0.4375, allocations: 144 / 404.4 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.4375, allocations: 3.953 kB / 404.4 MB, free: 7.055 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.282e-06/0.4375, allocations: 4 kB / 404.4 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.4376, allocations: 3.984 kB / 404.4 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.4378, allocations: 179.6 kB / 404.6 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.118e-05/0.4379, allocations: 85.02 kB / 404.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.4379, allocations: 0 / 404.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.4381, allocations: 15.95 kB / 404.7 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.4381, allocations: 3.984 kB / 404.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4381, allocations: 4 kB / 404.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001514/0.4383, allocations: 130.8 kB / 404.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.4383, allocations: 0 / 404.8 MB, free: 6.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.4387, allocations: 31.92 kB / 404.9 MB, free: 6.574 MB / 330.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 (6): * Single equations (assignments): 5 * 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.001147/0.4398, allocations: 346.5 kB / 405.2 MB, free: 6.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002391/0.4401, allocations: 115.3 kB / 405.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4401, allocations: 0 / 405.3 MB, free: 6.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.162e-05/0.4402, allocations: 16 kB / 405.3 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002736/0.4405, allocations: 15.98 kB / 405.4 MB, free: 6.129 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004129/0.4409, allocations: 167.7 kB / 405.5 MB, free: 5.938 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.4413, allocations: 0.6965 MB / 406.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.21e-05/0.4414, allocations: 19.42 kB / 406.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of SimCode: time 1.448e-06/0.4414, allocations: 0 / 406.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of Templates: time 0.004382/0.4458, allocations: 1.714 MB / 407.9 MB, free: 3.488 MB / 330.7 MB