Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 1.871/1.871, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.608e-05, allocations: 7.984 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08649/0.08654, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3438/0.4304, allocations: 75.64 MB / 397.4 MB, free: 7.117 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.4306, allocations: 66.06 kB / 397.5 MB, free: 7.117 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01924/0.4499, allocations: 5.423 MB / 402.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.201e-06/0.4499, allocations: 0 / 402.9 MB, free: 5.598 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.497e-05/0.45, allocations: 11.59 kB / 402.9 MB, free: 5.594 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.0006487/0.4507, allocations: 0.6445 MB / 403.5 MB, free: 5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.4507, allocations: 7.688 kB / 403.6 MB, free: 5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.909e-05/0.4508, allocations: 46.5 kB / 403.6 MB, free: 4.977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006739/0.4515, allocations: 450 kB / 404 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.857e-05/0.4515, allocations: 3.844 kB / 404 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.4516, allocations: 3.812 kB / 404 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.4517, allocations: 66.2 kB / 404.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.2e-06/0.4517, allocations: 0 / 404.1 MB, free: 4.641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.4518, allocations: 4 kB / 404.1 MB, free: 4.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-06/0.4518, allocations: 7.75 kB / 404.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.664e-05/0.4519, allocations: 19.3 kB / 404.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003705/0.4522, allocations: 383.5 kB / 404.5 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.4524, allocations: 52.88 kB / 404.6 MB, free: 4.309 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.093e-05/0.4524, allocations: 29.17 kB / 404.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.597e-05/0.4525, allocations: 3.875 kB / 404.6 MB, free: 4.285 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.4526, allocations: 85.5 kB / 404.7 MB, free: 4.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 3.194e-06/0.4527, allocations: 0 / 404.7 MB, free: 4.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003309/0.453, allocations: 130.8 kB / 404.8 MB, free: 4.145 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.453, allocations: 77.11 kB / 404.9 MB, free: 4.051 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.4545, allocations: 0.8864 MB / 405.8 MB, free: 3.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.4545, allocations: 29.64 kB / 405.8 MB, free: 3.809 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.4547, allocations: 253.9 kB / 406 MB, free: 3.656 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.4547, allocations: 15.3 kB / 406.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.4547, allocations: 3.906 kB / 406.1 MB, free: 3.645 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.4548, allocations: 322.7 kB / 406.4 MB, free: 3.324 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/0.4549, allocations: 38.89 kB / 406.4 MB, free: 3.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.455, allocations: 48.44 kB / 406.5 MB, free: 3.301 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.4552, allocations: 101.8 kB / 406.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.011e-06/0.4552, allocations: 0 / 406.6 MB, free: 3.227 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003521/0.4555, allocations: 188.5 kB / 406.8 MB, free: 3.121 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-05/0.4556, allocations: 66.77 kB / 406.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.323e-06/0.4556, allocations: 0 / 406.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4556, allocations: 0 / 406.8 MB, free: 3.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.581e-05/0.4557, allocations: 15.47 kB / 406.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.894e-06/0.4558, allocations: 0 / 406.8 MB, free: 3.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.4559, allocations: 19.48 kB / 406.9 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.456, allocations: 15.59 kB / 406.9 MB, free: 3.035 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.4561, allocations: 110.2 kB / 407 MB, free: 2.926 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/0.4562, allocations: 46.38 kB / 407 MB, free: 2.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003362/0.4565, allocations: 153 kB / 407.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.1e-06/0.4565, allocations: 4 kB / 407.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.064e-06/0.4565, allocations: 0 / 407.2 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.464e-06/0.4566, allocations: 3.984 kB / 407.2 MB, free: 2.832 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003519/0.4569, allocations: 365.7 kB / 407.5 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.981e-06/0.4569, allocations: 0 / 407.5 MB, free: 2.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.457, allocations: 15.47 kB / 407.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.457, allocations: 0 / 407.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.457, allocations: 3.812 kB / 407.6 MB, free: 2.551 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.457, allocations: 4 kB / 407.6 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.92e-06/0.4571, allocations: 3.984 kB / 407.6 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.4574, allocations: 181.9 kB / 407.7 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000231/0.4576, allocations: 189.6 kB / 407.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-05/0.4577, allocations: 7.688 kB / 407.9 MB, free: 2.285 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.4579, allocations: 7.859 kB / 407.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.4579, allocations: 3.969 kB / 407.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.4579, allocations: 7.766 kB / 407.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001034/0.459, allocations: 0.6972 MB / 408.6 MB, free: 18.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.99e-07/0.459, allocations: 0 / 408.6 MB, free: 18.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004544/0.4595, allocations: 96.05 kB / 408.7 MB, free: 18.11 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.001426/0.4609, allocations: 461.5 kB / 409.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003373/0.4613, allocations: 192.5 kB / 409.4 MB, free: 17.67 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.199e-06/0.4613, allocations: 4 kB / 409.4 MB, free: 17.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.4e-05/0.4614, allocations: 33.19 kB / 409.4 MB, free: 17.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.4618, allocations: 47.83 kB / 409.5 MB, free: 17.65 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.4631, allocations: 0.7576 MB / 410.2 MB, free: 17.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.4637, allocations: 0.8368 MB / 411.1 MB, free: 16.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.4639, allocations: 40.91 kB / 411.1 MB, free: 16.58 MB / 330.7 MB Notification: Performance of SimCode: time 1.466e-06/0.4639, allocations: 4 kB / 411.1 MB, free: 16.57 MB / 330.7 MB Notification: Performance of Templates: time 0.01005/0.474, allocations: 5.358 MB / 416.5 MB, free: 13.89 MB / 330.7 MB