Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 270 MB / 283.6 MB, free: 1.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.989e-05/7.026e-05, allocations: 7.984 kB / 348.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3215, allocations: 61.89 MB / 410.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.4579, allocations: 89.29 MB / 499.6 MB, free: 1.344 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4582, allocations: 67.97 kB / 499.6 MB, free: 1.277 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02218/0.4804, allocations: 5.453 MB / 0.4933 GB, free: 11.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.99e-06/0.4804, allocations: 0 / 0.4933 GB, free: 11.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.4804, allocations: 0 / 0.4933 GB, free: 11.82 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005423/0.481, allocations: 398.1 kB / 0.4936 GB, free: 11.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.481, allocations: 8.031 kB / 0.4936 GB, free: 11.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.71e-05/0.4811, allocations: 7.906 kB / 0.4936 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.4814, allocations: 214.8 kB / 0.4939 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.925e-05/0.4815, allocations: 7.953 kB / 0.4939 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.375e-05/0.4815, allocations: 4 kB / 0.4939 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.4817, allocations: 53.67 kB / 0.4939 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4817, allocations: 0 / 0.4939 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4817, allocations: 0 / 0.4939 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-06/0.4817, allocations: 0 / 0.4939 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.917e-05/0.4818, allocations: 19.98 kB / 0.4939 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.4823, allocations: 300.7 kB / 0.4942 GB, free: 10.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.4824, allocations: 58.69 kB / 0.4943 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.575e-05/0.4825, allocations: 16.98 kB / 0.4943 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.4825, allocations: 0 / 0.4943 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001507/0.4827, allocations: 67.39 kB / 0.4944 GB, free: 10.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.377e-06/0.4827, allocations: 0 / 0.4944 GB, free: 10.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005134/0.4832, allocations: 149.4 kB / 0.4945 GB, free: 10.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.4833, allocations: 59.41 kB / 0.4946 GB, free: 10.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.4835, allocations: 156 kB / 0.4947 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4836, allocations: 29.7 kB / 0.4947 GB, free: 10.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.4837, allocations: 104 kB / 0.4948 GB, free: 10 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.4837, allocations: 27.72 kB / 0.4949 GB, free: 9.973 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-06/0.4837, allocations: 0 / 0.4949 GB, free: 9.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.4839, allocations: 326.8 kB / 0.4952 GB, free: 9.645 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.67e-05/0.484, allocations: 20 kB / 0.4952 GB, free: 9.625 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.086e-05/0.4841, allocations: 37.66 kB / 0.4952 GB, free: 9.582 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.87e-05/0.4841, allocations: 23.98 kB / 0.4953 GB, free: 9.559 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-06/0.4842, allocations: 0 / 0.4953 GB, free: 9.559 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002234/0.4844, allocations: 93.56 kB / 0.4953 GB, free: 9.461 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.4844, allocations: 4 kB / 0.4953 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4844, allocations: 4 kB / 0.4953 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4845, allocations: 7.984 kB / 0.4954 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.4846, allocations: 19.94 kB / 0.4954 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.874e-06/0.4846, allocations: 4.031 kB / 0.4954 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.4847, allocations: 4 kB / 0.4954 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4847, allocations: 0 / 0.4954 GB, free: 9.418 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 (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.000103/0.4848, allocations: 116.9 kB / 0.4955 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.902e-05/0.4849, allocations: 7.906 kB / 0.4955 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000283/0.4852, allocations: 114.2 kB / 0.4956 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.783e-06/0.4852, allocations: 0 / 0.4956 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.957e-06/0.4852, allocations: 4 kB / 0.4956 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.173e-06/0.4852, allocations: 4.281 kB / 0.4956 GB, free: 9.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006/0.4858, allocations: 411.3 kB / 0.496 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-06/0.4858, allocations: 0 / 0.496 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.978e-05/0.4859, allocations: 11.94 kB / 0.496 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.928e-06/0.4859, allocations: 4 kB / 0.496 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.414e-05/0.486, allocations: 4 kB / 0.496 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.696e-06/0.486, allocations: 0 / 0.496 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.06e-06/0.486, allocations: 0 / 0.496 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002971/0.4863, allocations: 217.9 kB / 0.4962 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.4864, allocations: 93 kB / 0.4963 GB, free: 8.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.398e-05/0.4864, allocations: 4 kB / 0.4963 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4866, allocations: 3.984 kB / 0.4963 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.4866, allocations: 15.94 kB / 0.4963 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.4866, allocations: 8 kB / 0.4964 GB, free: 8.309 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001586/0.4868, allocations: 133.5 kB / 0.4965 GB, free: 8.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.32e-07/0.4868, allocations: 3.938 kB / 0.4965 GB, free: 8.176 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000377/0.4872, allocations: 35.94 kB / 0.4965 GB, free: 8.141 MB / 426.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.001607/0.4888, allocations: 450.7 kB / 0.497 GB, free: 7.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001985/0.4891, allocations: 63.92 kB / 0.497 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.728e-06/0.4891, allocations: 0 / 0.497 GB, free: 7.773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.264e-05/0.4892, allocations: 28 kB / 0.497 GB, free: 7.746 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.4895, allocations: 23.92 kB / 0.4971 GB, free: 7.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004289/0.4899, allocations: 159.2 kB / 0.4972 GB, free: 7.535 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4903, allocations: 0.7083 MB / 0.4979 GB, free: 6.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.841e-05/0.4904, allocations: 24.41 kB / 0.4979 GB, free: 6.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.4905, allocations: 15.44 kB / 0.4979 GB, free: 6.762 MB / 426.7 MB Notification: Performance of SimCode: time 1.415e-06/0.4905, allocations: 0 / 0.4979 GB, free: 6.762 MB / 426.7 MB Notification: Performance of Templates: time 0.00575/0.4963, allocations: 1.656 MB / 0.4996 GB, free: 5.117 MB / 426.7 MB