Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.471/2.471, allocations: 234.9 MB / 250.1 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.506e-05/3.513e-05, allocations: 8 kB / 308 MB, free: 15.77 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3597/0.3598, allocations: 54.86 MB / 362.9 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002639/0.3625, allocations: 1.361 MB / 364.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.3641, allocations: 0.6526 MB / 364.9 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.183e-05/0.3642, allocations: 4 kB / 364.9 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002358/0.3645, allocations: 19.91 kB / 364.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001647/0.3647, allocations: 31.89 kB / 364.9 MB, free: 9.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.3649, allocations: 43.81 kB / 365 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.365, allocations: 55.88 kB / 365 MB, free: 9.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.3652, allocations: 7.984 kB / 365 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3653, allocations: 31.92 kB / 365.1 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.3654, allocations: 19.92 kB / 365.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.3655, allocations: 31.97 kB / 365.1 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.3655, allocations: 4 kB / 365.1 MB, free: 9.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.449e-05/0.3656, allocations: 19.92 kB / 365.1 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.3657, allocations: 7.938 kB / 365.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.3659, allocations: 73.72 kB / 365.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3659, allocations: 0 / 365.2 MB, free: 9.289 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3659, allocations: 4 kB / 365.2 MB, free: 9.285 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3659, allocations: 4 kB / 365.2 MB, free: 9.281 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.0006299/0.3666, allocations: 442.4 kB / 365.7 MB, free: 8.789 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3666, allocations: 15.91 kB / 365.7 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.3667, allocations: 11.91 kB / 365.7 MB, free: 8.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.367, allocations: 206.7 kB / 365.9 MB, free: 8.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.3671, allocations: 4 kB / 365.9 MB, free: 8.516 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.3671, allocations: 4 kB / 365.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.3673, allocations: 57.67 kB / 366 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3673, allocations: 0 / 366 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.3674, allocations: 0 / 366 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3674, allocations: 7.891 kB / 366 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.3675, allocations: 19.98 kB / 366 MB, free: 8.422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004627/0.368, allocations: 292.9 kB / 366.3 MB, free: 8.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.3683, allocations: 62.67 kB / 366.3 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.3683, allocations: 0 / 366.3 MB, free: 8.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002221/0.3685, allocations: 75.41 kB / 366.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.3685, allocations: 0 / 366.4 MB, free: 7.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008153/0.3694, allocations: 185.1 kB / 366.6 MB, free: 7.742 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.3694, allocations: 55.34 kB / 366.6 MB, free: 7.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002301/0.3697, allocations: 165.3 kB / 366.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.552e-05/0.3697, allocations: 33.7 kB / 366.8 MB, free: 7.469 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.3698, allocations: 162.5 kB / 367 MB, free: 7.309 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.085e-05/0.3699, allocations: 27.64 kB / 367 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.696e-06/0.3699, allocations: 0 / 367 MB, free: 7.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.3701, allocations: 318.8 kB / 367.3 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.3702, allocations: 27.98 kB / 367.4 MB, free: 6.934 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.3704, allocations: 41.7 kB / 367.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3705, allocations: 69.69 kB / 367.5 MB, free: 6.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3705, allocations: 0 / 367.5 MB, free: 6.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004358/0.371, allocations: 155.3 kB / 367.6 MB, free: 6.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.3711, allocations: 41.64 kB / 367.7 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.3711, allocations: 4 kB / 367.7 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3711, allocations: 0 / 367.7 MB, free: 6.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001495/0.3713, allocations: 12 kB / 367.7 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3713, allocations: 0 / 367.7 MB, free: 6.586 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3714, allocations: 8.406 kB / 367.7 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.3715, allocations: 11.98 kB / 367.7 MB, free: 6.566 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.0001581/0.3716, allocations: 129.3 kB / 367.8 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.16e-05/0.3717, allocations: 11.81 kB / 367.8 MB, free: 6.422 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.3717, allocations: 24.66 kB / 367.9 MB, free: 6.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3718, allocations: 4 kB / 367.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3718, allocations: 0 / 367.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3718, allocations: 0 / 367.9 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006663/0.3725, allocations: 399.3 kB / 368.2 MB, free: 5.945 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.3725, allocations: 7.938 kB / 368.3 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.837e-05/0.3726, allocations: 8 kB / 368.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3726, allocations: 0 / 368.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.3726, allocations: 0 / 368.3 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.3726, allocations: 4 kB / 368.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3726, allocations: 0 / 368.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.373, allocations: 226.1 kB / 368.5 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.3731, allocations: 93 kB / 368.6 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.528e-05/0.3732, allocations: 4 kB / 368.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3733, allocations: 4 kB / 368.6 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.3733, allocations: 7.984 kB / 368.6 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.3734, allocations: 4 kB / 368.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001636/0.3735, allocations: 139.2 kB / 368.7 MB, free: 5.414 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3735, allocations: 4 kB / 368.7 MB, free: 5.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003583/0.3739, allocations: 35.98 kB / 368.8 MB, free: 5.375 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.001189/0.3751, allocations: 392.9 kB / 369.2 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004047/0.3755, allocations: 147.3 kB / 369.3 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3755, allocations: 0 / 369.3 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.3757, allocations: 43.97 kB / 369.3 MB, free: 4.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.376, allocations: 19.94 kB / 369.4 MB, free: 4.844 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006414/0.3767, allocations: 267.7 kB / 369.6 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003817/0.3771, allocations: 0.7043 MB / 370.3 MB, free: 3.816 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.3771, allocations: 15.44 kB / 370.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of SimCode: time 1.693e-06/0.3772, allocations: 0 / 370.3 MB, free: 3.801 MB / 298.7 MB Notification: Performance of Templates: time 0.005432/0.3826, allocations: 1.882 MB / 372.2 MB, free: 1.922 MB / 298.7 MB