Notification: Performance of FrontEnd - loaded program: time 2.641e-05/2.657e-05, allocations: 4 kB / 328.9 MB, free: 15.39 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 44.52 MB / 373.5 MB, free: 2.973 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.3595, allocations: 72.13 MB / 445.6 MB, free: 16.98 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.3598, allocations: 77.16 kB / 445.7 MB, free: 16.91 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04865/0.4084, allocations: 13.12 MB / 458.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.808e-06/0.4085, allocations: 0 / 458.8 MB, free: 3.816 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.4085, allocations: 12 kB / 458.8 MB, free: 3.805 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.0008838/0.4094, allocations: 0.9669 MB / 459.8 MB, free: 2.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.4095, allocations: 11.97 kB / 459.8 MB, free: 2.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.4096, allocations: 71.05 kB / 459.9 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01322/0.4228, allocations: 3.69 MB / 463.5 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.4229, allocations: 8.531 kB / 463.5 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.4229, allocations: 4 kB / 463.6 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00104/0.424, allocations: 0.7048 MB / 464.3 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.4251, allocations: 0.7826 MB / 465 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.542e-06/0.4251, allocations: 0 / 465 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.888e-05/0.4252, allocations: 0 / 465 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.77e-06/0.4252, allocations: 0 / 465 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003342/0.4255, allocations: 278.6 kB / 465.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.4275, allocations: 1.813 MB / 467.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.4294, allocations: 1.798 MB / 468.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.542e-06/0.4295, allocations: 0 / 468.9 MB, free: 9.527 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/0.4308, allocations: 1.025 MB / 469.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=225): time 2.964e-06/0.4308, allocations: 0 / 469.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=225): time 0.007977/0.4388, allocations: 1.919 MB / 471.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003471/0.4392, allocations: 396.5 kB / 472.3 MB, free: 6.125 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002104/0.4394, allocations: 173.8 kB / 472.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002599/0.4397, allocations: 145.6 kB / 472.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.4398, allocations: 107.8 kB / 472.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009317/0.4407, allocations: 0.906 MB / 473.6 MB, free: 4.766 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.4408, allocations: 3.938 kB / 473.6 MB, free: 4.762 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003142/0.4412, allocations: 466.6 kB / 474 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001908/0.4431, allocations: 0.9207 MB / 475 MB, free: 3.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/0.4463, allocations: 2.484 MB / 477.4 MB, free: 144 kB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.449, allocations: 1.401 MB / 478.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.816e-05/0.449, allocations: 16 kB / 478.9 MB, free: 14.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.007054/0.4561, allocations: 3.192 MB / 482.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.645e-05/0.4562, allocations: 53.7 kB / 482.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.762e-05/0.4563, allocations: 56 kB / 482.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.4564, allocations: 84.72 kB / 482.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/0.4582, allocations: 0.5222 MB / 482.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001094/0.4583, allocations: 115.6 kB / 482.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4601, allocations: 225 kB / 483.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002858/0.4604, allocations: 188 kB / 483.3 MB, free: 10.29 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 51 ($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 (470): * Single equations (assignments): 469 * 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.0009064/0.4613, allocations: 0.5769 MB / 483.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4615, allocations: 115 kB / 484 MB, free: 9.582 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.179e-05/0.4616, allocations: 17.45 kB / 484 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-06/0.4616, allocations: 0 / 484 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.34e-06/0.4616, allocations: 8 kB / 484 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.273e-06/0.4616, allocations: 0 / 484 MB, free: 9.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005445/0.4622, allocations: 426.5 kB / 484.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.08e-06/0.4622, allocations: 4 kB / 484.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-06/0.4622, allocations: 0 / 484.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.473e-06/0.4622, allocations: 0 / 484.4 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001193/0.4623, allocations: 51.94 kB / 484.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.586e-06/0.4623, allocations: 0 / 484.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.919e-06/0.4623, allocations: 0 / 484.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/0.4753, allocations: 5.111 MB / 489.6 MB, free: 3.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.4756, allocations: 175.6 kB / 489.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.4758, allocations: 47.97 kB / 489.8 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.4761, allocations: 32 kB / 489.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.4763, allocations: 31.92 kB / 489.9 MB, free: 3.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/0.4764, allocations: 60 kB / 489.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.4766, allocations: 124.3 kB / 490 MB, free: 3.398 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.09e-07/0.4766, allocations: 0 / 490 MB, free: 3.398 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002478/0.4791, allocations: 423.9 kB / 490.4 MB, free: 2.984 MB / 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: 26 ($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],info,iTick,y_buf[200]) * Number of discrete states: 26 (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.0009379/0.48, allocations: 346.2 kB / 490.8 MB, free: 2.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.005277/0.4853, allocations: 2.958 MB / 493.7 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.433e-06/0.4854, allocations: 8.562 kB / 493.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2405/0.7259, allocations: 52.31 MB / 0.5333 GB, free: 93.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004156/0.7264, allocations: 35.27 kB / 0.5333 GB, free: 93.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003782/0.7302, allocations: 2.648 MB / 0.5359 GB, free: 92.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005595/0.7308, allocations: 1.056 MB / 0.5369 GB, free: 92.19 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004301/0.7312, allocations: 191.4 kB / 0.5371 GB, free: 92.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.7314, allocations: 69.22 kB / 0.5372 GB, free: 92.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.383e-06/0.7314, allocations: 0 / 0.5372 GB, free: 92.16 MB / 382.1 MB Notification: Performance of Templates: time 0.0268/0.7583, allocations: 12.6 MB / 0.5495 GB, free: 81.04 MB / 382.1 MB