Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 1.816/1.816, allocations: 209.3 MB / 221.9 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.85e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08615/0.08621, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3796/0.4658, allocations: 75.78 MB / 397.5 MB, free: 7.074 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001988/0.4661, allocations: 65.75 kB / 397.6 MB, free: 7.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.4816, allocations: 4.187 MB / 401.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.328e-06/0.4816, allocations: 0 / 401.8 MB, free: 6.027 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4817, allocations: 3.844 kB / 401.8 MB, free: 6.027 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.0003852/0.4821, allocations: 425.5 kB / 402.2 MB, free: 5.594 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.4821, allocations: 7.656 kB / 402.2 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.998e-05/0.4822, allocations: 7.75 kB / 402.2 MB, free: 5.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000215/0.4824, allocations: 202 kB / 402.4 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.4824, allocations: 0 / 402.4 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.216e-05/0.4825, allocations: 7.719 kB / 402.4 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.778e-05/0.4826, allocations: 49.09 kB / 402.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4826, allocations: 0 / 402.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4826, allocations: 0 / 402.5 MB, free: 5.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.129e-06/0.4826, allocations: 4 kB / 402.5 MB, free: 5.336 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.332e-05/0.4827, allocations: 19.52 kB / 402.5 MB, free: 5.328 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.4831, allocations: 298.9 kB / 402.8 MB, free: 5.035 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001943/0.4833, allocations: 53.45 kB / 402.8 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.325e-05/0.4833, allocations: 8.703 kB / 402.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.444e-05/0.4833, allocations: 0 / 402.8 MB, free: 4.992 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.4835, allocations: 71.02 kB / 402.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.44e-06/0.4835, allocations: 0 / 402.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003899/0.4839, allocations: 107.2 kB / 403 MB, free: 4.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.503e-05/0.4839, allocations: 51.41 kB / 403.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002136/0.4841, allocations: 190.9 kB / 403.3 MB, free: 4.699 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.4842, allocations: 25.7 kB / 403.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.772e-05/0.4842, allocations: 169.5 kB / 403.4 MB, free: 4.516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.4843, allocations: 23.61 kB / 403.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.984e-06/0.4843, allocations: 0 / 403.5 MB, free: 4.5 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.4843, allocations: 310.8 kB / 403.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.246e-05/0.4844, allocations: 23.12 kB / 403.8 MB, free: 4.188 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.351e-05/0.4845, allocations: 23.33 kB / 403.8 MB, free: 4.184 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.497e-05/0.4846, allocations: 52.14 kB / 403.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-06/0.4846, allocations: 0 / 403.9 MB, free: 4.152 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002216/0.4848, allocations: 128.9 kB / 404 MB, free: 4.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.4849, allocations: 33.39 kB / 404 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4849, allocations: 3.984 kB / 404 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4849, allocations: 4 kB / 404 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.801e-05/0.485, allocations: 11.09 kB / 404 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.112e-06/0.485, allocations: 0 / 404 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.915e-05/0.4851, allocations: 3.906 kB / 404.1 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.4851, allocations: 11.89 kB / 404.1 MB, free: 4.023 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.886e-05/0.4852, allocations: 116.5 kB / 404.2 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.4852, allocations: 7.781 kB / 404.2 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.4855, allocations: 104.8 kB / 404.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-06/0.4855, allocations: 0 / 404.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.407e-06/0.4855, allocations: 0 / 404.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.334e-06/0.4855, allocations: 0 / 404.3 MB, free: 3.844 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.4859, allocations: 366.8 kB / 404.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.094e-06/0.486, allocations: 0 / 404.6 MB, free: 3.516 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.364e-05/0.486, allocations: 15.56 kB / 404.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.486, allocations: 0 / 404.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.4861, allocations: 3.969 kB / 404.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.769e-06/0.4861, allocations: 0 / 404.7 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.809e-06/0.4861, allocations: 7.984 kB / 404.7 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.4863, allocations: 169.4 kB / 404.8 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001734/0.4865, allocations: 88.7 kB / 404.9 MB, free: 19.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.4865, allocations: 11.64 kB / 404.9 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.76e-05/0.4866, allocations: 0 / 404.9 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.4867, allocations: 3.938 kB / 404.9 MB, free: 19.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.4867, allocations: 0 / 404.9 MB, free: 19.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001685/0.4869, allocations: 169.8 kB / 405.1 MB, free: 19.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.87e-07/0.4869, allocations: 0 / 405.1 MB, free: 19.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003785/0.4873, allocations: 42.88 kB / 405.1 MB, free: 19.15 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.001052/0.4883, allocations: 355.4 kB / 405.5 MB, free: 18.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.4886, allocations: 109 kB / 405.6 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.02e-06/0.4886, allocations: 0 / 405.6 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.704e-05/0.4887, allocations: 23.22 kB / 405.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.489, allocations: 15.77 kB / 405.6 MB, free: 18.84 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004056/0.4894, allocations: 185.5 kB / 405.8 MB, free: 18.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.4898, allocations: 0.7126 MB / 406.5 MB, free: 18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.4899, allocations: 20.58 kB / 406.6 MB, free: 17.99 MB / 330.7 MB Notification: Performance of SimCode: time 1.518e-06/0.4899, allocations: 0 / 406.6 MB, free: 17.99 MB / 330.7 MB Notification: Performance of Templates: time 0.003854/0.4938, allocations: 1.801 MB / 408.4 MB, free: 17.08 MB / 330.7 MB