Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.438e-05, allocations: 4 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08857/0.08863, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3947/0.4833, allocations: 75.74 MB / 397.5 MB, free: 7.516 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4836, allocations: 77.28 kB / 397.6 MB, free: 7.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01473/0.4983, allocations: 3.921 MB / 401.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.54e-06/0.4984, allocations: 0 / 401.5 MB, free: 6.477 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.4984, allocations: 0 / 401.5 MB, free: 6.477 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.0003702/0.4988, allocations: 410.6 kB / 401.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.4988, allocations: 7.812 kB / 401.9 MB, free: 6.055 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.367e-05/0.4989, allocations: 7.781 kB / 401.9 MB, free: 6.051 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4991, allocations: 205.7 kB / 402.1 MB, free: 5.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.4991, allocations: 4 kB / 402.1 MB, free: 5.832 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.4992, allocations: 7.969 kB / 402.2 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.696e-05/0.4993, allocations: 45.23 kB / 402.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.4993, allocations: 0 / 402.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.4993, allocations: 0 / 402.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-06/0.4993, allocations: 3.844 kB / 402.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.285e-05/0.4994, allocations: 11.62 kB / 402.2 MB, free: 5.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.4998, allocations: 291.2 kB / 402.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.5, allocations: 53.34 kB / 402.5 MB, free: 5.461 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.8e-05/0.5, allocations: 16.45 kB / 402.6 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.5, allocations: 0 / 402.6 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000107/0.5002, allocations: 54.86 kB / 402.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.434e-06/0.5002, allocations: 1.312 kB / 402.6 MB, free: 5.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000398/0.5006, allocations: 108.1 kB / 402.7 MB, free: 5.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.5006, allocations: 52.69 kB / 402.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001554/0.5008, allocations: 164.4 kB / 402.9 MB, free: 5.172 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.5008, allocations: 25.7 kB / 403 MB, free: 5.141 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.053e-05/0.5009, allocations: 103.6 kB / 403.1 MB, free: 5.051 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.5009, allocations: 11.53 kB / 403.1 MB, free: 5.043 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.518e-06/0.5009, allocations: 0 / 403.1 MB, free: 5.043 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.501, allocations: 330.1 kB / 403.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.5011, allocations: 18.91 kB / 403.4 MB, free: 4.723 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.349e-05/0.5011, allocations: 23.39 kB / 403.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.695e-05/0.5012, allocations: 63.92 kB / 403.5 MB, free: 4.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.5e-06/0.5012, allocations: 0 / 403.5 MB, free: 4.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002215/0.5015, allocations: 127.6 kB / 403.6 MB, free: 4.598 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.5015, allocations: 37.23 kB / 403.7 MB, free: 4.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.755e-06/0.5015, allocations: 3.984 kB / 403.7 MB, free: 4.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5016, allocations: 3.984 kB / 403.7 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.5016, allocations: 7.656 kB / 403.7 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.5017, allocations: 3.953 kB / 403.7 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.5017, allocations: 3.812 kB / 403.7 MB, free: 4.555 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.5017, allocations: 3.781 kB / 403.7 MB, free: 4.555 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.194e-05/0.5018, allocations: 116.2 kB / 403.8 MB, free: 4.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.5018, allocations: 7.75 kB / 403.8 MB, free: 4.438 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.5021, allocations: 83.53 kB / 403.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.287e-06/0.5021, allocations: 3.844 kB / 403.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.915e-06/0.5021, allocations: 0 / 403.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.5021, allocations: 3.953 kB / 403.9 MB, free: 4.391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.5025, allocations: 357.8 kB / 404.2 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.941e-06/0.5025, allocations: 4 kB / 404.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.5025, allocations: 7.594 kB / 404.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.325e-06/0.5026, allocations: 0 / 404.3 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.5026, allocations: 4.172 kB / 404.3 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.5026, allocations: 11.58 kB / 404.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-06/0.5026, allocations: 96 / 404.3 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.5028, allocations: 169.9 kB / 404.4 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.817e-05/0.5028, allocations: 88.75 kB / 404.5 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.5029, allocations: 7.844 kB / 404.5 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.271e-05/0.503, allocations: 4 kB / 404.5 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.503, allocations: 11.8 kB / 404.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.503, allocations: 0 / 404.6 MB, free: 3.797 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.5032, allocations: 133.2 kB / 404.7 MB, free: 3.715 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.5032, allocations: 0 / 404.7 MB, free: 3.715 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003549/0.5035, allocations: 34.91 kB / 404.7 MB, free: 3.707 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.001013/0.5046, allocations: 352.9 kB / 405.1 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001889/0.5048, allocations: 116.9 kB / 405.2 MB, free: 3.395 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.562e-06/0.5048, allocations: 0 / 405.2 MB, free: 3.395 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.5048, allocations: 19.12 kB / 405.2 MB, free: 3.391 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.5051, allocations: 15.17 kB / 405.2 MB, free: 3.387 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003285/0.5055, allocations: 136.1 kB / 405.3 MB, free: 3.289 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003979/0.5059, allocations: 0.7034 MB / 406 MB, free: 18.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.707e-05/0.506, allocations: 11.86 kB / 406.1 MB, free: 18.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.506, allocations: 15.16 kB / 406.1 MB, free: 18.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.439e-06/0.506, allocations: 0 / 406.1 MB, free: 18.57 MB / 330.7 MB Notification: Performance of Templates: time 0.004671/0.5107, allocations: 1.513 MB / 407.6 MB, free: 17.8 MB / 330.7 MB