Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,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_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.585e-05/3.602e-05, allocations: 4 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08577/0.08583, allocations: 48.69 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.4879, allocations: 75.78 MB / 397.6 MB, free: 7.379 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00019/0.4881, allocations: 71.31 kB / 397.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.5031, allocations: 4.013 MB / 401.7 MB, free: 6.293 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5031, allocations: 0 / 401.7 MB, free: 6.293 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.5031, allocations: 0 / 401.7 MB, free: 6.293 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.0003578/0.5035, allocations: 417.1 kB / 402.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.5035, allocations: 7.688 kB / 402.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.5036, allocations: 7.469 kB / 402.1 MB, free: 5.863 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.5038, allocations: 199.8 kB / 402.3 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.5038, allocations: 4 kB / 402.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.5039, allocations: 3.969 kB / 402.3 MB, free: 5.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.504, allocations: 47.14 kB / 402.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.504, allocations: 0 / 402.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.504, allocations: 3.844 kB / 402.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.552e-06/0.5041, allocations: 0 / 402.3 MB, free: 5.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.522e-05/0.5041, allocations: 18.77 kB / 402.3 MB, free: 5.602 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003214/0.5045, allocations: 294 kB / 402.6 MB, free: 5.309 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.5047, allocations: 45.53 kB / 402.7 MB, free: 5.277 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.63e-05/0.5047, allocations: 15.48 kB / 402.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.5047, allocations: 0 / 402.7 MB, free: 5.27 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001143/0.5049, allocations: 58.25 kB / 402.7 MB, free: 5.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.489e-06/0.5049, allocations: 3.844 kB / 402.8 MB, free: 5.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003689/0.5053, allocations: 109 kB / 402.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.5053, allocations: 55.41 kB / 402.9 MB, free: 5.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.5055, allocations: 154.7 kB / 403.1 MB, free: 4.988 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.5055, allocations: 28.95 kB / 403.1 MB, free: 4.957 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.007e-05/0.5056, allocations: 98.66 kB / 403.2 MB, free: 4.867 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.116e-05/0.5056, allocations: 14.97 kB / 403.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.5056, allocations: 0 / 403.2 MB, free: 4.859 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.5057, allocations: 326.1 kB / 403.5 MB, free: 4.539 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.12e-05/0.5057, allocations: 29.34 kB / 403.6 MB, free: 4.535 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.522e-05/0.5058, allocations: 22.81 kB / 403.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.5059, allocations: 58 kB / 403.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.5059, allocations: 0 / 403.6 MB, free: 4.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002282/0.5062, allocations: 132.9 kB / 403.8 MB, free: 4.41 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.137e-05/0.5062, allocations: 32.77 kB / 403.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.504e-06/0.5062, allocations: 0 / 403.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.5062, allocations: 3.906 kB / 403.8 MB, free: 4.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.987e-05/0.5063, allocations: 11.67 kB / 403.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.5063, allocations: 3.953 kB / 403.8 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.77e-05/0.5064, allocations: 3.844 kB / 403.8 MB, free: 4.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.5064, allocations: 4 kB / 403.8 MB, free: 4.367 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.492e-05/0.5065, allocations: 108 kB / 403.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.5065, allocations: 7.75 kB / 403.9 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.5068, allocations: 91.83 kB / 404 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-06/0.5068, allocations: 0 / 404 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.203e-06/0.5068, allocations: 128 / 404 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.714e-06/0.5068, allocations: 7.938 kB / 404 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003369/0.5072, allocations: 359.8 kB / 404.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.5072, allocations: 3.844 kB / 404.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.587e-05/0.5072, allocations: 3.844 kB / 404.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.422e-06/0.5072, allocations: 0 / 404.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.03e-05/0.5073, allocations: 3.844 kB / 404.4 MB, free: 3.879 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.429e-06/0.5073, allocations: 3.953 kB / 404.4 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.5073, allocations: 0 / 404.4 MB, free: 3.875 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.5075, allocations: 174.6 kB / 404.6 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.5075, allocations: 88.86 kB / 404.7 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.5076, allocations: 7 kB / 404.7 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.516e-05/0.5077, allocations: 5.266 kB / 404.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.659e-05/0.5077, allocations: 6.656 kB / 404.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.5078, allocations: 1.281 kB / 404.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.5079, allocations: 137.9 kB / 404.8 MB, free: 3.535 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5079, allocations: 0 / 404.8 MB, free: 3.535 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003616/0.5083, allocations: 34.94 kB / 404.8 MB, free: 3.527 MB / 314.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.001006/0.5093, allocations: 350.2 kB / 405.2 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.5095, allocations: 112.8 kB / 405.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.531e-06/0.5095, allocations: 0 / 405.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.5096, allocations: 18.91 kB / 405.3 MB, free: 3.219 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.5098, allocations: 23.64 kB / 405.3 MB, free: 3.207 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.5102, allocations: 135.4 kB / 405.5 MB, free: 3.113 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.5106, allocations: 0.6959 MB / 406.2 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.716e-05/0.5106, allocations: 19.45 kB / 406.2 MB, free: 18.4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.987e-05/0.5107, allocations: 11.25 kB / 406.2 MB, free: 18.39 MB / 330.7 MB Notification: Performance of SimCode: time 1.331e-06/0.5107, allocations: 0 / 406.2 MB, free: 18.39 MB / 330.7 MB Notification: Performance of Templates: time 0.004641/0.5154, allocations: 1.518 MB / 407.7 MB, free: 17.62 MB / 330.7 MB