Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 1.862/1.862, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.306e-05, allocations: 4 kB / 273.1 MB, free: 3.645 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0859/0.08595, allocations: 48.7 MB / 321.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3392/0.4252, allocations: 75.61 MB / 397.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.4255, allocations: 67.22 kB / 397.4 MB, free: 7.031 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.4397, allocations: 3.825 MB / 401.3 MB, free: 6.125 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.26e-06/0.4397, allocations: 0 / 401.3 MB, free: 6.125 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.4398, allocations: 3.844 kB / 401.3 MB, free: 6.125 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003528/0.4401, allocations: 398.6 kB / 401.7 MB, free: 5.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.4402, allocations: 15.62 kB / 401.7 MB, free: 5.711 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.32e-05/0.4402, allocations: 19.86 kB / 401.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.4404, allocations: 190.2 kB / 401.9 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4405, allocations: 0 / 401.9 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.4405, allocations: 15.69 kB / 401.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.274e-05/0.4406, allocations: 37.38 kB / 401.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-06/0.4406, allocations: 0 / 401.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4406, allocations: 0 / 401.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.094e-06/0.4407, allocations: 0 / 401.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.93e-05/0.4407, allocations: 11.38 kB / 401.9 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001611/0.4409, allocations: 184.7 kB / 402.1 MB, free: 5.234 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.441, allocations: 34.12 kB / 402.2 MB, free: 5.203 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.115e-05/0.441, allocations: 8.828 kB / 402.2 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.441, allocations: 3.875 kB / 402.2 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001177/0.4412, allocations: 58.92 kB / 402.2 MB, free: 5.137 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.941e-06/0.4412, allocations: 3.938 kB / 402.2 MB, free: 5.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001902/0.4414, allocations: 60.88 kB / 402.3 MB, free: 5.094 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.466e-05/0.4414, allocations: 55.34 kB / 402.3 MB, free: 5.027 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.4416, allocations: 161.8 kB / 402.5 MB, free: 4.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.4416, allocations: 25.7 kB / 402.5 MB, free: 4.891 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.4417, allocations: 158.4 kB / 402.7 MB, free: 4.742 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.4417, allocations: 11.67 kB / 402.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.117e-06/0.4418, allocations: 3.844 kB / 402.7 MB, free: 4.738 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.187e-05/0.4418, allocations: 319.2 kB / 403 MB, free: 4.418 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.235e-05/0.4419, allocations: 22.97 kB / 403 MB, free: 4.414 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.4419, allocations: 11.62 kB / 403 MB, free: 4.414 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.844e-05/0.442, allocations: 52.72 kB / 403.1 MB, free: 4.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-06/0.442, allocations: 0 / 403.1 MB, free: 4.379 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001866/0.4422, allocations: 105.7 kB / 403.2 MB, free: 4.309 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.185e-05/0.4423, allocations: 33.39 kB / 403.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.197e-06/0.4423, allocations: 0 / 403.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4423, allocations: 0 / 403.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.096e-05/0.4424, allocations: 7.781 kB / 403.2 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.105e-06/0.4424, allocations: 3.938 kB / 403.2 MB, free: 4.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.4425, allocations: 11.78 kB / 403.2 MB, free: 4.262 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4425, allocations: 11.64 kB / 403.3 MB, free: 4.258 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 5.464e-05/0.4426, allocations: 108.8 kB / 403.4 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.4426, allocations: 7.875 kB / 403.4 MB, free: 4.145 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001654/0.4428, allocations: 68.42 kB / 403.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.905e-06/0.4428, allocations: 0 / 403.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.203e-06/0.4428, allocations: 0 / 403.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4428, allocations: 0 / 403.4 MB, free: 4.102 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.443, allocations: 184.6 kB / 403.6 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.273e-06/0.443, allocations: 7.844 kB / 403.6 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/0.443, allocations: 0 / 403.6 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.311e-06/0.443, allocations: 3.844 kB / 403.6 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.853e-06/0.443, allocations: 0 / 403.6 MB, free: 3.891 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-06/0.4431, allocations: 3.938 kB / 403.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.687e-06/0.4431, allocations: 0 / 403.6 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.4432, allocations: 91.97 kB / 403.7 MB, free: 3.809 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.4433, allocations: 92.7 kB / 403.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.4433, allocations: 11.83 kB / 403.8 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.912e-05/0.4434, allocations: 4.062 kB / 403.8 MB, free: 3.695 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.4434, allocations: 7.844 kB / 403.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.863e-06/0.4434, allocations: 0 / 403.8 MB, free: 3.691 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.4435, allocations: 133.1 kB / 404 MB, free: 3.609 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.07e-07/0.4436, allocations: 0 / 404 MB, free: 3.609 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003086/0.4439, allocations: 27.16 kB / 404 MB, free: 3.605 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009038/0.4448, allocations: 299.8 kB / 404.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003114/0.4451, allocations: 99.27 kB / 404.4 MB, free: 19.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.488e-06/0.4451, allocations: 0 / 404.4 MB, free: 19.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.51e-05/0.4452, allocations: 11 kB / 404.4 MB, free: 19.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.4454, allocations: 20.98 kB / 404.4 MB, free: 19.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003289/0.4458, allocations: 160.1 kB / 404.6 MB, free: 19.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.4462, allocations: 0.7 MB / 405.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.4462, allocations: 11.28 kB / 405.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.865e-06/0.4462, allocations: 0 / 405.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of Templates: time 0.00338/0.4496, allocations: 1.51 MB / 406.8 MB, free: 17.71 MB / 330.7 MB