Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,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.Test44") Notification: Performance of loadModel(ModelicaTest): time 2.53/2.53, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.489e-05/3.487e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4046, allocations: 54.85 MB / 362.9 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002601/0.4073, allocations: 1.358 MB / 364.2 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001568/0.4089, allocations: 0.6502 MB / 364.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.989e-05/0.409, allocations: 1.188 kB / 364.9 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.4092, allocations: 25.42 kB / 364.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001637/0.4094, allocations: 38.69 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.4096, allocations: 41.95 kB / 365 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001475/0.4098, allocations: 53.44 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.044e-05/0.4099, allocations: 2.5 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001192/0.41, allocations: 33.94 kB / 365.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.986e-05/0.4101, allocations: 22.86 kB / 365.1 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.4102, allocations: 31.89 kB / 365.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.4103, allocations: 3.375 kB / 365.1 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.4103, allocations: 23.55 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.4104, allocations: 4.812 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.4106, allocations: 84.75 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4106, allocations: 3.938 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4106, allocations: 1.562 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.4106, allocations: 0 / 365.2 MB, free: 10.25 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.0006171/0.4113, allocations: 446 kB / 365.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4113, allocations: 12.12 kB / 365.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.4114, allocations: 9.219 kB / 365.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.4118, allocations: 209.2 kB / 365.9 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.4118, allocations: 6.703 kB / 365.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.356e-05/0.4118, allocations: 2.75 kB / 365.9 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.412, allocations: 58.39 kB / 366 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4121, allocations: 0 / 366 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.4121, allocations: 1.594 kB / 366 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.4121, allocations: 3.953 kB / 366 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.4122, allocations: 23.48 kB / 366 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.4127, allocations: 293.6 kB / 366.3 MB, free: 9.156 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.413, allocations: 54.34 kB / 366.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.413, allocations: 1.094 kB / 366.3 MB, free: 9.117 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.4132, allocations: 77.92 kB / 366.4 MB, free: 9.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 4.278e-06/0.4132, allocations: 0 / 366.4 MB, free: 9.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007676/0.414, allocations: 176.8 kB / 366.6 MB, free: 8.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.4141, allocations: 52.56 kB / 366.6 MB, free: 8.879 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.4143, allocations: 186.4 kB / 366.8 MB, free: 8.742 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.4144, allocations: 31.86 kB / 366.8 MB, free: 8.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.4145, allocations: 164.7 kB / 367 MB, free: 8.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.246e-05/0.4146, allocations: 32.16 kB / 367 MB, free: 8.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.4146, allocations: 1.094 kB / 367 MB, free: 8.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4147, allocations: 316 kB / 367.3 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4149, allocations: 31.89 kB / 367.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.415, allocations: 55.73 kB / 367.4 MB, free: 8.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.4152, allocations: 61.2 kB / 367.5 MB, free: 8.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4152, allocations: 0 / 367.5 MB, free: 8.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003889/0.4156, allocations: 155.8 kB / 367.6 MB, free: 7.992 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.179e-05/0.4157, allocations: 41.23 kB / 367.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.4157, allocations: 1.281 kB / 367.7 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4157, allocations: 9.344 kB / 367.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4159, allocations: 12.78 kB / 367.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.4159, allocations: 1.125 kB / 367.7 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.933e-05/0.416, allocations: 7.766 kB / 367.7 MB, free: 7.941 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.416, allocations: 7.719 kB / 367.7 MB, free: 7.938 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.0001428/0.4162, allocations: 129.7 kB / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.148e-05/0.4162, allocations: 12.17 kB / 367.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.4163, allocations: 22.95 kB / 367.9 MB, free: 7.785 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.4163, allocations: 8.781 kB / 367.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4163, allocations: 0 / 367.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4163, allocations: 1.25 kB / 367.9 MB, free: 7.777 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006249/0.417, allocations: 391.4 kB / 368.3 MB, free: 7.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.417, allocations: 3.953 kB / 368.3 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.836e-05/0.4171, allocations: 8.719 kB / 368.3 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.4171, allocations: 0 / 368.3 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.4171, allocations: 10.64 kB / 368.3 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.4171, allocations: 4.031 kB / 368.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.4171, allocations: 1.156 kB / 368.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.4175, allocations: 222.8 kB / 368.5 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.263e-05/0.4176, allocations: 94.38 kB / 368.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.4176, allocations: 1.094 kB / 368.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.4178, allocations: 6.906 kB / 368.6 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.4178, allocations: 7.359 kB / 368.6 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.4178, allocations: 7.062 kB / 368.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001999/0.4181, allocations: 144 kB / 368.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4181, allocations: 0 / 368.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00037/0.4184, allocations: 28.97 kB / 368.8 MB, free: 6.957 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.001208/0.4197, allocations: 406.5 kB / 369.2 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004874/0.4202, allocations: 150.7 kB / 369.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4202, allocations: 0 / 369.3 MB, free: 6.594 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.4203, allocations: 33.92 kB / 369.4 MB, free: 6.578 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.4207, allocations: 22.34 kB / 369.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.4214, allocations: 273 kB / 369.7 MB, free: 6.336 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.4218, allocations: 0.7073 MB / 370.4 MB, free: 5.625 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.876e-05/0.4218, allocations: 18.55 kB / 370.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4218, allocations: 0 / 370.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of Templates: time 0.005419/0.4273, allocations: 1.9 MB / 372.3 MB, free: 4.059 MB / 298.7 MB