Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 1.814/1.814, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.569e-05, allocations: 4 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08547/0.08552, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.4212, allocations: 75.76 MB / 397.5 MB, free: 7.051 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.4214, allocations: 66.88 kB / 397.6 MB, free: 7.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01434/0.4358, allocations: 3.918 MB / 401.5 MB, free: 6.109 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.907e-06/0.4358, allocations: 0 / 401.5 MB, free: 6.109 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.965e-05/0.4359, allocations: 3.844 kB / 401.5 MB, free: 6.109 MB / 314.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.0003531/0.4362, allocations: 413.6 kB / 401.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.4363, allocations: 7.719 kB / 401.9 MB, free: 5.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.197e-05/0.4363, allocations: 7.75 kB / 401.9 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.4366, allocations: 197.5 kB / 402.1 MB, free: 5.469 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.4366, allocations: 11.25 kB / 402.1 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.4366, allocations: 0 / 402.1 MB, free: 5.465 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.587e-05/0.4367, allocations: 48.77 kB / 402.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4368, allocations: 0 / 402.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4368, allocations: 0 / 402.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.953e-06/0.4368, allocations: 0 / 402.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.4369, allocations: 10.81 kB / 402.2 MB, free: 5.426 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.4372, allocations: 300 kB / 402.5 MB, free: 5.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001922/0.4374, allocations: 48.06 kB / 402.5 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.412e-05/0.4375, allocations: 12.14 kB / 402.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.635e-06/0.4375, allocations: 0 / 402.5 MB, free: 5.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.4376, allocations: 59.11 kB / 402.6 MB, free: 5.035 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.158e-06/0.4376, allocations: 0 / 402.6 MB, free: 5.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003706/0.438, allocations: 112.6 kB / 402.7 MB, free: 4.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.438, allocations: 60.66 kB / 402.8 MB, free: 4.902 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.4382, allocations: 153.4 kB / 402.9 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.4383, allocations: 31.39 kB / 402.9 MB, free: 4.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.409e-05/0.4383, allocations: 165.8 kB / 403.1 MB, free: 4.613 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.4383, allocations: 14.78 kB / 403.1 MB, free: 4.605 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.732e-06/0.4384, allocations: 0 / 403.1 MB, free: 4.605 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.905e-05/0.4384, allocations: 315.2 kB / 403.4 MB, free: 4.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.457e-05/0.4385, allocations: 23.23 kB / 403.4 MB, free: 4.289 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.4386, allocations: 28.09 kB / 403.5 MB, free: 4.281 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.178e-05/0.4387, allocations: 57.38 kB / 403.5 MB, free: 4.246 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-06/0.4387, allocations: 0 / 403.5 MB, free: 4.246 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002287/0.4389, allocations: 118.4 kB / 403.6 MB, free: 4.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.439, allocations: 41.91 kB / 403.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-06/0.439, allocations: 0 / 403.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.439, allocations: 0 / 403.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.4391, allocations: 11.75 kB / 403.7 MB, free: 4.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.996e-06/0.4391, allocations: 3.953 kB / 403.7 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.911e-05/0.4392, allocations: 6.906 kB / 403.7 MB, free: 4.133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.4392, allocations: 7.844 kB / 403.7 MB, free: 4.129 MB / 314.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 5.562e-05/0.4392, allocations: 111.9 kB / 403.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.35e-05/0.4393, allocations: 11.38 kB / 403.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.4395, allocations: 80.52 kB / 403.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-06/0.4395, allocations: 3.844 kB / 403.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.089e-06/0.4395, allocations: 0 / 403.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4395, allocations: 4.078 kB / 403.9 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.4399, allocations: 359.8 kB / 404.3 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.4399, allocations: 3.938 kB / 404.3 MB, free: 3.633 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.44, allocations: 11.52 kB / 404.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.428e-06/0.44, allocations: 0 / 404.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.44, allocations: 3.688 kB / 404.3 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.21e-06/0.44, allocations: 3.953 kB / 404.3 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.667e-06/0.44, allocations: 0 / 404.3 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.4403, allocations: 173.6 kB / 404.5 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.104e-05/0.4404, allocations: 92.75 kB / 404.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.4404, allocations: 3.375 kB / 404.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.4405, allocations: 3.781 kB / 404.6 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.067e-05/0.4406, allocations: 7.938 kB / 404.6 MB, free: 19.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.4406, allocations: 3.688 kB / 404.6 MB, free: 19.37 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000131/0.4407, allocations: 129.6 kB / 404.7 MB, free: 19.29 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.4408, allocations: 0 / 404.7 MB, free: 19.29 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.4411, allocations: 38.3 kB / 404.7 MB, free: 19.28 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.001046/0.4422, allocations: 345.2 kB / 405.1 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002147/0.4424, allocations: 113.7 kB / 405.2 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.801e-06/0.4424, allocations: 7.75 kB / 405.2 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.385e-05/0.4425, allocations: 14.72 kB / 405.2 MB, free: 18.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.4428, allocations: 18.33 kB / 405.2 MB, free: 18.96 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.4432, allocations: 159.6 kB / 405.4 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.4436, allocations: 0.6991 MB / 406.1 MB, free: 18.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.4436, allocations: 19.06 kB / 406.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.638e-06/0.4436, allocations: 0 / 406.1 MB, free: 18.12 MB / 330.7 MB Notification: Performance of Templates: time 0.003603/0.4472, allocations: 1.717 MB / 407.8 MB, free: 17.25 MB / 330.7 MB