Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadModel(ModelicaTest): time 2.213/2.213, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.251e-05, allocations: 8 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1099, allocations: 61.89 MB / 410.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.408/0.5179, allocations: 89.28 MB / 499.6 MB, free: 14.85 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002422/0.5182, allocations: 71.97 kB / 499.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02288/0.5411, allocations: 5.513 MB / 0.4933 GB, free: 9.266 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.171e-06/0.5411, allocations: 0 / 0.4933 GB, free: 9.266 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.5412, allocations: 11.94 kB / 0.4933 GB, free: 9.254 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005356/0.5417, allocations: 382.3 kB / 0.4937 GB, free: 8.836 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.5418, allocations: 12.03 kB / 0.4937 GB, free: 8.824 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.969e-05/0.5418, allocations: 7.906 kB / 0.4937 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.5422, allocations: 210.8 kB / 0.4939 GB, free: 8.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.5423, allocations: 7.953 kB / 0.4939 GB, free: 8.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.5423, allocations: 7.906 kB / 0.4939 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5424, allocations: 57.67 kB / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.5425, allocations: 0 / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.5425, allocations: 0 / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-06/0.5425, allocations: 0 / 0.494 GB, free: 8.492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.621e-05/0.5426, allocations: 19.98 kB / 0.494 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004685/0.5431, allocations: 292.9 kB / 0.4943 GB, free: 8.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001534/0.5432, allocations: 62.56 kB / 0.4943 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.715e-05/0.5433, allocations: 24.97 kB / 0.4944 GB, free: 8.039 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.5433, allocations: 4 kB / 0.4944 GB, free: 8.035 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.5435, allocations: 63.41 kB / 0.4944 GB, free: 7.961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.828e-06/0.5435, allocations: 0 / 0.4944 GB, free: 7.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005407/0.5441, allocations: 161.1 kB / 0.4946 GB, free: 7.797 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.139e-05/0.5442, allocations: 51.41 kB / 0.4946 GB, free: 7.734 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.5444, allocations: 178 kB / 0.4948 GB, free: 7.559 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.5445, allocations: 25.7 kB / 0.4948 GB, free: 7.527 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.8e-05/0.5445, allocations: 100.1 kB / 0.4949 GB, free: 7.426 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.699e-05/0.5446, allocations: 23.7 kB / 0.4949 GB, free: 7.402 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-06/0.5446, allocations: 4 kB / 0.4949 GB, free: 7.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.5448, allocations: 326.8 kB / 0.4952 GB, free: 7.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.648e-05/0.5449, allocations: 16 kB / 0.4953 GB, free: 7.055 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.5449, allocations: 37.72 kB / 0.4953 GB, free: 7.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.652e-05/0.545, allocations: 27.92 kB / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.545, allocations: 0 / 0.4953 GB, free: 6.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002268/0.5453, allocations: 93.58 kB / 0.4954 GB, free: 6.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.5453, allocations: 4 kB / 0.4954 GB, free: 6.883 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.978e-06/0.5453, allocations: 4 kB / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.5453, allocations: 0 / 0.4954 GB, free: 6.879 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.5455, allocations: 15.98 kB / 0.4954 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.958e-06/0.5455, allocations: 3.938 kB / 0.4954 GB, free: 6.859 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.284e-05/0.5456, allocations: 15.97 kB / 0.4955 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.5456, allocations: 4 kB / 0.4955 GB, free: 6.84 MB / 410.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 (10): * Single equations (assignments): 10 * 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.0001013/0.5457, allocations: 113.6 kB / 0.4956 GB, free: 6.723 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.5458, allocations: 11.81 kB / 0.4956 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.5461, allocations: 114.2 kB / 0.4957 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-06/0.5461, allocations: 0 / 0.4957 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-06/0.5461, allocations: 0 / 0.4957 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.031e-06/0.5461, allocations: 3.984 kB / 0.4957 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.5468, allocations: 411.3 kB / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-06/0.5468, allocations: 0 / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.924e-05/0.5469, allocations: 8 kB / 0.4961 GB, free: 6.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.601e-06/0.5469, allocations: 4 kB / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.5469, allocations: 7.984 kB / 0.4961 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.779e-06/0.5469, allocations: 4.219 kB / 0.4961 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.938e-06/0.5469, allocations: 0 / 0.4961 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003059/0.5473, allocations: 225.8 kB / 0.4963 GB, free: 5.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.63e-05/0.5474, allocations: 97 kB / 0.4964 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.08e-05/0.5474, allocations: 0 / 0.4964 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.5475, allocations: 4 kB / 0.4964 GB, free: 5.746 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.5476, allocations: 15.94 kB / 0.4964 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-05/0.5476, allocations: 4 kB / 0.4964 GB, free: 5.727 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000176/0.5478, allocations: 143.8 kB / 0.4966 GB, free: 5.59 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.5478, allocations: 4 kB / 0.4966 GB, free: 5.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003786/0.5482, allocations: 28 kB / 0.4966 GB, free: 5.559 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001623/0.5498, allocations: 460.6 kB / 0.497 GB, free: 5.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.5501, allocations: 59.92 kB / 0.4971 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5501, allocations: 0 / 0.4971 GB, free: 5.172 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.5502, allocations: 32.06 kB / 0.4971 GB, free: 5.141 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.5505, allocations: 28.28 kB / 0.4972 GB, free: 5.113 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004615/0.551, allocations: 154.3 kB / 0.4973 GB, free: 4.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.5515, allocations: 0.716 MB / 0.498 GB, free: 4.188 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.433e-05/0.5515, allocations: 28.45 kB / 0.498 GB, free: 4.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.413e-05/0.5516, allocations: 15.38 kB / 0.498 GB, free: 4.145 MB / 410.7 MB Notification: Performance of SimCode: time 1.591e-06/0.5516, allocations: 4 kB / 0.498 GB, free: 4.141 MB / 410.7 MB Notification: Performance of Templates: time 0.00595/0.5576, allocations: 1.676 MB / 0.4997 GB, free: 2.477 MB / 410.7 MB