Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 270 MB / 283.6 MB, free: 3.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.47e-05/3.481e-05, allocations: 5.969 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1276, allocations: 61.89 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4001/0.5278, allocations: 89.29 MB / 499.6 MB, free: 14.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002404/0.5281, allocations: 76.86 kB / 499.6 MB, free: 14.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02278/0.5509, allocations: 5.501 MB / 0.4933 GB, free: 9.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.03e-06/0.5509, allocations: 0 / 0.4933 GB, free: 9.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.5509, allocations: 4 kB / 0.4933 GB, free: 9.246 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.0005358/0.5515, allocations: 378.3 kB / 0.4937 GB, free: 8.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.5515, allocations: 16.02 kB / 0.4937 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.5516, allocations: 11.91 kB / 0.4937 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003573/0.552, allocations: 210.8 kB / 0.4939 GB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.607e-05/0.552, allocations: 11.94 kB / 0.4939 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.5521, allocations: 7.906 kB / 0.4939 GB, free: 8.539 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.5522, allocations: 49.69 kB / 0.494 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5522, allocations: 0 / 0.494 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.5522, allocations: 0 / 0.494 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.241e-06/0.5523, allocations: 0 / 0.494 GB, free: 8.484 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.844e-05/0.5523, allocations: 19.98 kB / 0.494 GB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.5528, allocations: 296.9 kB / 0.4943 GB, free: 8.125 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001561/0.553, allocations: 58.61 kB / 0.4943 GB, free: 8.059 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.227e-05/0.5531, allocations: 32.91 kB / 0.4943 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.5531, allocations: 0 / 0.4943 GB, free: 8.023 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.5532, allocations: 63.41 kB / 0.4944 GB, free: 7.949 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.45e-06/0.5533, allocations: 0 / 0.4944 GB, free: 7.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005325/0.5538, allocations: 165.1 kB / 0.4946 GB, free: 7.781 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.5539, allocations: 51.41 kB / 0.4946 GB, free: 7.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.5541, allocations: 174 kB / 0.4948 GB, free: 7.547 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.5542, allocations: 25.7 kB / 0.4948 GB, free: 7.516 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.532e-05/0.5542, allocations: 100.1 kB / 0.4949 GB, free: 7.414 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.5543, allocations: 23.7 kB / 0.4949 GB, free: 7.391 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.674e-06/0.5543, allocations: 4 kB / 0.4949 GB, free: 7.387 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.5545, allocations: 330.8 kB / 0.4952 GB, free: 7.055 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.695e-05/0.5546, allocations: 16 kB / 0.4953 GB, free: 7.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.509e-05/0.5546, allocations: 37.66 kB / 0.4953 GB, free: 6.996 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/0.5547, allocations: 28.05 kB / 0.4953 GB, free: 6.969 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-06/0.5547, allocations: 0 / 0.4953 GB, free: 6.969 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002331/0.555, allocations: 89.59 kB / 0.4954 GB, free: 6.875 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.555, allocations: 8 kB / 0.4954 GB, free: 6.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.944e-06/0.555, allocations: 4.031 kB / 0.4954 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.555, allocations: 0 / 0.4954 GB, free: 6.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.5552, allocations: 19.92 kB / 0.4954 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.209e-06/0.5552, allocations: 4 kB / 0.4954 GB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.991e-05/0.5553, allocations: 7.938 kB / 0.4954 GB, free: 6.832 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.5553, allocations: 4 kB / 0.4954 GB, free: 6.828 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 9.804e-05/0.5554, allocations: 112.9 kB / 0.4956 GB, free: 6.711 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.623e-05/0.5555, allocations: 15.81 kB / 0.4956 GB, free: 6.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002874/0.5558, allocations: 114.2 kB / 0.4957 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-06/0.5558, allocations: 3.984 kB / 0.4957 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.343e-06/0.5558, allocations: 0 / 0.4957 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.032e-06/0.5558, allocations: 0 / 0.4957 GB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.5564, allocations: 407.3 kB / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.5564, allocations: 0 / 0.4961 GB, free: 6.121 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.5565, allocations: 8 kB / 0.4961 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.809e-06/0.5565, allocations: 4 kB / 0.4961 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.5566, allocations: 0 / 0.4961 GB, free: 6.109 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.87e-06/0.5566, allocations: 4.312 kB / 0.4961 GB, free: 6.105 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.048e-06/0.5566, allocations: 7.938 kB / 0.4961 GB, free: 6.098 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003062/0.5569, allocations: 221.8 kB / 0.4963 GB, free: 5.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.561e-05/0.557, allocations: 97 kB / 0.4964 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.557, allocations: 0 / 0.4964 GB, free: 5.742 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.5572, allocations: 12.17 kB / 0.4964 GB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.745e-05/0.5572, allocations: 11.95 kB / 0.4964 GB, free: 5.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.5572, allocations: 8 kB / 0.4964 GB, free: 5.711 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001757/0.5574, allocations: 143.8 kB / 0.4966 GB, free: 5.574 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.5574, allocations: 0 / 0.4966 GB, free: 5.574 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.5578, allocations: 28 kB / 0.4966 GB, free: 5.547 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.001652/0.5595, allocations: 463.7 kB / 0.497 GB, free: 5.219 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.5597, allocations: 55.94 kB / 0.4971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.46e-06/0.5597, allocations: 0 / 0.4971 GB, free: 5.164 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.5598, allocations: 28 kB / 0.4971 GB, free: 5.137 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.5602, allocations: 27.97 kB / 0.4971 GB, free: 5.109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004892/0.5607, allocations: 162.2 kB / 0.4973 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004048/0.5611, allocations: 0.7161 MB / 0.498 GB, free: 4.176 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.925e-05/0.5612, allocations: 32.69 kB / 0.498 GB, free: 4.145 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.383e-05/0.5613, allocations: 15.44 kB / 0.498 GB, free: 4.129 MB / 410.7 MB Notification: Performance of SimCode: time 1.34e-06/0.5613, allocations: 0 / 0.498 GB, free: 4.129 MB / 410.7 MB Notification: Performance of Templates: time 0.005988/0.5673, allocations: 1.676 MB / 0.4997 GB, free: 2.465 MB / 410.7 MB