Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 1.996/1.996, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.157e-05/4.173e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4005/0.4006, allocations: 48.7 MB / 324.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002509/0.4031, allocations: 1.354 MB / 326.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001541/0.4047, allocations: 0.6401 MB / 326.8 MB, free: 1.988 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001243/0.4049, allocations: 3.938 kB / 326.8 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000644/0.4056, allocations: 278.9 kB / 327.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.406, allocations: 165.7 kB / 327.3 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005047/0.4066, allocations: 88.23 kB / 327.4 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.4069, allocations: 91.95 kB / 327.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.797e-05/0.4069, allocations: 2.312 kB / 327.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.4071, allocations: 71.12 kB / 327.5 MB, free: 1.867 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.4074, allocations: 126 kB / 327.7 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003105/0.4077, allocations: 56.52 kB / 327.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.181e-05/0.4078, allocations: 7.391 kB / 327.7 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001915/0.408, allocations: 135.2 kB / 327.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.4081, allocations: 12.62 kB / 327.9 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006313/0.4087, allocations: 283.4 kB / 328.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4087, allocations: 0 / 328.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.4088, allocations: 0.9688 kB / 328.1 MB, free: 1.758 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.522e-05/0.4088, allocations: 0 / 328.1 MB, free: 1.758 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008016/0.4096, allocations: 0.618 MB / 328.8 MB, free: 1.195 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.4096, allocations: 8.875 kB / 328.8 MB, free: 1.195 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.4098, allocations: 44.83 kB / 328.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007447/0.4106, allocations: 402 kB / 329.2 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.4106, allocations: 6.078 kB / 329.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.715e-05/0.4106, allocations: 3.891 kB / 329.2 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.4108, allocations: 59.3 kB / 329.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.4108, allocations: 1.219 kB / 329.3 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4108, allocations: 4 kB / 329.3 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.4109, allocations: 5.844 kB / 329.3 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.435e-05/0.411, allocations: 20.19 kB / 329.3 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005304/0.4115, allocations: 370.5 kB / 329.7 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.4116, allocations: 54.64 kB / 329.7 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.4117, allocations: 5.188 kB / 329.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.4119, allocations: 88.23 kB / 329.8 MB, free: 440 kB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.635e-06/0.4119, allocations: 0.9688 kB / 329.8 MB, free: 440 kB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004595/0.4124, allocations: 140.2 kB / 329.9 MB, free: 364 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.4124, allocations: 78.83 kB / 330 MB, free: 268 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001879/0.4143, allocations: 0.9426 MB / 331 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.753e-05/0.4144, allocations: 32.45 kB / 331 MB, free: 15.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/0.4147, allocations: 255.2 kB / 331.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.764e-05/0.4148, allocations: 10.7 kB / 331.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.328e-05/0.4148, allocations: 5.375 kB / 331.3 MB, free: 15.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.415, allocations: 313.9 kB / 331.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.4151, allocations: 33.97 kB / 331.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001162/0.4152, allocations: 47.97 kB / 331.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.4154, allocations: 91.28 kB / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.4154, allocations: 4 kB / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004202/0.4158, allocations: 176.1 kB / 331.9 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.485e-05/0.4159, allocations: 70.16 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.4159, allocations: 0 / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.416, allocations: 1.375 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.4161, allocations: 15.02 kB / 332 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.4161, allocations: 2.406 kB / 332 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002848/0.4164, allocations: 14.59 kB / 332 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.009e-05/0.4165, allocations: 9.5 kB / 332 MB, free: 15.02 MB / 282.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0004384/0.4169, allocations: 222.6 kB / 332.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.4171, allocations: 46.64 kB / 332.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.4172, allocations: 55.69 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4172, allocations: 1.375 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.4172, allocations: 2.453 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4173, allocations: 0 / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004814/0.4177, allocations: 318 kB / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4178, allocations: 0 / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.001e-05/0.4179, allocations: 6.016 kB / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.016e-06/0.4179, allocations: 0.7031 kB / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4179, allocations: 11.2 kB / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.4179, allocations: 4.453 kB / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.418, allocations: 1.438 kB / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004359/0.4184, allocations: 160.3 kB / 332.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002173/0.4186, allocations: 137.9 kB / 333 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.4187, allocations: 7.344 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4189, allocations: 6.906 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.419, allocations: 7.062 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.776e-05/0.419, allocations: 3.422 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001538/0.4205, allocations: 0.7471 MB / 333.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4206, allocations: 0 / 333.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006123/0.4212, allocations: 61.61 kB / 333.8 MB, free: 14.05 MB / 282.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001413/0.4226, allocations: 450.9 kB / 334.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.4232, allocations: 180 kB / 334.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.4232, allocations: 0 / 334.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.737e-05/0.4233, allocations: 23.33 kB / 334.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006126/0.4239, allocations: 43.59 kB / 334.5 MB, free: 13.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002214/0.4262, allocations: 0.8939 MB / 335.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007041/0.4269, allocations: 0.8392 MB / 336.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001778/0.4271, allocations: 24.36 kB / 336.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.442e-06/0.4271, allocations: 0 / 336.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of Templates: time 0.01509/0.4422, allocations: 4.826 MB / 341.1 MB, free: 10.87 MB / 282.7 MB