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.817/1.817, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-05/6.931e-05, allocations: 11.98 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3882/0.4887, allocations: 75.64 MB / 397.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000195/0.4889, allocations: 72.53 kB / 397.5 MB, free: 7.094 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01865/0.5076, allocations: 5.466 MB / 402.9 MB, free: 5.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.227e-06/0.5076, allocations: 0 / 402.9 MB, free: 5.547 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.024e-05/0.5077, allocations: 15.62 kB / 403 MB, free: 5.539 MB / 314.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.0006144/0.5083, allocations: 0.6481 MB / 403.6 MB, free: 4.945 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.5084, allocations: 11.59 kB / 403.6 MB, free: 4.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.5085, allocations: 44.03 kB / 403.7 MB, free: 4.922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007023/0.5092, allocations: 451 kB / 404.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.5092, allocations: 3.844 kB / 404.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.5092, allocations: 3.719 kB / 404.1 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.5094, allocations: 70.75 kB / 404.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.032e-06/0.5094, allocations: 0 / 404.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.5094, allocations: 0 / 404.2 MB, free: 4.586 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-06/0.5094, allocations: 7.625 kB / 404.2 MB, free: 4.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.936e-05/0.5095, allocations: 22.86 kB / 404.2 MB, free: 4.574 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003693/0.5099, allocations: 383.3 kB / 404.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.904e-05/0.51, allocations: 56.92 kB / 404.6 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.5101, allocations: 25.33 kB / 404.7 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.5101, allocations: 11.55 kB / 404.7 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001451/0.5103, allocations: 83.89 kB / 404.7 MB, free: 4.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.339e-06/0.5103, allocations: 4 kB / 404.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003008/0.5106, allocations: 134.4 kB / 404.9 MB, free: 4.078 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.5106, allocations: 77.11 kB / 405 MB, free: 3.984 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/0.5121, allocations: 0.91 MB / 405.9 MB, free: 3.773 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.5122, allocations: 33.48 kB / 405.9 MB, free: 3.742 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.5123, allocations: 250 kB / 406.1 MB, free: 3.59 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.5124, allocations: 19.03 kB / 406.2 MB, free: 3.582 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.5124, allocations: 0 / 406.2 MB, free: 3.582 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.103e-05/0.5125, allocations: 330.3 kB / 406.5 MB, free: 3.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.493e-05/0.5126, allocations: 34.28 kB / 406.5 MB, free: 3.254 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.747e-05/0.5127, allocations: 52.08 kB / 406.6 MB, free: 3.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001217/0.5128, allocations: 97.97 kB / 406.7 MB, free: 3.164 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.913e-06/0.5128, allocations: 3.984 kB / 406.7 MB, free: 3.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003376/0.5132, allocations: 188.8 kB / 406.9 MB, free: 3.055 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.5132, allocations: 63.02 kB / 406.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5132, allocations: 128 / 406.9 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.5133, allocations: 4 kB / 406.9 MB, free: 2.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.822e-05/0.5134, allocations: 19.11 kB / 406.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.051e-06/0.5134, allocations: 0 / 406.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.5135, allocations: 19.25 kB / 407 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.5136, allocations: 7.812 kB / 407 MB, free: 2.969 MB / 314.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 6.459e-05/0.5136, allocations: 118.2 kB / 407.1 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/0.5137, allocations: 46.5 kB / 407.1 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003046/0.5141, allocations: 144.4 kB / 407.3 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.231e-06/0.5141, allocations: 3.875 kB / 407.3 MB, free: 2.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.343e-06/0.5141, allocations: 7.984 kB / 407.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.298e-06/0.5141, allocations: 0 / 407.3 MB, free: 2.762 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003252/0.5145, allocations: 375 kB / 407.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.249e-06/0.5145, allocations: 3.844 kB / 407.6 MB, free: 2.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.489e-05/0.5145, allocations: 7.781 kB / 407.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.017e-06/0.5146, allocations: 3.844 kB / 407.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.5146, allocations: 0 / 407.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.824e-06/0.5146, allocations: 0 / 407.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-06/0.5146, allocations: 0 / 407.7 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002921/0.5149, allocations: 188.2 kB / 407.8 MB, free: 2.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003126/0.5152, allocations: 183.6 kB / 408 MB, free: 18.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.686e-05/0.5153, allocations: 11.77 kB / 408 MB, free: 18.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.5155, allocations: 3.844 kB / 408 MB, free: 18.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.5155, allocations: 11.16 kB / 408 MB, free: 18.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.5155, allocations: 7.828 kB / 408.1 MB, free: 18.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000998/0.5166, allocations: 0.7234 MB / 408.8 MB, free: 18.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.16e-07/0.5166, allocations: 0 / 408.8 MB, free: 18.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004249/0.517, allocations: 96.44 kB / 408.9 MB, free: 18.04 MB / 330.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 (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.001365/0.5184, allocations: 459.1 kB / 409.3 MB, free: 17.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00031/0.5187, allocations: 202.2 kB / 409.5 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.824e-06/0.5187, allocations: 0 / 409.5 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.203e-05/0.5188, allocations: 22.66 kB / 409.5 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.5192, allocations: 51.19 kB / 409.6 MB, free: 17.58 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.5205, allocations: 0.7849 MB / 410.4 MB, free: 17.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.521, allocations: 0.8484 MB / 411.2 MB, free: 16.5 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.5212, allocations: 37.22 kB / 411.3 MB, free: 16.49 MB / 330.7 MB Notification: Performance of SimCode: time 1.466e-06/0.5212, allocations: 0 / 411.3 MB, free: 16.49 MB / 330.7 MB Notification: Performance of Templates: time 0.009633/0.5308, allocations: 5.482 MB / 416.7 MB, free: 13.75 MB / 330.7 MB