Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.565/2.565, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.719e-05/4.711e-05, allocations: 8 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4562, allocations: 54.85 MB / 362.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002619/0.4589, allocations: 1.359 MB / 364.2 MB, free: 11.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.4606, allocations: 0.6555 MB / 364.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.4607, allocations: 1.312 kB / 364.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000246/0.461, allocations: 20.81 kB / 364.9 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.4612, allocations: 26.7 kB / 364.9 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002248/0.4614, allocations: 51.12 kB / 365 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001584/0.4616, allocations: 52.41 kB / 365 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.463e-05/0.4617, allocations: 10.77 kB / 365 MB, free: 10.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.4618, allocations: 34 kB / 365.1 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.875e-05/0.4619, allocations: 18.77 kB / 365.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001421/0.4621, allocations: 23.03 kB / 365.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.742e-05/0.4621, allocations: 4.25 kB / 365.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.419e-05/0.4622, allocations: 27.41 kB / 365.2 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.4623, allocations: 8.969 kB / 365.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.4625, allocations: 85.27 kB / 365.2 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.4625, allocations: 4 kB / 365.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4625, allocations: 0 / 365.3 MB, free: 10.44 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.4626, allocations: 0.9375 kB / 365.3 MB, free: 10.44 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.0006826/0.4632, allocations: 441.2 kB / 365.7 MB, free: 9.969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/0.4633, allocations: 13.78 kB / 365.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.993e-05/0.4634, allocations: 13.12 kB / 365.7 MB, free: 9.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.4637, allocations: 196.8 kB / 365.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.4638, allocations: 2.188 kB / 365.9 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.4638, allocations: 7.344 kB / 365.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.464, allocations: 58.83 kB / 366 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4641, allocations: 0 / 366 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.79e-05/0.4641, allocations: 0 / 366 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.4641, allocations: 9.266 kB / 366 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4643, allocations: 23.12 kB / 366 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.4648, allocations: 298 kB / 366.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.4651, allocations: 62.64 kB / 366.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4651, allocations: 1.188 kB / 366.4 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.4653, allocations: 76.41 kB / 366.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.4654, allocations: 0 / 366.4 MB, free: 9.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008266/0.4662, allocations: 169.4 kB / 366.6 MB, free: 9.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.4663, allocations: 60.12 kB / 366.7 MB, free: 9.062 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.4666, allocations: 183.5 kB / 366.8 MB, free: 8.93 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4666, allocations: 26.8 kB / 366.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.669e-05/0.4667, allocations: 105.6 kB / 367 MB, free: 8.797 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.534e-05/0.4668, allocations: 27.02 kB / 367 MB, free: 8.773 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/0.4668, allocations: 1.156 kB / 367 MB, free: 8.773 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.4669, allocations: 331.6 kB / 367.3 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.4671, allocations: 27.08 kB / 367.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.4672, allocations: 48.02 kB / 367.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.4674, allocations: 68.67 kB / 367.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4674, allocations: 5.016 kB / 367.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000427/0.4679, allocations: 155.5 kB / 367.6 MB, free: 8.234 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.977e-05/0.4679, allocations: 40.56 kB / 367.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.468, allocations: 0 / 367.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.468, allocations: 1.531 kB / 367.6 MB, free: 8.195 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.4682, allocations: 17.61 kB / 367.7 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4682, allocations: 4.031 kB / 367.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.46e-05/0.4683, allocations: 4.062 kB / 367.7 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.4683, allocations: 8.906 kB / 367.7 MB, free: 8.184 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.0001577/0.4685, allocations: 132.2 kB / 367.8 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.141e-05/0.4685, allocations: 13.47 kB / 367.8 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.825e-05/0.4686, allocations: 17.92 kB / 367.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.4686, allocations: 1.062 kB / 367.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4686, allocations: 5.547 kB / 367.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.4687, allocations: 0 / 367.8 MB, free: 8.027 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006793/0.4694, allocations: 399.3 kB / 368.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.4694, allocations: 7.953 kB / 368.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.4694, allocations: 7.844 kB / 368.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.4695, allocations: 1 kB / 368.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4695, allocations: 2.719 kB / 368.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.4695, allocations: 1.25 kB / 368.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4695, allocations: 0 / 368.3 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.4699, allocations: 235.8 kB / 368.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.47, allocations: 89.12 kB / 368.6 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.99e-05/0.47, allocations: 10.08 kB / 368.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.4702, allocations: 2.062 kB / 368.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.4702, allocations: 3.219 kB / 368.6 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.4702, allocations: 8.422 kB / 368.6 MB, free: 7.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001886/0.4705, allocations: 147 kB / 368.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4705, allocations: 0 / 368.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.4708, allocations: 29.52 kB / 368.8 MB, free: 7.195 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.001177/0.472, allocations: 402.5 kB / 369.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004486/0.4725, allocations: 151.4 kB / 369.3 MB, free: 6.836 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.4725, allocations: 4.062 kB / 369.3 MB, free: 6.832 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.4727, allocations: 34.02 kB / 369.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.473, allocations: 21.34 kB / 369.4 MB, free: 6.805 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006808/0.4737, allocations: 246.7 kB / 369.6 MB, free: 6.605 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.4742, allocations: 0.7111 MB / 370.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001105/0.4743, allocations: 7.781 kB / 370.3 MB, free: 5.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.4744, allocations: 14.03 kB / 370.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4744, allocations: 1 kB / 370.3 MB, free: 5.883 MB / 298.7 MB Notification: Performance of Templates: time 0.007127/0.4815, allocations: 1.61 MB / 372 MB, free: 4.352 MB / 298.7 MB