Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.613/2.613, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.501e-05/4.51e-05, allocations: 7.984 kB / 308 MB, free: 15.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.451/0.451, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002709/0.4538, allocations: 1.356 MB / 364.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002703/0.4566, allocations: 1.223 MB / 365.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.4568, allocations: 0 / 365.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002907/0.4571, allocations: 18.2 kB / 365.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.4574, allocations: 37.5 kB / 365.5 MB, free: 10.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.4577, allocations: 42.91 kB / 365.6 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001771/0.4579, allocations: 56.28 kB / 365.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.458, allocations: 6.016 kB / 365.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.4581, allocations: 29.48 kB / 365.6 MB, free: 10 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002023/0.4583, allocations: 31.75 kB / 365.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002604/0.4586, allocations: 43.33 kB / 365.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.39e-05/0.4587, allocations: 5.469 kB / 365.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.4587, allocations: 12.05 kB / 365.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.4588, allocations: 4.312 kB / 365.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.4591, allocations: 95.72 kB / 365.8 MB, free: 9.898 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.4591, allocations: 1 kB / 365.8 MB, free: 9.898 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.4591, allocations: 4 kB / 365.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.4591, allocations: 0 / 365.8 MB, free: 9.895 MB / 298.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.0007193/0.4599, allocations: 436.1 kB / 366.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.4599, allocations: 14.06 kB / 366.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.46, allocations: 8.469 kB / 366.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003371/0.4604, allocations: 202.2 kB / 366.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.4604, allocations: 2.312 kB / 366.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.582e-05/0.4605, allocations: 8.5 kB / 366.5 MB, free: 9.191 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.4607, allocations: 77.66 kB / 366.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.4608, allocations: 3.938 kB / 366.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.4608, allocations: 1.031 kB / 366.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.4608, allocations: 4.922 kB / 366.6 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.4609, allocations: 22.58 kB / 366.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005485/0.4615, allocations: 299.8 kB / 366.9 MB, free: 8.777 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.4618, allocations: 57.95 kB / 367 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.4618, allocations: 1.344 kB / 367 MB, free: 8.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000242/0.4621, allocations: 73.44 kB / 367 MB, free: 8.664 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.697e-06/0.4621, allocations: 0 / 367 MB, free: 8.664 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008604/0.463, allocations: 172 kB / 367.2 MB, free: 8.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.4631, allocations: 82.05 kB / 367.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.4633, allocations: 138.5 kB / 367.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.4633, allocations: 26.86 kB / 367.4 MB, free: 8.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.975e-05/0.4634, allocations: 96.25 kB / 367.5 MB, free: 8.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.06e-05/0.4635, allocations: 23.16 kB / 367.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.277e-06/0.4635, allocations: 1.156 kB / 367.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4636, allocations: 321.5 kB / 367.9 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001323/0.4638, allocations: 32.17 kB / 367.9 MB, free: 7.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001483/0.464, allocations: 61.41 kB / 368 MB, free: 7.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.4641, allocations: 61.67 kB / 368 MB, free: 7.773 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.4642, allocations: 0.6875 kB / 368 MB, free: 7.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004706/0.4646, allocations: 163.6 kB / 368.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.085e-05/0.4647, allocations: 41.34 kB / 368.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.4647, allocations: 1.438 kB / 368.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.114e-05/0.4648, allocations: 1 kB / 368.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.4649, allocations: 17.22 kB / 368.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.465, allocations: 8.953 kB / 368.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.4651, allocations: 8.156 kB / 368.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.128e-05/0.4651, allocations: 4.438 kB / 368.3 MB, free: 7.605 MB / 298.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 (11): * Single equations (assignments): 10 * 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 0.0001966/0.4653, allocations: 121.1 kB / 368.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.4654, allocations: 12.17 kB / 368.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.4654, allocations: 16.08 kB / 368.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.4655, allocations: 1.625 kB / 368.4 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.4655, allocations: 3.938 kB / 368.4 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.4655, allocations: 4 kB / 368.4 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007544/0.4663, allocations: 392.2 kB / 368.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4663, allocations: 0 / 368.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.171e-05/0.4664, allocations: 7.688 kB / 368.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.265e-06/0.4664, allocations: 1.188 kB / 368.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.069e-05/0.4664, allocations: 10.47 kB / 368.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.4664, allocations: 3.984 kB / 368.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4664, allocations: 1.031 kB / 368.8 MB, free: 7.062 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004009/0.4669, allocations: 222.7 kB / 369 MB, free: 6.863 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.467, allocations: 93.06 kB / 369.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.068e-05/0.467, allocations: 2.406 kB / 369.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.4672, allocations: 2.688 kB / 369.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.652e-05/0.4672, allocations: 15.77 kB / 369.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.4673, allocations: 2.562 kB / 369.2 MB, free: 6.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001418/0.4674, allocations: 109.8 kB / 369.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4674, allocations: 0 / 369.3 MB, free: 6.656 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004166/0.4679, allocations: 39.12 kB / 369.3 MB, free: 6.645 MB / 298.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 (8): * Single equations (assignments): 6 * 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.001598/0.4695, allocations: 494.5 kB / 369.8 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000529/0.4701, allocations: 148.2 kB / 369.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.4701, allocations: 0 / 369.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.4702, allocations: 42.16 kB / 370 MB, free: 6.188 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.4706, allocations: 18.11 kB / 370 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.4713, allocations: 199.2 kB / 370.2 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003243/0.4716, allocations: 0.702 MB / 370.9 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001369/0.4718, allocations: 9.531 kB / 370.9 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.376e-05/0.4718, allocations: 19.61 kB / 370.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of SimCode: time 2.214e-06/0.4719, allocations: 0 / 370.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of Templates: time 0.008138/0.48, allocations: 1.947 MB / 372.9 MB, free: 3.418 MB / 298.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.timeScale,t_new.verboseRead,t_new.y[1],time