Notification: Performance of FrontEnd - loaded program: time 2.307e-05/2.323e-05, allocations: 4 kB / 334.8 MB, free: 9.395 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2221, allocations: 44.51 MB / 379.3 MB, free: 76.14 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.3535, allocations: 77.3 MB / 456.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.3538, allocations: 83.95 kB / 456.6 MB, free: 9.434 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02332/0.3771, allocations: 6.86 MB / 463.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3771, allocations: 0 / 463.5 MB, free: 2.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.181e-05/0.3772, allocations: 16 kB / 463.5 MB, free: 2.527 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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001138/0.3783, allocations: 0.6963 MB / 464.2 MB, free: 1.781 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.3784, allocations: 8.031 kB / 464.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.3785, allocations: 55.39 kB / 464.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000544/0.3791, allocations: 359.3 kB / 464.6 MB, free: 1.328 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.3791, allocations: 25.3 kB / 464.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.582e-05/0.3792, allocations: 24 kB / 464.7 MB, free: 1.277 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006212/0.3798, allocations: 250.6 kB / 464.9 MB, free: 1.035 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007182/0.3806, allocations: 370.9 kB / 465.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.057e-05/0.3806, allocations: 7.938 kB / 465.3 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.3807, allocations: 8 kB / 465.3 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3807, allocations: 11.95 kB / 465.3 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.3835, allocations: 1.572 MB / 466.9 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.3843, allocations: 266.9 kB / 467.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.3846, allocations: 140.8 kB / 467.3 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.3847, allocations: 4 kB / 467.3 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004587/0.3852, allocations: 221.8 kB / 467.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.886e-06/0.3852, allocations: 0 / 467.5 MB, free: 14.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.0007827/0.386, allocations: 293.7 kB / 467.8 MB, free: 14.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.3861, allocations: 136.5 kB / 467.9 MB, free: 13.84 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003714/0.3865, allocations: 258.2 kB / 468.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.549e-05/0.3865, allocations: 29.7 kB / 468.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001961/0.3867, allocations: 228.1 kB / 468.4 MB, free: 13.32 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.3869, allocations: 98.61 kB / 468.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.3869, allocations: 0 / 468.5 MB, free: 13.23 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3871, allocations: 342.8 kB / 468.9 MB, free: 12.88 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.3873, allocations: 84.88 kB / 468.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/0.3877, allocations: 214.9 kB / 469.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.388, allocations: 107.9 kB / 469.3 MB, free: 12.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.345e-06/0.388, allocations: 7.938 kB / 469.3 MB, free: 12.42 MB / 334.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008753/0.3889, allocations: 370.2 kB / 469.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007087/0.3896, allocations: 1.425 MB / 471.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.3896, allocations: 4 kB / 471.1 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/0.39, allocations: 76.75 kB / 471.1 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003253/0.3903, allocations: 63.91 kB / 471.2 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.3926, allocations: 1.693 MB / 472.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004438/0.393, allocations: 59.72 kB / 472.9 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-05/0.3931, allocations: 19.98 kB / 473 MB, free: 8.48 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.3931, allocations: 4 kB / 473 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000783/0.3939, allocations: 312.7 kB / 473.3 MB, free: 8.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.394, allocations: 4 kB / 473.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002839/0.3942, allocations: 68.89 kB / 473.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.3945, allocations: 72.31 kB / 473.4 MB, free: 8.023 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002114/0.3967, allocations: 1.696 MB / 475.1 MB, free: 6.215 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000392/0.3971, allocations: 43.72 kB / 475.2 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.3972, allocations: 16 kB / 475.2 MB, free: 6.156 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.000172/0.3973, allocations: 119.2 kB / 475.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.413e-05/0.3974, allocations: 43.55 kB / 475.3 MB, free: 5.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.3976, allocations: 35.53 kB / 475.4 MB, free: 5.953 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.299e-06/0.3976, allocations: 7.984 kB / 475.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3976, allocations: 0 / 475.4 MB, free: 5.945 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.293e-06/0.3976, allocations: 3.953 kB / 475.4 MB, free: 5.941 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.3992, allocations: 0.8831 MB / 476.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-06/0.3993, allocations: 0 / 476.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002492/0.3995, allocations: 35.98 kB / 476.3 MB, free: 4.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000265/0.3998, allocations: 64.81 kB / 476.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3999, allocations: 4 kB / 476.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001946/0.4018, allocations: 1.627 MB / 478 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.63e-06/0.4018, allocations: 0 / 478 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006164/0.408, allocations: 3.821 MB / 481.8 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.4082, allocations: 144.6 kB / 482 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.818e-05/0.4083, allocations: 7.953 kB / 482 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003568/0.4087, allocations: 23.97 kB / 482 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/0.4088, allocations: 40.02 kB / 482 MB, free: 14.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.4089, allocations: 11.98 kB / 482 MB, free: 14.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002582/0.4092, allocations: 190 kB / 482.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.16e-07/0.4092, allocations: 0 / 482.2 MB, free: 14.64 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001545/0.4107, allocations: 247.4 kB / 482.5 MB, free: 14.4 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * Number of discrete variables: 15 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chopperStepDown.andCondition_p.y,chopperStepDown.fire_p,chopperStepDown.transistor.off,chopperStepDown.diode.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001953/0.4109, allocations: 131.4 kB / 482.6 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001435/0.4124, allocations: 0.7871 MB / 483.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.752e-06/0.4124, allocations: 0 / 483.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.4129, allocations: 261.6 kB / 483.6 MB, free: 13.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.4133, allocations: 52.69 kB / 483.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.4152, allocations: 0.9137 MB / 484.6 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005361/0.4158, allocations: 0.8471 MB / 485.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003108/0.4161, allocations: 59.23 kB / 485.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.843e-05/0.4162, allocations: 27.44 kB / 485.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of SimCode: time 1.261e-06/0.4163, allocations: 0 / 485.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of Templates: time 0.01684/0.4331, allocations: 6.051 MB / 491.6 MB, free: 5.156 MB / 350.1 MB