Notification: Performance of FrontEnd - loaded program: time 1.914e-05/1.931e-05, allocations: 7.984 kB / 329 MB, free: 15.4 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07599/0.07603, allocations: 44.52 MB / 373.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2858/0.3619, allocations: 72.13 MB / 445.6 MB, free: 17.04 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.3622, allocations: 73.27 kB / 445.7 MB, free: 16.97 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07743/0.4397, allocations: 13.28 MB / 459 MB, free: 3.715 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.085e-06/0.4397, allocations: 0 / 459 MB, free: 3.715 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.664e-05/0.4398, allocations: 8 kB / 459 MB, free: 3.707 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.001499/0.4413, allocations: 1.03 MB / 460 MB, free: 2.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4414, allocations: 8.031 kB / 460 MB, free: 2.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.4416, allocations: 74.95 kB / 460.1 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02068/0.4623, allocations: 3.701 MB / 463.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/0.4624, allocations: 8 kB / 463.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.4625, allocations: 8 kB / 463.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001845/0.4643, allocations: 0.7634 MB / 464.6 MB, free: 14.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/0.4664, allocations: 0.8567 MB / 465.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.392e-06/0.4664, allocations: 4 kB / 465.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.058e-05/0.4665, allocations: 4 kB / 465.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-06/0.4665, allocations: 0 / 465.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.4671, allocations: 298.4 kB / 465.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003557/0.4707, allocations: 2.075 MB / 467.8 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003481/0.4742, allocations: 2.063 MB / 469.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.4743, allocations: 0 / 469.9 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/0.4766, allocations: 1.115 MB / 471 MB, free: 7.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=246): time 3.691e-06/0.4767, allocations: 0 / 471 MB, free: 7.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=246): time 0.0107/0.4874, allocations: 2.079 MB / 473 MB, free: 5.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003647/0.4878, allocations: 424.5 kB / 473.5 MB, free: 4.984 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002081/0.488, allocations: 169.7 kB / 473.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.4883, allocations: 157.6 kB / 473.8 MB, free: 4.648 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.4884, allocations: 100.3 kB / 473.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009352/0.4893, allocations: 0.9562 MB / 474.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001096/0.4895, allocations: 0 / 474.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003184/0.4898, allocations: 487.4 kB / 475.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001884/0.4917, allocations: 0.9877 MB / 476.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.4949, allocations: 2.684 MB / 479 MB, free: 14.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002606/0.4975, allocations: 1.514 MB / 480.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.056e-05/0.4975, allocations: 16 kB / 480.5 MB, free: 13.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.007208/0.5047, allocations: 3.446 MB / 484 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.867e-05/0.5049, allocations: 57.7 kB / 484 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.432e-05/0.505, allocations: 59.98 kB / 484.1 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001333/0.5051, allocations: 92.53 kB / 484.2 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/0.507, allocations: 0.565 MB / 484.7 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001135/0.5071, allocations: 119.6 kB / 484.8 MB, free: 8.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001832/0.5089, allocations: 241.3 kB / 485.1 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003076/0.5093, allocations: 204 kB / 485.3 MB, free: 8.246 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 267 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.Phii[21],Phii[21],$PRE.Phii[20],Phii[20],$PRE.Phii[19],Phii[19],$PRE.Phii[18],Phii[18],$PRE.Phii[17],Phii[17],$PRE.Phii[16],Phii[16],$PRE.Phii[15],Phii[15],$PRE.Phii[14],Phii[14],$PRE.Phii[13],Phii[13],$PRE.Phii[12],Phii[12],$PRE.Phii[11],Phii[11],$PRE.Phii[10],Phii[10],$PRE.Phii[9],Phii[9],$PRE.Phii[8],Phii[8],$PRE.Phii[7],Phii[7],$PRE.Phii[6],Phii[6],$PRE.Phii[5],Phii[5],$PRE.Phii[4],Phii[4],$PRE.Phii[3],Phii[3],$PRE.Phii[2],Phii[2],$PRE.Phii[1],Phii[1],$PRE.Ai[21],Ai[21],$PRE.Ai[20],Ai[20],$PRE.Ai[19],Ai[19],$PRE.Ai[18],Ai[18],$PRE.Ai[17],Ai[17],$PRE.Ai[16],Ai[16],$PRE.Ai[15],Ai[15],$PRE.Ai[14],Ai[14],$PRE.Ai[13],Ai[13],$PRE.Ai[12],Ai[12],$PRE.Ai[11],Ai[11],$PRE.Ai[10],Ai[10],$PRE.Ai[9],Ai[9],$PRE.Ai[8],Ai[8],$PRE.Ai[7],Ai[7],$PRE.Ai[6],Ai[6],$PRE.Ai[5],Ai[5],$PRE.Ai[4],Ai[4],$PRE.Ai[3],Ai[3],$PRE.Ai[2],Ai[2],$PRE.Ai[1],Ai[1],$PRE.info,info,$PRE.y_buf[200],y_buf[200],$PRE.y,y,$PRE.iTick,iTick,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (512): * Single equations (assignments): 511 * 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.0009993/0.5103, allocations: 0.6546 MB / 485.9 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.5105, allocations: 122.8 kB / 486.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.5106, allocations: 22.23 kB / 486.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.938e-06/0.5106, allocations: 0 / 486.1 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.05e-06/0.5106, allocations: 7.938 kB / 486.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.748e-06/0.5106, allocations: 0 / 486.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.5112, allocations: 450.4 kB / 486.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.922e-06/0.5112, allocations: 0 / 486.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.41e-06/0.5112, allocations: 0 / 486.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.5112, allocations: 0 / 486.5 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.5113, allocations: 51.94 kB / 486.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.665e-06/0.5114, allocations: 10.58 kB / 486.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.63e-06/0.5114, allocations: 0 / 486.6 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/0.5248, allocations: 5.483 MB / 492.1 MB, free: 1.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002039/0.5251, allocations: 179.5 kB / 492.2 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.5253, allocations: 67.95 kB / 492.3 MB, free: 1.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000367/0.5257, allocations: 32 kB / 492.3 MB, free: 1.051 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.5258, allocations: 35.95 kB / 492.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/0.526, allocations: 75.98 kB / 492.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.5261, allocations: 120.3 kB / 492.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.19e-07/0.5261, allocations: 0 / 492.6 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002633/0.5288, allocations: 451.9 kB / 493 MB, free: 392 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,y,Ai[1],Ai[2],Ai[3],Ai[4],Ai[5],Ai[6],Ai[7],Ai[8],Ai[9],Ai[10],Ai[11],Ai[12],Ai[13],Ai[14],Ai[15],Ai[16],Ai[17],Ai[18],Ai[19],Ai[20],Ai[21],Phii[1],Phii[2],Phii[3],Phii[4],Phii[5],Phii[6],Phii[7],Phii[8],Phii[9],Phii[10],Phii[11],Phii[12],Phii[13],Phii[14],Phii[15],Phii[16],Phii[17],Phii[18],Phii[19],Phii[20],Phii[21],info,iTick,y_buf[200]) * Number of discrete states: 47 (Phii[21],Phii[20],Phii[19],Phii[18],Phii[17],Phii[16],Phii[15],Phii[14],Phii[13],Phii[12],Phii[11],Phii[10],Phii[9],Phii[8],Phii[7],Phii[6],Phii[5],Phii[4],Phii[3],Phii[2],Phii[1],Ai[21],Ai[20],Ai[19],Ai[18],Ai[17],Ai[16],Ai[15],Ai[14],Ai[13],Ai[12],Ai[11],Ai[10],Ai[9],Ai[8],Ai[7],Ai[6],Ai[5],Ai[4],Ai[3],Ai[2],Ai[1],info,y_buf[200],y,iTick,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0009721/0.5298, allocations: 390 kB / 493.4 MB, free: 12 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005107/0.5349, allocations: 3.187 MB / 496.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.898e-06/0.5349, allocations: 2.562 kB / 496.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.223/0.7579, allocations: 59.4 MB / 0.5429 GB, free: 95.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.7586, allocations: 43.08 kB / 0.543 GB, free: 95.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006173/0.7648, allocations: 2.835 MB / 0.5458 GB, free: 95.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009181/0.7658, allocations: 1.078 MB / 0.5468 GB, free: 94.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007243/0.7665, allocations: 207.1 kB / 0.547 GB, free: 93.93 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003492/0.7669, allocations: 80.95 kB / 0.5471 GB, free: 93.86 MB / 382.1 MB Notification: Performance of SimCode: time 1.467e-06/0.7669, allocations: 3.812 kB / 0.5471 GB, free: 93.86 MB / 382.1 MB Notification: Performance of Templates: time 0.04396/0.8109, allocations: 13.53 MB / 0.5603 GB, free: 80.68 MB / 382.1 MB