Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 2.654/2.654, allocations: 234.9 MB / 250.1 MB, free: 9.949 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.557e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4201, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.00267/0.4228, allocations: 1.354 MB / 364.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00164/0.4245, allocations: 0.6505 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.4247, allocations: 0.9375 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.425, allocations: 20.89 kB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001789/0.4252, allocations: 26.2 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.4254, allocations: 50.69 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.4256, allocations: 44.83 kB / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.765e-05/0.4257, allocations: 10.39 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001062/0.4258, allocations: 38.34 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.988e-05/0.4259, allocations: 21.58 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.426, allocations: 27.5 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/0.426, allocations: 3.062 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.4261, allocations: 23.38 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.957e-05/0.4262, allocations: 4.125 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.4264, allocations: 84.86 kB / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.4264, allocations: 0 / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4264, allocations: 0 / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.4264, allocations: 0 / 365.2 MB, free: 10.19 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.0006366/0.4271, allocations: 445.3 kB / 365.6 MB, free: 9.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.4271, allocations: 17.72 kB / 365.7 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.4272, allocations: 11.78 kB / 365.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.4275, allocations: 208 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.379e-05/0.4276, allocations: 3.125 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.347e-05/0.4276, allocations: 2.594 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/0.4279, allocations: 67.05 kB / 366 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.4279, allocations: 0 / 366 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.4279, allocations: 4 kB / 366 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.4279, allocations: 5.141 kB / 366 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.4281, allocations: 23.39 kB / 366 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.4285, allocations: 285.5 kB / 366.3 MB, free: 9.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002471/0.4288, allocations: 57.72 kB / 366.3 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.974e-05/0.4289, allocations: 9.047 kB / 366.3 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.4291, allocations: 69.66 kB / 366.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.4291, allocations: 0 / 366.4 MB, free: 8.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007788/0.4299, allocations: 176.2 kB / 366.6 MB, free: 8.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.43, allocations: 56.73 kB / 366.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002302/0.4302, allocations: 166.1 kB / 366.8 MB, free: 8.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.4302, allocations: 32.23 kB / 366.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4304, allocations: 164 kB / 367 MB, free: 8.488 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.4304, allocations: 31.66 kB / 367 MB, free: 8.461 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-06/0.4304, allocations: 1.406 kB / 367 MB, free: 8.461 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.4306, allocations: 316.2 kB / 367.3 MB, free: 8.145 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.4307, allocations: 28.36 kB / 367.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.4309, allocations: 54.09 kB / 367.4 MB, free: 8.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001584/0.431, allocations: 65.59 kB / 367.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.4311, allocations: 1.344 kB / 367.5 MB, free: 8.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004152/0.4315, allocations: 155.8 kB / 367.6 MB, free: 7.934 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/0.4316, allocations: 37.75 kB / 367.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.4316, allocations: 0 / 367.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.4316, allocations: 5.328 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.4318, allocations: 12.72 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.4318, allocations: 1.375 kB / 367.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.804e-05/0.4319, allocations: 8.281 kB / 367.7 MB, free: 7.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.4319, allocations: 11.23 kB / 367.7 MB, free: 7.883 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.0001443/0.4321, allocations: 123.8 kB / 367.8 MB, free: 7.762 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.936e-05/0.4321, allocations: 12.69 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.358e-05/0.4322, allocations: 21.59 kB / 367.8 MB, free: 7.738 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.4322, allocations: 5.062 kB / 367.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4322, allocations: 0 / 367.8 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.4322, allocations: 1.312 kB / 367.9 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.4329, allocations: 398.7 kB / 368.2 MB, free: 7.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.433, allocations: 3.953 kB / 368.2 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.234e-05/0.433, allocations: 12.16 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.433, allocations: 1.344 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.4331, allocations: 1.406 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.4331, allocations: 5.062 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.4331, allocations: 0.8438 kB / 368.3 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.4335, allocations: 222.1 kB / 368.5 MB, free: 7.137 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.931e-05/0.4336, allocations: 93.98 kB / 368.6 MB, free: 7.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.531e-05/0.4336, allocations: 5.875 kB / 368.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.4337, allocations: 2.156 kB / 368.6 MB, free: 7.027 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.844e-05/0.4338, allocations: 11.67 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/0.4338, allocations: 3.156 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001665/0.434, allocations: 137.2 kB / 368.7 MB, free: 6.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.434, allocations: 4 kB / 368.7 MB, free: 6.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003613/0.4344, allocations: 37.11 kB / 368.8 MB, free: 6.898 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.001273/0.4357, allocations: 393.5 kB / 369.2 MB, free: 6.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004671/0.4362, allocations: 150.7 kB / 369.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4362, allocations: 0 / 369.3 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.4363, allocations: 26.23 kB / 369.3 MB, free: 6.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.4367, allocations: 29.41 kB / 369.4 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006703/0.4374, allocations: 267.9 kB / 369.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.4377, allocations: 0.7098 MB / 370.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.4378, allocations: 13.72 kB / 370.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of SimCode: time 1.452e-06/0.4378, allocations: 1.281 kB / 370.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of Templates: time 0.00545/0.4433, allocations: 1.887 MB / 372.2 MB, free: 4.137 MB / 298.7 MB