Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 270 MB / 283.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.048e-05, allocations: 4 kB / 348.4 MB, free: 2.773 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3978/0.3979, allocations: 61.88 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1755/0.5735, allocations: 89.34 MB / 499.6 MB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.5738, allocations: 71.97 kB / 499.7 MB, free: 1.199 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02322/0.597, allocations: 5.977 MB / 0.4938 GB, free: 11.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.417e-06/0.597, allocations: 0 / 0.4938 GB, free: 11.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.5971, allocations: 4 kB / 0.4938 GB, free: 11.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000545/0.5976, allocations: 418.1 kB / 0.4942 GB, free: 10.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.5977, allocations: 8.031 kB / 0.4942 GB, free: 10.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.334e-05/0.5977, allocations: 15.81 kB / 0.4942 GB, free: 10.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003787/0.5981, allocations: 227.5 kB / 0.4945 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.018e-05/0.5982, allocations: 7.953 kB / 0.4945 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.5982, allocations: 7.984 kB / 0.4945 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.5984, allocations: 57.62 kB / 0.4945 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.5984, allocations: 3.984 kB / 0.4945 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.5984, allocations: 4 kB / 0.4945 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-06/0.5984, allocations: 0 / 0.4945 GB, free: 10.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.5985, allocations: 27.98 kB / 0.4946 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/0.599, allocations: 312.8 kB / 0.4949 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.5993, allocations: 66.5 kB / 0.4949 GB, free: 9.926 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.783e-05/0.5994, allocations: 16.98 kB / 0.4949 GB, free: 9.906 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.419e-05/0.5994, allocations: 4 kB / 0.495 GB, free: 9.902 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.5996, allocations: 67.39 kB / 0.495 GB, free: 9.824 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.702e-06/0.5996, allocations: 3.938 kB / 0.495 GB, free: 9.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006808/0.6003, allocations: 213.1 kB / 0.4952 GB, free: 9.605 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.6004, allocations: 51.41 kB / 0.4953 GB, free: 9.543 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.6007, allocations: 226.2 kB / 0.4955 GB, free: 9.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/0.6007, allocations: 29.7 kB / 0.4955 GB, free: 9.277 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.6008, allocations: 116.1 kB / 0.4956 GB, free: 9.16 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.6009, allocations: 35.55 kB / 0.4957 GB, free: 9.125 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.6009, allocations: 4 kB / 0.4957 GB, free: 9.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.6011, allocations: 330.7 kB / 0.496 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.749e-05/0.6012, allocations: 28 kB / 0.496 GB, free: 8.762 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.907e-05/0.6013, allocations: 41.72 kB / 0.496 GB, free: 8.715 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.776e-05/0.6014, allocations: 31.92 kB / 0.4961 GB, free: 8.684 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.859e-06/0.6014, allocations: 4 kB / 0.4961 GB, free: 8.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002766/0.6017, allocations: 121.5 kB / 0.4962 GB, free: 8.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6017, allocations: 4 kB / 0.4962 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.328e-06/0.6017, allocations: 4 kB / 0.4962 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.6017, allocations: 0 / 0.4962 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.6019, allocations: 23.92 kB / 0.4962 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.574e-06/0.6019, allocations: 0 / 0.4962 GB, free: 8.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.403e-05/0.602, allocations: 8 kB / 0.4962 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.602, allocations: 7.938 kB / 0.4962 GB, free: 8.508 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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.000102/0.6021, allocations: 118.9 kB / 0.4964 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.6022, allocations: 19.8 kB / 0.4964 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.6025, allocations: 147.7 kB / 0.4965 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.001e-06/0.6026, allocations: 3.938 kB / 0.4965 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.076e-06/0.6026, allocations: 0 / 0.4965 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.159e-06/0.6026, allocations: 0 / 0.4965 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007394/0.6033, allocations: 480.1 kB / 0.497 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.404e-06/0.6034, allocations: 0 / 0.497 GB, free: 7.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.84e-05/0.6035, allocations: 15.94 kB / 0.497 GB, free: 7.664 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.276e-06/0.6035, allocations: 4 kB / 0.497 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.6035, allocations: 3.984 kB / 0.497 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.296e-06/0.6035, allocations: 4 kB / 0.497 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.347e-06/0.6035, allocations: 3.953 kB / 0.497 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003553/0.6039, allocations: 256.6 kB / 0.4973 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-05/0.604, allocations: 108.8 kB / 0.4974 GB, free: 7.238 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.848e-05/0.6041, allocations: 4 kB / 0.4974 GB, free: 7.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.6042, allocations: 4 kB / 0.4974 GB, free: 7.23 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.6042, allocations: 15.92 kB / 0.4974 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.558e-05/0.6043, allocations: 8 kB / 0.4974 GB, free: 7.207 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002363/0.6045, allocations: 179.4 kB / 0.4976 GB, free: 7.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.2e-07/0.6045, allocations: 0 / 0.4976 GB, free: 7.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003807/0.6049, allocations: 51.92 kB / 0.4976 GB, free: 6.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001753/0.6067, allocations: 0.4974 MB / 0.4981 GB, free: 6.648 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.6069, allocations: 75.92 kB / 0.4982 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.599e-06/0.6069, allocations: 0 / 0.4982 GB, free: 6.574 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.6071, allocations: 39.94 kB / 0.4982 GB, free: 6.535 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.6074, allocations: 28.55 kB / 0.4982 GB, free: 6.504 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.6079, allocations: 236.4 kB / 0.4985 GB, free: 6.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.6084, allocations: 0.7276 MB / 0.4992 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.949e-05/0.6085, allocations: 20.77 kB / 0.4992 GB, free: 5.477 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.715e-05/0.6086, allocations: 27.42 kB / 0.4992 GB, free: 5.449 MB / 426.7 MB Notification: Performance of SimCode: time 1.326e-06/0.6086, allocations: 0 / 0.4992 GB, free: 5.449 MB / 426.7 MB Notification: Performance of Templates: time 0.006442/0.615, allocations: 2.01 MB / 0.5012 GB, free: 3.449 MB / 426.7 MB