Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 2.581/2.581, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.175e-05/4.189e-05, allocations: 4 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.3988, allocations: 54.86 MB / 362.9 MB, free: 12.17 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.002728/0.4016, allocations: 1.357 MB / 364.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001664/0.4033, allocations: 0.6558 MB / 364.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.923e-05/0.4035, allocations: 0 / 364.9 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.4037, allocations: 17.5 kB / 364.9 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001762/0.4039, allocations: 30.55 kB / 364.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001845/0.4041, allocations: 46.06 kB / 365 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.4043, allocations: 53.66 kB / 365 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.949e-05/0.4044, allocations: 10.05 kB / 365 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.4045, allocations: 29.67 kB / 365.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.4046, allocations: 22.89 kB / 365.1 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.4047, allocations: 26.59 kB / 365.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.4048, allocations: 3.438 kB / 365.1 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.4048, allocations: 27.17 kB / 365.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.4049, allocations: 4.219 kB / 365.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.4051, allocations: 81.59 kB / 365.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4051, allocations: 0 / 365.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4051, allocations: 0 / 365.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4051, allocations: 4 kB / 365.2 MB, free: 10.29 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.0006249/0.4058, allocations: 440.7 kB / 365.7 MB, free: 9.82 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.4058, allocations: 21.25 kB / 365.7 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.155e-05/0.4059, allocations: 9.344 kB / 365.7 MB, free: 9.805 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002988/0.4062, allocations: 211.9 kB / 365.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.4062, allocations: 1.531 kB / 365.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.4063, allocations: 3.75 kB / 365.9 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.4065, allocations: 58.3 kB / 366 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.4065, allocations: 4 kB / 366 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.4065, allocations: 1.188 kB / 366 MB, free: 9.52 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.4066, allocations: 5.016 kB / 366 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.4067, allocations: 22.64 kB / 366 MB, free: 9.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005067/0.4072, allocations: 289.5 kB / 366.3 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.4075, allocations: 57.78 kB / 366.3 MB, free: 9.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4075, allocations: 5.203 kB / 366.3 MB, free: 9.148 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/0.4077, allocations: 73.84 kB / 366.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.204e-06/0.4077, allocations: 0 / 366.4 MB, free: 9.078 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007904/0.4085, allocations: 175.6 kB / 366.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.4086, allocations: 56.8 kB / 366.6 MB, free: 8.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002378/0.4089, allocations: 171.6 kB / 366.8 MB, free: 8.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.4089, allocations: 26.95 kB / 366.8 MB, free: 8.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.675e-05/0.409, allocations: 104.1 kB / 366.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.841e-05/0.4091, allocations: 23.98 kB / 367 MB, free: 8.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.288e-05/0.4091, allocations: 5.062 kB / 367 MB, free: 8.625 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.4092, allocations: 326.3 kB / 367.3 MB, free: 8.301 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.4094, allocations: 31.55 kB / 367.3 MB, free: 8.285 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.4095, allocations: 46.31 kB / 367.4 MB, free: 8.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001596/0.4097, allocations: 73.03 kB / 367.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4097, allocations: 1.062 kB / 367.4 MB, free: 8.195 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004085/0.4101, allocations: 158.2 kB / 367.6 MB, free: 8.086 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.073e-05/0.4102, allocations: 37.47 kB / 367.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.4102, allocations: 1.281 kB / 367.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4102, allocations: 1.625 kB / 367.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.4104, allocations: 16.73 kB / 367.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.4104, allocations: 1.219 kB / 367.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.4105, allocations: 15.47 kB / 367.7 MB, free: 8.035 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.4106, allocations: 5.125 kB / 367.7 MB, free: 8.035 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.0001533/0.4107, allocations: 127 kB / 367.8 MB, free: 7.91 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/0.4108, allocations: 13.34 kB / 367.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.59e-05/0.4109, allocations: 17.23 kB / 367.8 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.954e-05/0.4109, allocations: 9.172 kB / 367.8 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.4109, allocations: 0 / 367.8 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.411, allocations: 96 / 367.8 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.4117, allocations: 395.1 kB / 368.2 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.904e-06/0.4117, allocations: 7.938 kB / 368.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.602e-05/0.4118, allocations: 7.969 kB / 368.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.4118, allocations: 1.031 kB / 368.2 MB, free: 7.492 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.969e-05/0.4118, allocations: 6.719 kB / 368.2 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4118, allocations: 0 / 368.2 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4118, allocations: 1.219 kB / 368.2 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.4122, allocations: 218.6 kB / 368.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.906e-05/0.4123, allocations: 93.38 kB / 368.5 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.4124, allocations: 6.391 kB / 368.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4125, allocations: 1.906 kB / 368.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.341e-05/0.4126, allocations: 4.344 kB / 368.6 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.4126, allocations: 10.98 kB / 368.6 MB, free: 7.176 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.4128, allocations: 132.7 kB / 368.7 MB, free: 7.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4128, allocations: 4 kB / 368.7 MB, free: 7.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003696/0.4132, allocations: 29.25 kB / 368.7 MB, free: 7.066 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.0013/0.4145, allocations: 413.8 kB / 369.1 MB, free: 6.801 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004993/0.415, allocations: 147.2 kB / 369.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.606e-06/0.415, allocations: 0 / 369.3 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.4152, allocations: 38.3 kB / 369.3 MB, free: 6.676 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.4155, allocations: 24.97 kB / 369.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006873/0.4162, allocations: 236.4 kB / 369.6 MB, free: 6.461 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.4166, allocations: 0.7064 MB / 370.3 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.689e-05/0.4167, allocations: 8.594 kB / 370.3 MB, free: 5.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.836e-05/0.4168, allocations: 17.86 kB / 370.3 MB, free: 5.738 MB / 298.7 MB Notification: Performance of SimCode: time 1.263e-06/0.4168, allocations: 0 / 370.3 MB, free: 5.738 MB / 298.7 MB Notification: Performance of Templates: time 0.006782/0.4236, allocations: 1.596 MB / 371.9 MB, free: 4.27 MB / 298.7 MB