Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.617/2.617, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.662e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3887, allocations: 54.85 MB / 362.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002762/0.3916, allocations: 1.36 MB / 364.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.3933, allocations: 0.6552 MB / 364.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.3935, allocations: 1.406 kB / 364.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002722/0.3938, allocations: 20.69 kB / 364.9 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002086/0.394, allocations: 30.42 kB / 364.9 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002904/0.3943, allocations: 45.88 kB / 365 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.3945, allocations: 57.03 kB / 365 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.3946, allocations: 3.125 kB / 365 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001153/0.3948, allocations: 33.34 kB / 365.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.865e-05/0.3949, allocations: 22.92 kB / 365.1 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.3951, allocations: 26.3 kB / 365.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.3951, allocations: 3.656 kB / 365.1 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.577e-05/0.3952, allocations: 22.86 kB / 365.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.742e-05/0.3952, allocations: 5.688 kB / 365.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000261/0.3955, allocations: 79.58 kB / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3955, allocations: 1.344 kB / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.927e-06/0.3955, allocations: 4 kB / 365.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.3955, allocations: 0 / 365.2 MB, free: 10.41 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.0008106/0.3964, allocations: 441.5 kB / 365.7 MB, free: 9.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.3964, allocations: 16.25 kB / 365.7 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.52e-05/0.3965, allocations: 12.92 kB / 365.7 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000392/0.3969, allocations: 205.1 kB / 365.9 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.397, allocations: 5.984 kB / 365.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.397, allocations: 3.844 kB / 365.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.3973, allocations: 57.2 kB / 366 MB, free: 9.641 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.3974, allocations: 5.344 kB / 366 MB, free: 9.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.3974, allocations: 3.938 kB / 366 MB, free: 9.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.3974, allocations: 5.391 kB / 366 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/0.3976, allocations: 18.23 kB / 366 MB, free: 9.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007603/0.3984, allocations: 293.2 kB / 366.3 MB, free: 9.309 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.3988, allocations: 63.17 kB / 366.3 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.3989, allocations: 0 / 366.3 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000352/0.3993, allocations: 73.94 kB / 366.4 MB, free: 9.191 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.178e-06/0.3993, allocations: 0 / 366.4 MB, free: 9.191 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.001276/0.4006, allocations: 179.8 kB / 366.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/0.4007, allocations: 53.47 kB / 366.6 MB, free: 9.023 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003551/0.4011, allocations: 166.8 kB / 366.8 MB, free: 8.898 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.551e-05/0.4012, allocations: 30.7 kB / 366.8 MB, free: 8.863 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/0.4013, allocations: 101.3 kB / 366.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.271e-05/0.4014, allocations: 26.7 kB / 367 MB, free: 8.742 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.605e-05/0.4014, allocations: 6.406 kB / 367 MB, free: 8.738 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.4016, allocations: 325 kB / 367.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.4018, allocations: 28.45 kB / 367.3 MB, free: 8.402 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.4021, allocations: 57.89 kB / 367.4 MB, free: 8.359 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.4023, allocations: 60.8 kB / 367.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.4023, allocations: 1.062 kB / 367.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006392/0.403, allocations: 161.9 kB / 367.6 MB, free: 8.199 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.377e-05/0.4031, allocations: 41.48 kB / 367.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4031, allocations: 0 / 367.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.395e-05/0.4032, allocations: 1.844 kB / 367.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.4034, allocations: 13.22 kB / 367.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.4034, allocations: 0.9688 kB / 367.6 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4036, allocations: 11.58 kB / 367.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.489e-05/0.4036, allocations: 8.531 kB / 367.7 MB, free: 8.148 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.0002197/0.4039, allocations: 123.8 kB / 367.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.865e-05/0.404, allocations: 13.27 kB / 367.8 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001025/0.4041, allocations: 17.3 kB / 367.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.4041, allocations: 1.094 kB / 367.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.4041, allocations: 0 / 367.8 MB, free: 8.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.711e-05/0.4041, allocations: 8.938 kB / 367.8 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.4052, allocations: 394 kB / 368.2 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/0.4052, allocations: 5.078 kB / 368.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.994e-05/0.4053, allocations: 7.094 kB / 368.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/0.4054, allocations: 0.875 kB / 368.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.4054, allocations: 6.328 kB / 368.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.4054, allocations: 1.25 kB / 368.2 MB, free: 7.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.4054, allocations: 3.938 kB / 368.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005226/0.406, allocations: 227.2 kB / 368.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4061, allocations: 89.81 kB / 368.5 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.102e-05/0.4062, allocations: 5.156 kB / 368.5 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.4064, allocations: 2.969 kB / 368.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/0.4065, allocations: 7.297 kB / 368.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.208e-05/0.4065, allocations: 3.438 kB / 368.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002505/0.4068, allocations: 140.4 kB / 368.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4068, allocations: 1.156 kB / 368.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000618/0.4074, allocations: 32.89 kB / 368.7 MB, free: 7.176 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.001792/0.4092, allocations: 404.3 kB / 369.1 MB, free: 6.922 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006735/0.41, allocations: 155.5 kB / 369.3 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.41, allocations: 4.062 kB / 369.3 MB, free: 6.805 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000167/0.4102, allocations: 25.75 kB / 369.3 MB, free: 6.797 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005017/0.4107, allocations: 21.22 kB / 369.3 MB, free: 6.785 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007921/0.4115, allocations: 241.1 kB / 369.6 MB, free: 6.582 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004214/0.412, allocations: 0.7054 MB / 370.3 MB, free: 5.871 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.4121, allocations: 17.45 kB / 370.3 MB, free: 5.863 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.598e-05/0.4122, allocations: 14.16 kB / 370.3 MB, free: 5.855 MB / 298.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4122, allocations: 0 / 370.3 MB, free: 5.855 MB / 298.7 MB Notification: Performance of Templates: time 0.01261/0.4249, allocations: 1.595 MB / 371.9 MB, free: 4.41 MB / 298.7 MB