Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadModel(ModelicaTest): time 2.694/2.694, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.604e-05/3.607e-05, allocations: 8 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4707, allocations: 54.85 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002834/0.4736, allocations: 1.356 MB / 364.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001711/0.4754, allocations: 0.6558 MB / 364.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001327/0.4756, allocations: 1.375 kB / 364.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002635/0.4758, allocations: 20.88 kB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002017/0.4761, allocations: 33.77 kB / 365 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.4763, allocations: 50.02 kB / 365 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001749/0.4765, allocations: 48.3 kB / 365 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.855e-05/0.4766, allocations: 2.375 kB / 365.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.4768, allocations: 33.72 kB / 365.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.359e-05/0.4769, allocations: 21.95 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.477, allocations: 27.14 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.4771, allocations: 4.25 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.15e-05/0.4771, allocations: 18.17 kB / 365.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.4772, allocations: 4.156 kB / 365.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002367/0.4774, allocations: 87.64 kB / 365.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.4775, allocations: 0 / 365.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4775, allocations: 0 / 365.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.4775, allocations: 1.25 kB / 365.2 MB, free: 10.38 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.0007038/0.4782, allocations: 436.3 kB / 365.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.4783, allocations: 12.84 kB / 365.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.4783, allocations: 12.66 kB / 365.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.4787, allocations: 193.1 kB / 365.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.4787, allocations: 10.88 kB / 365.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.4788, allocations: 3.781 kB / 365.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.479, allocations: 53.55 kB / 366 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.4791, allocations: 1.094 kB / 366 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.4791, allocations: 3.938 kB / 366 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.4791, allocations: 5.172 kB / 366 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4792, allocations: 18.58 kB / 366 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.4797, allocations: 305.1 kB / 366.3 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.48, allocations: 58.23 kB / 366.3 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.4801, allocations: 1.25 kB / 366.3 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.4803, allocations: 69.38 kB / 366.4 MB, free: 9.188 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 5.11e-06/0.4803, allocations: 7.922 kB / 366.4 MB, free: 9.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008702/0.4812, allocations: 174.9 kB / 366.6 MB, free: 9.078 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.4813, allocations: 53.69 kB / 366.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.4815, allocations: 162.7 kB / 366.8 MB, free: 8.887 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.2e-05/0.4816, allocations: 35.97 kB / 366.8 MB, free: 8.848 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/0.4817, allocations: 92.3 kB / 366.9 MB, free: 8.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.4817, allocations: 22.89 kB / 366.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.436e-06/0.4817, allocations: 1.156 kB / 366.9 MB, free: 8.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4819, allocations: 326.3 kB / 367.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.482, allocations: 35.48 kB / 367.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001455/0.4822, allocations: 50.06 kB / 367.3 MB, free: 8.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001629/0.4824, allocations: 61.77 kB / 367.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4824, allocations: 0 / 367.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000449/0.4828, allocations: 158 kB / 367.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.747e-05/0.4829, allocations: 40.8 kB / 367.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4829, allocations: 1 kB / 367.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.483, allocations: 1.031 kB / 367.6 MB, free: 8.164 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.4831, allocations: 25.45 kB / 367.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.4832, allocations: 1.375 kB / 367.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-05/0.4833, allocations: 3.562 kB / 367.6 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.4833, allocations: 4.594 kB / 367.6 MB, free: 8.152 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.0001609/0.4835, allocations: 130.6 kB / 367.8 MB, free: 8.023 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.4835, allocations: 12.34 kB / 367.8 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.4836, allocations: 17.33 kB / 367.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4836, allocations: 0.7812 kB / 367.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.037e-05/0.4836, allocations: 8 kB / 367.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.4836, allocations: 5.031 kB / 367.8 MB, free: 7.992 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.4843, allocations: 385.5 kB / 368.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.4843, allocations: 3.953 kB / 368.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.4844, allocations: 8.344 kB / 368.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.493e-06/0.4844, allocations: 1.062 kB / 368.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.4845, allocations: 9.328 kB / 368.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4845, allocations: 1.031 kB / 368.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4845, allocations: 5.094 kB / 368.2 MB, free: 7.602 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.4849, allocations: 218.2 kB / 368.4 MB, free: 7.406 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.59e-05/0.485, allocations: 93.66 kB / 368.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.485, allocations: 2.562 kB / 368.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.4851, allocations: 1.312 kB / 368.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.4852, allocations: 12.17 kB / 368.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.4852, allocations: 7.719 kB / 368.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.4854, allocations: 123.8 kB / 368.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4854, allocations: 1.281 kB / 368.7 MB, free: 7.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003706/0.4858, allocations: 28.11 kB / 368.7 MB, free: 7.188 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.001217/0.487, allocations: 403.9 kB / 369.1 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004754/0.4875, allocations: 151.5 kB / 369.2 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.4876, allocations: 0 / 369.2 MB, free: 6.824 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.4877, allocations: 33.86 kB / 369.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003796/0.4881, allocations: 22.67 kB / 369.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006473/0.4888, allocations: 222.3 kB / 369.5 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.4891, allocations: 0.7093 MB / 370.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.766e-05/0.4892, allocations: 7.938 kB / 370.2 MB, free: 5.887 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.497e-05/0.4893, allocations: 13.81 kB / 370.2 MB, free: 5.879 MB / 298.7 MB Notification: Performance of SimCode: time 1.613e-06/0.4893, allocations: 5 kB / 370.2 MB, free: 5.875 MB / 298.7 MB Notification: Performance of Templates: time 0.006676/0.496, allocations: 1.591 MB / 371.8 MB, free: 4.473 MB / 298.7 MB